Sevalla

io.github.sevalla由 GitHub 账号 sevalla 发布v2.0.0更新于 Oct 31, 2026

Official Sevalla MCP: deploy, debug and manage apps, static sites and databases.

已验证Streamable HTTP可网页运行云端与基础设施开发者工具安全与监控

概览

AI 生成的概览

Sevalla 官方 MCP 服务器,让 AI 助手通过托管 OAuth 端点部署、调试和管理 Sevalla 应用、静态站点与数据库。

可以做什么
  • 列出并查看服务、应用、静态站点、数据库和平台选项,并搜索 Sevalla 文档
  • 列出部署、查看部署详情与日志、触发部署和回滚
  • 检索运行时日志与访问日志,读取指标
  • 列出、设置和删除环境变量,调整进程规格,添加域名
  • 创建应用、静态站点和数据库
  • 通过通用读取、创建、更新、删除工具访问 Sevalla API 其余部分,仅限已审核的操作 ID
适用场景
适合团队在 Sevalla 上托管应用、静态站点或数据库时使用:让助手排查部署失败、汇总日志与指标、重新部署或回滚、调整环境变量与扩缩容,或直接在对话中创建新服务。
运行要求
使用 mcp.sevalla.com 的远程托管端点(streamable HTTP),添加到 Claude Code、Claude Desktop、Cursor、Windsurf 或 OpenCode 等 MCP 客户端。需要 Sevalla 账号并在 Sevalla 控制台批准 OAuth 登录;不支持 OAuth 的客户端可用 Sevalla API 密钥作为 Bearer 令牌。自托管需要 Node.js 与 pnpm 或 Docker。
安装前请注意
连接权限取决于其背后的 Sevalla API 密钥,全权限密钥可删除整个服务、管理 API 密钥并轮换密钥。部分操作会返回新密钥,进程内执行的命令和应用日志仍可能暴露密钥。破坏性工具带有标注以便客户端确认,但仍应逐次核对。移除服务器不会吊销 API 密钥,需在 Sevalla 控制台手动吊销。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Sevalla,将其添加到工作区。
  2. 连接 所需的 凭据。它们会被私密存储,绝不会在公开页面上展示。
  3. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/io.github.sevalla%2Fmcp/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。 客户端会在首次连接时完成 OAuth 登录。

{
  "mcpServers": {
    "sevalla": {
      "type": "http",
      "url": "https://mcp.sevalla.com/mcp"
    }
  }
}

README

[图片]

Sevalla MCP server

Deploy, debug and manage Sevalla applications, databases and static sites from any AI agent.

[CI] [License: MIT] [Node.js]

Docs · Sevalla · mcp.sevalla.com

A remote Model Context Protocol (MCP) server for Sevalla, so AI agents like Claude Code, Cursor and Codex can work with the applications, databases and static sites in your Sevalla company. It gives them 27 tools: 22 purpose-built tools for the everyday workflows (deploying, reading logs and metrics, environment variables, scaling, domains, creating services) and 5 generic tools that reach the rest of the Sevalla API by operation ID, split into read, create, update and delete.

Quick start

Connect your MCP client to the hosted server at https://mcp.sevalla.com/mcp, then sign in with your Sevalla account when the client opens a browser.

Claude Code

sh
claude mcp add --transport http sevalla https://mcp.sevalla.com/mcp

Then type /mcp inside Claude Code and select Authenticate to complete the OAuth flow.

Claude Code MCP docs

Claude Desktop

Add via Settings → Connectors → Add Connector and enter https://mcp.sevalla.com/mcp as the URL. Claude Desktop handles OAuth automatically.

Claude Desktop MCP docs

Cursor

Add to .cursor/mcp.json in your project root:

json
{  "mcpServers": {    "sevalla": {      "url": "https://mcp.sevalla.com/mcp"    }  }}

Cursor MCP docs

Windsurf

Add to ~/.codeium/windsurf/mcp_config.json:

json
{  "mcpServers": {    "sevalla": {      "serverUrl": "https://mcp.sevalla.com/mcp"    }  }}

Windsurf MCP docs

OpenCode

Add to opencode.json in your project root:

json
{  "$schema": "https://opencode.ai/config.json",  "mcp": {    "sevalla": {      "type": "remote",      "url": "https://mcp.sevalla.com/mcp"    }  }}

Then run opencode mcp auth sevalla to complete the OAuth flow.

OpenCode MCP docs

Tools

Every tool carries a title and explicit readOnlyHint, destructiveHint, idempotentHint and openWorldHint annotations, so clients like Claude run read-only tools without asking and always confirm destructive ones.

AreaTools
Discoverylist_services, get_application, get_static_site, get_database, get_platform_options, search_sevalla_docs
Deploymentslist_deployments, get_deployment, get_deployment_logs, trigger_deployment, rollback_deployment
Observabilitysearch_runtime_logs, search_access_logs, get_metrics
Configurationlist_environment_variables, set_environment_variables, delete_environment_variables, scale_process, add_domain
Createcreate_application, create_static_site, create_database
Rest of the APIsevalla_api_search, sevalla_api_read, sevalla_api_create, sevalla_api_update, sevalla_api_delete

The generic tools only accept operation IDs from a reviewed table generated from the Sevalla API v3 spec: the server, not the model, picks the HTTP method and path, and each tool only runs operations of its own class.

Secrets and destructive actions

Environment variable values are withheld: the tools list variable keys and their scoping, and set or delete them without ever returning a value. Everything else the Sevalla API offers is available, including deleting entire services, managing API keys and operations that issue a new secret (rolling a webhook secret, regenerating a deployment hook, rotating storage credentials), which return that secret. Destructive tools are annotated so Claude asks for confirmation before each call. Commands run inside a process (execProcessCommandV3) and application logs can still show secrets.

Authentication

Clients sign in with OAuth: the client opens a browser, you approve the connection in the Sevalla dashboard, and the approval creates an API key for it. No API key goes in the client's config. Clients without OAuth can send a Sevalla API key as Authorization: Bearer <api-key> instead.

Every tool is limited by the permissions of the Sevalla API key behind the connection. Sevalla API keys support granular permissions, so a read-only key keeps an agent read-only. Full API reference at api-docs.sevalla.com.

How it works

[How AI agents use Sevalla's MCP server: your agent calls tools on the server, signed in with OAuth or an API key, and the server calls the Sevalla API, limited by the key's permissions, to manage your applications, databases and static sites.]

Each request creates a fresh MCP server bound to the caller's API key; nothing is stored between requests. The server speaks MCP 2026-07-28 (server/discover, per-request metadata, cacheable tool lists) and still serves clients on the 2025 revisions (2025-11-25 back to 2024-11-05) over the same URL, with the same tools.

Sign-in is OAuth 2.1 with PKCE. Clients identify themselves with an OAuth Client ID Metadata Document (as Claude, ChatGPT and VS Code do) or, for older clients, Dynamic Client Registration. The flow is stateless too: pending authorizations are HMAC-signed into the callback URL, authorization codes are AES-256-GCM encrypted, and access tokens are encrypted and bound to https://mcp.sevalla.com/mcp.

Examples

  • "Why did the latest deployment of storefront fail?"
  • "Deploy the main branch of storefront and tell me when it's live."
  • "Summarize the errors in storefront's runtime logs from the last hour."
  • "Create a PostgreSQL database in Frankfurt and connect it to storefront."
  • "Add shop.example.com to storefront and tell me which DNS records to create."

Uninstall

To fully remove the Sevalla MCP server, delete the server configuration and clear stored OAuth credentials.

Removing the MCP server does not delete your API key on Sevalla. To revoke it, go to app.sevalla.com/api-keys.

Claude Code

sh
claude mcp remove sevalla

Then clear the stored OAuth token: run /mcp inside Claude Code, select sevalla, and choose Clear authentication.

If the server was added at a non-default scope, specify it explicitly:

sh
claude mcp remove --scope user sevallaclaude mcp remove --scope project sevalla

Claude Code MCP reference

Claude Desktop

Open Settings → Connectors, find the Sevalla connector, and remove it. Then fully quit and restart Claude Desktop.

OAuth tokens are stored in the operating system keychain (macOS Keychain / Windows Credential Manager). To remove them, delete the Sevalla entry from your keychain manually.

