Skip to main content
Glama

@sota-io/mcp

Servidor MCP para sota.io — despliega aplicaciones web mediante agentes de IA.

npm version npm downloads License: MIT Node

Dos transportes

Desde la v1.4.0 este paquete incluye dos transportes:

  • sota-mcp (stdio, por defecto) — para Claude Code, Cursor, Windsurf y cualquier cliente MCP que lance un proceso local. Pasa tu SOTA_API_KEY mediante variable de entorno.

  • sota-mcp-http (Streamable HTTP) — para alojar tú mismo el endpoint remoto que impulsa mcp.sota.io (usado por Claude Desktop y Claude.ai web). Lee SUPABASE_JWT_SECRET, DATABASE_URL, etc. — la mayoría de usuarios no necesitan esto; es el mismo código que se ejecuta en mcp.sota.io si quieres alojar el tuyo propio.

La mayoría de usuarios quieren el transporte stdio.

Related MCP server: StaticX MCP Server

Instalación en un clic para Claude Desktop / Claude.ai web

Si usas Claude Desktop o Claude.ai (plan Pro / Max / Team / Enterprise), la instalación más fácil no es este paquete npm — es el endpoint remoto alojado en mcp.sota.io. Haz clic aquí:

Añadir a Claude →

OAuth gestiona la autenticación. Los nuevos usuarios pueden registrarse completamente dentro de Claude mediante la herramienta create_account — sin necesidad de cambiar de pestaña del navegador.

Consulta https://sota.io/docs/integrations/claude.

Inicio rápido (stdio — Claude Code, Cursor, Windsurf, …)

  1. Obtén una clave API desde sota.io/dashboard/settings

  2. Configura tu IDE

  3. Pregunta a tu IA: "Despliega mi app en sota.io"

Instalación

No se necesita instalar — ejecuta directamente con npx:

npx -y @sota-io/mcp

O instala globalmente:

npm install -g @sota-io/mcp
sota-mcp

Configuración

Claude Code

Método CLI:

claude mcp add sota -- npx -y @sota-io/mcp

Luego configura tu clave API en el entorno del shell:

export SOTA_API_KEY=sota_your_api_key_here

JSON manual (.claude/settings.json):

{
  "mcpServers": {
    "sota": {
      "command": "npx",
      "args": ["-y", "@sota-io/mcp"],
      "env": {
        "SOTA_API_KEY": "sota_your_api_key_here"
      }
    }
  }
}

Claude Desktop

Edita claude_desktop_config.json:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json

  • Windows: %APPDATA%\Claude\claude_desktop_config.json

{
  "mcpServers": {
    "sota": {
      "command": "npx",
      "args": ["-y", "@sota-io/mcp"],
      "env": {
        "SOTA_API_KEY": "sota_your_api_key_here"
      }
    }
  }
}

Cursor

Crea .cursor/mcp.json en la raíz de tu proyecto:

{
  "mcpServers": {
    "sota": {
      "command": "npx",
      "args": ["-y", "@sota-io/mcp"],
      "env": {
        "SOTA_API_KEY": "sota_your_api_key_here"
      }
    }
  }
}

Windsurf

Edita ~/.codeium/windsurf/mcp_config.json:

{
  "mcpServers": {
    "sota": {
      "command": "npx",
      "args": ["-y", "@sota-io/mcp"],
      "env": {
        "SOTA_API_KEY": "sota_your_api_key_here"
      }
    }
  }
}

Herramientas

Herramienta

Descripción

Parámetros

deploy

Desplegar una aplicación

project_id, directory?

get-logs

Obtener registros de compilación/ejecución

project_id, deployment_id?

set-env

Establecer una variable de entorno

project_id, key, value

get-env

Listar variables de entorno

project_id

rollback

Revertir a un despliegue anterior

project_id

get-status

Obtener el estado del despliegue

project_id

list-projects

Listar todos los proyectos

(ninguno)

create-project

Crear un nuevo proyecto

name

delete-project

Eliminar un proyecto permanentemente

project_id

add-domain

Añadir un dominio personalizado

project_id, domain

list-domains

Listar dominios personalizados

project_id

get-domain

Obtener detalles del dominio y estado DNS

project_id, domain_id

remove-domain

Eliminar un dominio personalizado

project_id, domain_id

deploy

Despliega una aplicación en sota.io. Crea un archivo tar.gz del directorio especificado y lo sube.

Parámetro

Tipo

Obligatorio

Descripción

project_id

string

Sí

ID del proyecto al que desplegar

directory

string

No

Directorio a desplegar (por defecto, el directorio actual)

"Deploy my app in the current directory to sota.io"

get-logs

Obtiene los registros de compilación y ejecución de un despliegue. Si no se proporciona deployment_id, devuelve los registros del último despliegue.

Parámetro

Tipo

Obligatorio

Descripción

project_id

string

Sí

ID del proyecto del que obtener registros

deployment_id

string

No

ID de despliegue específico (por defecto el último)

"Show me the build logs for my sota.io project"

set-env

Establece una variable de entorno para un proyecto.

Parámetro

Tipo

Obligatorio

Descripción

project_id

string

Sí

ID del proyecto

key

string

Sí

Nombre de la variable de entorno (ej. DATABASE_URL)

value

string

Sí

Valor de la variable de entorno

"Set DATABASE_URL on my project to postgres://localhost/mydb"

get-env

Lista las variables de entorno de un proyecto.

Parámetro

Tipo

Obligatorio

Descripción

project_id

string

Sí

ID del proyecto

"Show all environment variables for my project"

rollback

Revierte un proyecto a su despliegue anterior. Intercambia la imagen del contenedor sin reconstruir.

Parámetro

Tipo

Obligatorio

Descripción

project_id

string

Sí

ID del proyecto a revertir

"Roll back my app to the previous version"

get-status

Obtiene el estado actual del despliegue de un proyecto, incluyendo la URL y el historial reciente de despliegues.

Parámetro

Tipo

Obligatorio

Descripción

project_id

string

Sí

ID del proyecto para consultar estado

"What's the status of my sota.io deployment?"

list-projects

Lista todos los proyectos de tu cuenta de sota.io.

No requiere parámetros.

"List my sota.io projects"

create-project

Crea un nuevo proyecto en sota.io. El slug del proyecto se genera automáticamente a partir del nombre (minúsculas, guiones, máximo 63 caracteres) y se usa como subdominio ({slug}.sota.io). Por ejemplo, "My API" se convierte en my-api.sota.io.

Parámetro

Tipo

Obligatorio

Descripción

name

string

Sí

Nombre del nuevo proyecto

"Create a new sota.io project called my-api"

delete-project

Elimina un proyecto y todos sus despliegues de sota.io. Esta acción es permanente.

Parámetro

Tipo

Obligatorio

Descripción

project_id

string

Sí

ID del proyecto a eliminar

"Delete my sota.io project abc123"

add-domain

Añade un dominio personalizado a un proyecto. Devuelve instrucciones DNS para apuntar el dominio.

Parámetro

Tipo

Obligatorio

Descripción

project_id

string

Sí

ID del proyecto

domain

string

Sí

Nombre del dominio (ej. "example.com" o "app.example.com")

"Add example.com as a custom domain to my project"

list-domains

Lista todos los dominios personalizados de un proyecto.

Parámetro

Tipo

Obligatorio

Descripción

project_id

string

Sí

ID del proyecto

"Show all custom domains for my project"

get-domain

Obtiene detalles del dominio, incluyendo el estado de verificación DNS y el estado SSL.

Parámetro

Tipo

Obligatorio

Descripción

project_id

string

Sí

ID del proyecto

domain_id

string

Sí

ID del dominio

"Check the DNS status of my custom domain"

remove-domain

Elimina un dominio personalizado de un proyecto.

Parámetro

Tipo

Obligatorio

Descripción

project_id

string

Sí

ID del proyecto

domain_id

string

Sí

ID del dominio a eliminar

"Remove the custom domain from my project"

Variables de Entorno

Variable

Obligatorio

Por defecto

Descripción

SOTA_API_KEY

Sí

—

Clave API con prefijo sota_. Crea una en sota.io/dashboard/settings

SOTA_API_URL

No

https://api.sota.io

URL base de la API

Solución de Problemas

"npx: command not found"

Problema: Tu IDE no hereda el PATH del shell donde se carga nvm/fnm.

Solución: Usa la ruta absoluta a npx. Encuéntrala con:

which npx
# Example output: /Users/you/.nvm/versions/node/v22.0.0/bin/npx

Luego actualiza tu configuración MCP para usar la ruta absoluta:

{
  "mcpServers": {
    "sota": {
      "command": "/Users/you/.nvm/versions/node/v22.0.0/bin/npx",
      "args": ["-y", "@sota-io/mcp"],
      "env": {
        "SOTA_API_KEY": "sota_your_api_key_here"
      }
    }
  }
}

"SOTA_API_KEY environment variable is required"

Problema: La clave API no está configurada en tu configuración MCP.

Solución: Añade el bloque env a la configuración de tu servidor MCP. Las variables de entorno del shell no se pasan automáticamente a los servidores MCP — el bloque env en la configuración es necesario:

{
  "env": {
    "SOTA_API_KEY": "sota_your_api_key_here"
  }
}

