encore-mcp
БесплатноБез исполняемых скриптовНе проверенConnect an AI coding tool to Encore's MCP servers. The local server (`encore mcp`) gives the agent the app on this machine. The Encore Cloud server…
от encoredev★ 31 звезда на GitHubОб этом скилле
Connecting Encore's MCP Servers
Instructions
Pick the servers
| Server | Gives the agent | Needs |
|---|---|---|
Local (encore-local) |
The app on this machine: services and endpoints, calling endpoints, local traces, database schemas and queries, Pub/Sub, buckets, caches, cron jobs, and Encore docs | The Encore CLI (encore-install) and an Encore app |
Encore Cloud (encore-cloud) |
Deployed apps: environments, deploys and build logs, traces, metrics, database schemas and queries, infrastructure, secrets metadata, and the deployed source | An Encore Cloud account, and a person to approve access, or an API key |
Most agents benefit from both: local while building, Encore Cloud for deploys and production. Set up the ones the user asked for. If they didn't say, ask.
Most tools load MCP servers when they start. After adding one, ask the user to restart or reload their tool, then check that it's connected.
Local server
From the app's root directory, get the app's ID:
encore mcp startIt prints
MCP stdio Command: encore mcp run --app=<app-id>and an SSE URL. Use this ID, not theidinencore.app: apps that aren't on Encore Cloud have an emptyidthere and a local ID here.Add the server to the user's tool:
Claude Code: run from the app's root directory:
claude mcp add --transport stdio encore-local -- encore mcp run --app=<app-id>This adds it for this project, for this user. Add
--scope projectto share it with the team through.mcp.json.Cursor: add to
.cursor/mcp.json:{ "mcpServers": { "encore-local": { "command": "encore", "args": ["mcp", "run", "--app=<app-id>"] } } }VS Code: add to
.vscode/mcp.json. VS Code usesservers, notmcpServers:{ "servers": { "encore-local": { "command": "encore", "args": ["mcp", "run", "--app=<app-id>"] } } }Other tools: a stdio server with the command
encore mcp run --app=<app-id>, or an SSE server athttp://localhost:9900/sse?app=<app-id>.
If
encoreisn't on the tool's PATH, which is common for editors started from the dock or start menu, use the full path fromwhich encoreas the command. Write it out in full, such as/Users/<user>/.encore/bin/encore: config files don't expand~.Check it:
claude mcp listin Claude Code, or the tool's MCP settings, should showencore-localas connected. Then call itsget_servicestool.
The app doesn't need to be running. call_endpoint starts it, and the database tools start the local databases, which needs Docker. Traces exist only for requests the local app has served.
Encore Cloud server
The server is at https://api.encore.dev/mcp, over HTTP. It isn't tied to one app: with OAuth, it sees every app the user can access.
Add the server to the user's tool:
Claude Code:
claude mcp add --transport http --scope user encore-cloud https://api.encore.dev/mcp--scope usermakes it available in every project. Leave it out to add it to this project only.Cursor: add to
~/.cursor/mcp.jsonfor every project, or.cursor/mcp.jsonfor one:{ "mcpServers": { "encore-cloud": { "url": "https://api.encore.dev/mcp" } } }VS Code: add to
.vscode/mcp.json:{ "servers": { "encore-cloud": { "type": "http", "url": "https://api.encore.dev/mcp" } } }Other tools: an HTTP (streamable HTTP) server at
https://api.encore.dev/mcp.
Ask the user to authenticate. The agent can't do this step, because a person approves access in a browser:
- Claude Code: the user runs
/mcp, selectsencore-cloud, and chooses Authenticate. - Cursor, VS Code, and other tools: the user starts the sign-in for
encore-cloudfrom the tool's MCP settings, or from the prompt the tool shows.
- Claude Code: the user runs
Check it: call the
app_listtool. It lists the user's apps.
Encore Cloud without a person: API key
For CI or when nobody can approve access in a browser, use an API key.
Ask the user to create one in the Cloud Dashboard: the app's Settings > Access > API Keys. API keys start with
enpk_. They're different from the auth keys under Auth Keys, which log in the CLI (encore-login). A key belongs to one app, and the server only lists the tools its scopes allow, so pick scopes for the tools the agent needs.Have the user put it in an environment variable, such as
ENCORE_API_KEY, and add the server with anAuthorizationheader:claude mcp add --transport http encore-cloud https://api.encore.dev/mcp \ --header
Установить encore-mcp в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл encore-mcp?
Connect an AI coding tool to Encore's MCP servers. The local server (`encore mcp`) gives the agent the app on this machine. The Encore Cloud server (`https://api.encore.dev/mcp`) gives it deployed environments. Covers Claude Code, Cursor, VS Code, and other MCP hosts, with OAuth or an API key for Encore Cloud.
Как установить скилл encore-mcp?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл encore-mcp запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic