Agregar servidor MCP para Gitea API
- Implementadas 5 herramientas optimizadas: repos, commits, issues, secrets, variables - Descripciones compactas y claras para minimizar tokens - Integración con Gitea API usando token de autenticación - Enrutado en gitea.nucleoriofrio.com/mcp/* via Traefik - Sin autenticación Authentik (acceso directo) - Dockerfile y package.json configurados - Workflow actualizado para build y deploy automático - Variables de entorno agregadas al .env.example
This commit is contained in:
@@ -35,6 +35,13 @@ jobs:
|
||||
docker push $REG/$REPO_OWNER/mcp-docker-server:${{ github.sha }}
|
||||
docker push $REG/$REPO_OWNER/mcp-docker-server:latest
|
||||
|
||||
- name: Build+push MCP Gitea Server
|
||||
run: |
|
||||
cd mcp-gitea-server
|
||||
docker build -t $REG/$REPO_OWNER/mcp-gitea-server:${{ github.sha }} -t $REG/$REPO_OWNER/mcp-gitea-server:latest .
|
||||
docker push $REG/$REPO_OWNER/mcp-gitea-server:${{ github.sha }}
|
||||
docker push $REG/$REPO_OWNER/mcp-gitea-server:latest
|
||||
|
||||
#───────────────── deploy ─────────────────
|
||||
deploy:
|
||||
needs: build
|
||||
@@ -46,6 +53,10 @@ jobs:
|
||||
# Variables de entorno para docker-compose
|
||||
APP_DOMAIN: ${{ vars.APP_DOMAIN }}
|
||||
NUXT_PUBLIC_APP_URL: ${{ vars.NUXT_PUBLIC_APP_URL }}
|
||||
# Variables para MCP Gitea Server
|
||||
GITEA_URL: ${{ vars.GITEA_URL }}
|
||||
GITEA_DOMAIN: ${{ vars.GITEA_DOMAIN }}
|
||||
GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }}
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Login to registry
|
||||
|
||||
Reference in New Issue
Block a user