Errores de conexión rechazada o tiempo de espera

Problema: Problema de red o URL de API incorrecta.

Solución: Verifica tu conexión a internet. Si usas una URL de API personalizada, asegúrate de que SOTA_API_URL esté configurada correctamente. La opción por defecto es https://api.sota.io.

Licencia

MIT

Enlaces

Available Tools

13 tools
add-domainA
Idempotent
Inspect

Add a custom domain to a sota.io project. Each project supports up to 5 custom domains with automatic HTTPS via Let's Encrypt. Returns DNS setup instructions: for apex domains (example.com), add an A record pointing to 23.88.45.28; for subdomains (app.example.com), add a CNAME record pointing to {slug}.sota.io. Domain statuses: pending (waiting for DNS) → verified (SSL provisioning) → active (live with HTTPS). After DNS is configured, verification and SSL provisioning happen automatically.

Inputs: domain (required), project_id (required).

create-projectAInspect

Create a new project on sota.io. Each project automatically provisions: (1) a managed PostgreSQL 17 database accessible via the DATABASE_URL environment variable (auto-injected, no configuration needed), (2) PgBouncer connection pooling (pool size 20, max 100 clients), (3) automatic daily database backups with 7-day retention, (4) a live URL at https://{slug}.sota.io with automatic HTTPS via Let's Encrypt. The project slug is auto-generated from the name (lowercase, hyphens, max 63 chars) and is immutable after creation. Supported frameworks: Next.js, Node.js (Express/Fastify/Koa), Python (Flask/FastAPI/Django), or any language via custom Dockerfile. You can also add up to 5 custom domains per project with automatic HTTPS (via API: POST /v1/projects/:id/domains with {domain: "yourdomain.com"}). DNS: A record to 23.88.45.28 for apex domains, CNAME to {slug}.sota.io for subdomains.

Inputs: name (required).

delete-projectA
DestructiveIdempotent
Inspect

Delete a project and all its deployments from sota.io. This action is PERMANENT and irreversible. It removes the project, all deployments, the managed PostgreSQL database, environment variables, and webhooks. The project slug will become available again after deletion.

Inputs: project_id (required).

deployA
Destructive
Inspect

Deploy an application to sota.io. Creates a tar.gz archive of the specified directory and uploads it (max 50 MB). The platform auto-detects your framework and builds a Docker image automatically:

  • Next.js: Detected via next.config.js/ts. Add output: 'standalone' to next.config for optimal builds.

  • Node.js: Detected via package.json with a "start" script. Works with Express, Fastify, Koa, Hapi, etc.

  • Python: Detected via requirements.txt or pyproject.toml. Works with Flask, FastAPI, Django.

  • Custom Dockerfile: If a Dockerfile exists in the project root, it takes priority over auto-detection. Use this for Go, Rust, Java, or any other language. The EXPOSE directive in the Dockerfile is used to detect the app port automatically.

IMPORTANT: Your app MUST listen on the PORT environment variable. For auto-detected frameworks (Next.js, Node.js, Python) PORT is 8080. For custom Dockerfiles, the port is auto-detected from the EXPOSE directive (e.g. EXPOSE 3000 sets PORT=3000). If no EXPOSE is found, it defaults to 8080.

Every project includes a managed PostgreSQL 17 database. Six environment variables are auto-injected into your container — no manual database configuration needed: DATABASE_URL (full connection string), PGHOST, PGPORT, PGUSER, PGPASSWORD, and PGDATABASE. Libraries that follow libpq conventions (node-postgres, pgx, psycopg2, Django) pick up the PG* variables automatically with no configuration. If your app needs database migrations, run them on startup.

Deployments use blue-green strategy for zero downtime. The old container keeps running until the new one passes health checks (60s timeout). Use get-logs to monitor build progress. Files matching .gitignore and .sotaignore are excluded from the archive.

Inputs: project_id (required), directory.

get-domainA
Read-onlyIdempotent
Inspect

Get details of a custom domain including its current status and DNS setup instructions. Domain statuses: pending (DNS not yet configured), verified (DNS confirmed, SSL provisioning), active (live with HTTPS). If status is 'pending', configure the DNS record as shown in the instructions.

Inputs: domain_id (required), project_id (required).

get-envA
Read-onlyIdempotent
Inspect

List environment variables for a project. Values are masked for security. Auto-injected variables (DATABASE_URL, PGHOST, PGPORT, PGUSER, PGPASSWORD, PGDATABASE, PORT) may not appear in this list but are always available in the container at runtime.

Inputs: project_id (required).

get-logsA
Read-onlyIdempotent
Inspect

Get build and runtime logs for a deployment. If no deployment_id is provided, returns logs for the latest deployment. Use this after calling deploy to monitor build progress and diagnose failures. Logs include: framework detection output, dependency installation, build steps, container startup, and health check results. If a deployment fails, check the logs for error details — common issues include missing dependencies, build errors, or the app not listening on the correct PORT (check the PORT env var — 8080 for auto-detected frameworks, or the EXPOSE value from Dockerfile).

Inputs: project_id (required), deployment_id.

get-statusA
Read-onlyIdempotent
Inspect

Get the current deployment status for a project, including the live URL (https://{slug}.sota.io), detected framework, and recent deployment history. Deployment statuses: pending (queued), building (build in progress), built (image ready), deploying (starting container + health checks), running (live and healthy), failed (build or health check error), stopped (replaced by newer deployment). Use this to verify a deployment succeeded after calling deploy.

Inputs: project_id (required).

list-domainsA
Read-onlyIdempotent
Inspect

List all custom domains for a sota.io project. Shows domain name, status (pending/verified/active), and ID for each domain. Use get-domain with a domain ID to see DNS instructions and full details.

Inputs: project_id (required).

list-projectsA
Read-onlyIdempotent
Inspect

List all projects on your sota.io account. sota.io is an EU-native DevOps PaaS hosted in Germany (GDPR-compliant). Each project gets a live URL at {slug}.sota.io with automatic HTTPS, a managed PostgreSQL 17 database (DATABASE_URL auto-injected), PgBouncer connection pooling, daily backups, zero-downtime blue-green deployments, gVisor container isolation, and custom domain support (up to 5 per project with automatic HTTPS).

Inputs: no named parameters.

remove-domainA
DestructiveIdempotent
Inspect

Remove a custom domain from a sota.io project. This removes the domain mapping and its SSL certificate. The DNS records at your registrar are NOT automatically removed — clean those up manually. This action is immediate and irreversible.

Inputs: domain_id (required), project_id (required).

rollbackA
DestructiveIdempotent
Inspect

Rollback a project to its previous deployment. This instantly swaps the container image without rebuilding — the previous image is reused for near-instant rollback. Uses the same blue-green strategy for zero downtime. The database is NOT rolled back (data persists across deployments). Use this when a deployment introduces bugs or breaks the app.

Inputs: project_id (required).

set-envA
DestructiveIdempotent
Inspect

Set an environment variable for a project. Variables are encrypted at rest (AES-256-GCM) and injected at container runtime. NOTE: DATABASE_URL, PGHOST, PGPORT, PGUSER, PGPASSWORD, and PGDATABASE are all auto-injected for the managed PostgreSQL database — you do NOT need to set any of them manually. The PORT variable is auto-managed: 8080 for auto-detected frameworks (Next.js, Node.js, Python), or auto-detected from the Dockerfile EXPOSE directive for custom Dockerfile builds. IMPORTANT: Changing env vars does NOT auto-redeploy. You must call deploy or use the redeploy API endpoint to apply changes. For Next.js apps, NEXT_PUBLIC_* variables must be set BEFORE deploying since they are embedded at build time.

Inputs: key (required), value (required), project_id (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.3/5.0

    Scored across 13 tools

    Disambiguation5/5

    Each tool targets a distinct resource or action: deploy, project lifecycle (list, create, delete), environment variables (set, get), logs, rollback, status, and domain management (add, list, get, remove). There is no overlap or ambiguity between any of the tools.

    Naming Consistency4/5

    The tool names follow a consistent verb-noun pattern using kebab-case (e.g., list-projects, create-project, delete-project, get-logs, set-env, add-domain, remove-domain). However, 'deploy' and 'rollback' are verbs without a noun object, which is a minor deviation from the pattern.

    Tool Count5/5

    With 13 tools, the set is well-scoped for a DevOps PaaS server. It covers the essential operations for deploying, managing projects, handling environment variables, viewing logs, and managing custom domains without being excessive or too thin.

    Completeness4/5

    The tool surface covers the core lifecycle: project CRUD, deployment, logs, env vars, rollback, and domain management. Minor gaps include the absence of a tool to update project settings or trigger a redeploy without re-uploading, but these are workable gaps.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables AI assistants to manage Dokploy deployments, including creating and deploying applications, managing databases, configuring domains with SSL, and monitoring application status through a standardized interface.
      MIT
    • A
      license
      A
      quality
      C
      maintenance
      Enables AI assistants to deploy, manage, and rollback websites via the Krexel API, supporting site uploads, deploys, logs, rollbacks, environment variables, and status checks.
      9
      82 npm
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables AI clients and users to deploy static sites, Node.js services, and Python web applications without Docker, with tools for project management, deployment, rollback, and domain configuration.
      Apache 2.0