Capa
MCP server by infragate Verified · gh:infragate
Capa is a package manager and MCP gateway for AI coding agents. It writes one capabilities.yaml setup into the native formats of 35+ agents and proxies MCP servers through a single local endpoint.
Install Capa
Built from the published package, never by AI.
claude mcp add capa -- npx -y capaRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"capa": {
"args": [
"-y",
"capa"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"capa": {
"args": [
"-y",
"capa"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"capa": {
"args": [
"-y",
"capa"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add capa -- npx -y capa{
"mcpServers": {
"capa": {
"args": [
"-y",
"capa"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add capa npx -y capaGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the capa block.
About
CAPA lets a project declare skills, tools, rules, sub-agents, MCP servers, hooks, and plugins once in a capabilities.yaml file. Running capa install writes them into the native layouts of Cursor, Claude Code, Codex, Windsurf, GitHub Copilot, and 35+ other agents. A capabilities.lock file pins resolved SHAs so a fresh clone gets the same setup.
At runtime CAPA also acts as an MCP gateway. Every agent connects to one local endpoint, and CAPA proxies upstream stdio, HTTP, and SSE servers, lazy-loads tools on demand, and filters the tools each sub-agent can call. It is aimed at teams that want a version-controlled, reproducible agent setup.
Written from the project's README and checked against it.
Tools it gives your assistant
setup_toolsLoads tools on demand through the CAPA gateway instead of front-loading the whole catalog.call_toolRuns a tool proxied from an upstream MCP server through the local CAPA endpoint.
What you need
- macOS, Linux or Windows
- A supported AI coding agent such as Cursor, Claude Code or Codex
- On Windows, Developer Mode or an elevated shell for capa wrap symlinks
Try asking
- Use setup_tools to load only the tools this refactor needs.
- Use call_tool to run the search tool from my configured MCP server.
- Show me which tools are available to my research sub-agent.
Good to know
- Most registry adapters are executable TypeScript, so review them before enabling a third-party registry.
- GitHub Copilot is not wrappable with capa wrap yet.
- Non-interactive installs such as CI must pass --yes.
Security check
C- Downloads a script from the internet and runs itIn
README.md:curl -LsSf https://capa.sh/install.sh | sh
Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to Capa
All alternatives →Oh My Posh Validator is listed as an MCP server, but the source is the README for oh-my-posh, a cross platform prompt theme engine. It does not describe an MCP server, tools, or schema validation.
Sim is a workspace for building, deploying and managing AI agents and workflows. Its MCP server lets Claude, Claude Code, Codex or another MCP client manage workspaces, workflows, tables, knowledge bases, files and logs.
Omnara deploys durable AI agents on any model and any machine. It is an open-source, self-hostable managed agent platform under Apache 2.0, with a REST API, TypeScript SDK, CLI, and MCP server.
Strata is an MCP server from Klavis AI for progressive tool usage, described as a way to optimize the AI agent's context window. The repository is deprecated, but it remains public for reference and for local or hosted use.
VoiceMode is an MCP server that adds voice conversations to Claude Code and other MCP capable agents. It uses speech-to-text and text-to-speech. It suits people whose hands or eyes are busy.
Gives an AI agent access to the skills, plugins, MCP connections, and Google Workspace and Microsoft 365 capabilities assigned to you by your OpenWork organization, through one OAuth MCP URL. Intended for people and teams who want to reuse the same setup across agents, tools, and machines.
Compare with Oh My Posh Validator, Sim or Omnara
Capa: common questions
Which AI coding agents does CAPA support?
The source says CAPA writes native files for Cursor, Claude Code, Codex, Windsurf, GitHub Copilot and 35+ other agents. Wrapping is limited to a listed set of agents.
How does CAPA keep a team's agent setup the same?
The capabilities.lock file stores SHA pins for resolved capabilities, so a clone of the repo gets the same bytes. Marker blocks leave hand-edited content alone.
What is capa wrap?
capa wrap runs an agent from a shadow workspace under ~/.capa/workspaces/, so provider directories such as .cursor/ and .claude/ do not touch the real repo.
How do I install Capa?
In Claude Code run claude mcp add capa -- npx -y capa. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is Capa the official server?
Capa is published by gh:infragate from its verified domain in the official MCP Registry.
Is Capa free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is Capa safe to use?
It scores 86 of 100. Grades: maintenance A, licence A, quality A. Security check: grade C (downloads a script from the internet and runs it). Review the code before you install. How grades work.
What are alternatives to Capa?
Similar MCP servers: Oh My Posh Validator, Sim, Omnara, strata.
Does Capa work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