Claude Desktop MCP docs

Cursor

Delete the sevalla entry from .cursor/mcp.json (project) or ~/.cursor/mcp.json (global). Then clear cached OAuth tokens:

sh
rm -rf ~/.mcp-auth

Cursor MCP docs

Windsurf

Delete the sevalla entry from ~/.codeium/windsurf/mcp_config.json.

Windsurf MCP docs

OpenCode

sh
opencode mcp logout sevalla

Then delete the sevalla entry from opencode.json in your project root.

OpenCode MCP docs

Self-hosting

Requirements: Node.js 26 (24 also works) and pnpm 12. TypeScript runs natively, no build step.

sh
git clone https://github.com/sevalla/mcp.gitcd mcppnpm installpnpm start

Or with Docker:

sh
docker build -t sevalla-mcp .# OAUTH_SECRET (base64url-encoded 32 bytes) comes from the environmentdocker run -p 3000:3000 -e OAUTH_SECRET sevalla-mcp
VariablePurpose
PORTHTTP port (default 3000)
OAUTH_SECRETbase64url-encoded 32 bytes; required when NODE_ENV=production
PUBLIC_URLPublic base URL used in OAuth metadata (default https://mcp.sevalla.com)
SEVALLA_FRONTEND_URLSevalla dashboard URL for the OAuth consent page (default https://app.sevalla.com)
SEVALLA_API_URLSevalla API base URL (default https://api.sevalla.com)
SEVALLA_DOCS_URLDocumentation site searched by search_sevalla_docs (default https://docs.sevalla.com)
DEVICE_CODE_TRUSTED_CLIENT_TOKENService token that lets the API rate-limit OAuth sign-ins per end-user IP instead of per server IP
CLIENT_IP_HEADERHeader carrying the end-user IP, set by your edge (default x-forwarded-for; use cf-connecting-ip behind Cloudflare)
TRUSTED_PROXY_HOPSWith x-forwarded-for: number of trusted proxies that append to it; the client IP is read that many entries from the right (default 1)
SEVALLA_API_KEY--stdio mode: the Sevalla API key
SHUTDOWN_TIMEOUT_MSGraceful shutdown deadline (default 30000)
OPENAI_APPS_CHALLENGEDomain verification token served at /.well-known/openai-apps-challenge for the OpenAI plugin submission

Client IP in production. The device-code rate limit is applied per end-user IP, so the server must read that IP from something your edge controls. Behind Cloudflare, set CLIENT_IP_HEADER=cf-connecting-ip, and make sure the origin cannot be reached without going through Cloudflare, otherwise the header can be forged. Without Cloudflare, set TRUSTED_PROXY_HOPS to the number of proxies that append to X-Forwarded-For. The defaults read the right-most entry, which behind a CDN or load balancer is usually a proxy address, so every user would share one limit.

Development

sh
# Hot reload (node --watch)pnpm dev
# Unit and end-to-end tests (node:test), e2e as both 2026-07-28 and 2025 clientspnpm test
# End-to-end tests: real HTTP server, MCP SDK client, fake Sevalla APIpnpm test:e2e
# Live checks: client metadata documents; API smoke test and fake API fidelity with SEVALLA_E2E_API_KEYpnpm test:live
# Evals through headless Claude Code against the fake API (see evals/)pnpm eval
# tsc + oxlint + oxfmtpnpm check:code
# Regenerate src/sevalla/operations.json from the live API specpnpm sync:operations
# Fail if the live API spec drifted from the snapshotpnpm check:operations

The policy tests in test/policy.test.ts enforce Anthropic's connector directory requirements on the live tool list: titles and explicit hints on every tool, read/write separation, descriptions that describe rather than instruct, and a size budget for the tool definitions.

License

MIT. See LICENSE.

来源:README.md,提交 bd71076

工具

0
该服务器需要登录,因此 SourceWeft 无法在没有账号的情况下读取其工具,也未收录。已连接账号所能看到的内容可能因账号及其权限而异。

版本历史

1
  1. v2.0.0最新Oct 31, 2026

评分

已满足适用检查项的 85%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分