Capa

Developer toolsAgent frameworks and SDKs

One capabilities.yaml wires skills, tools, rules, sub-agents, MCP servers, and plugins into Cursor, Claude Code, Codex, Windsurf, GitHub Copilot, and 30+ other AI coding agents.

Your AI app calls the Capa MCP server, which does the developer tools and agent frameworks and SDKs work and sends the result back to the chat.

About Capa

Capa is a community MCP server from infragate, filed in our directory under developer tools and agent frameworks and sdks. One capabilities.yaml wires skills, tools, rules, sub-agents, MCP servers, and plugins into Cursor, Claude Code, Codex, Windsurf, GitHub Copilot, and 30+ other AI coding agents.

At a glance

Publisher
infragate (community)
Runs
See the README for setup
Written in
TypeScript
License
MIT
GitHub stars
680

How to set up Capa

  1. Follow the install steps in the Capa README; it is written in TypeScript, so have that toolchain ready.
  2. Check the Capa README for keys or settings; the registry lists none that Capa requires.
  3. Add Capa to Claude Code, Claude Desktop, VS Code or Cursor with the config in the setup box on this page.
  4. Restart the app or reload its MCP servers, then ask it to list the Capa tools to confirm the connection.
  5. Run one read-only task with Capa first, and keep your app asking before each tool call until the results look right.

Capa compared with similar servers

  • Cclsp by ktnyt has fewer GitHub stars than Capa (676 against 680); both are community servers, and both run locally.
  • sqz by ojuschugh1 has more GitHub stars than Capa (681 against 680); both are community servers, and both run locally.
  • Client CLI by adhikasp has fewer GitHub stars than Capa (675 against 680); both are community servers, and both run locally.

Before you connect Capa

  • Give Capa its own API key or account with the smallest permissions the job needs, never an admin key.
  • Keep your AI app asking before each Capa tool call until you trust what it does with them.
  • Treat text that Capa fetches as data. Pages, files and messages can hold instructions written to steer an AI.
  • Read the open issues for Capa on GitHub to see what breaks and how fast the maintainers reply.

Marketing use cases for Capa

How marketing and sales teams put Capa to work, by company size. Pick the size closest to yours and start Capa on one use case.

Small business

  • A small business with a developer can use Capa to ship site and tracking fixes faster, with the AI reading the code it changes.
  • Technical founders can ask Capa to explain and fix a marketing site issue without context switching between tools.
  • A small business with a developer can use Capa to build one focused agent, such as lead follow-up, without a big platform.
  • Capa runs on your own computer, which keeps data local; it needs a little setup, so a small team should plan an hour for it.

Mid-market

  • Growth engineers can use Capa to build landing pages, tracking and integrations in fewer cycles, with reviews kept in the normal flow.
  • Marketing ops engineers can connect Capa to keep scripts and automations documented and versioned as they change.
  • Growth engineering teams can use Capa to build agents that combine CRM, analytics and content tools behind one workflow.
  • Start Capa on one workflow with one owner, measure the time it saves, then roll it out to the wider team.

Enterprise

  • Enterprise engineering teams can roll out Capa with repo scopes and audit logs, so agents work only where they are allowed.
  • Platform teams can standardize on Capa so web and marketing engineering share one reviewed way of working with AI.
  • Enterprises can build on Capa with their own identity, policy and evaluation layers, so agents meet the same bar as other software.
  • Capa is a community server, so have security review the code and pin a version before Capa touches company data.

Need help becoming an AI-forward company?

We connect MCP servers and AI agents to your CRM, content and data, with the guardrails your team needs.

Contact us

Capa README

From infragate/capa on GitHub, shared under its MIT license. Images are left out; the original has them.

README.md

The package manager and MCP gateway for AI coding agents

Why · Features · Install · Quick start · Wrap · Web UI · Docs · Community

Declare skills, tools, rules, sub-agents, MCP servers, hooks, and plugins once in capabilities.yaml. Run capa install. CAPA writes them into Cursor, Claude Code, Codex, Windsurf, GitHub Copilot, and 35+ other agents, native formats, pinned SHAs, zero manual sync. At runtime it is also the MCP gateway: every agent talks to one local endpoint; CAPA proxies upstream servers, lazy-loads tools, and scopes what each sub-agent can call.

https://github.com/user-attachments/assets/200a8cf9-7236-4cc0-a9e4-332bb6664b41

Why CAPA?

Agent config today is scattered across CLAUDE.md, .cursor/rules/, AGENTS.md, MCP JSON, hooks, and skill folders. No two teammates match. Nothing is pinned. Cloning the repo does not clone the agent setup.

CAPA collapses that into one version-controlled file next to your code, and a local MCP gateway in front of every tool:

  • capabilities.yaml, source of truth for every capability
  • capabilities.lock, SHA pins so tomorrow's clone gets the same bytes
  • Marker blocks, surgical writes that leave hand-edited content alone
  • MCP gateway, one endpoint per project; CAPA proxies stdio / HTTP / SSE servers, applies formatters, and records activity

The teammate who clones tomorrow gets the exact setup you have today.

Features

  • One file → 35+ agents, write once; CAPA fans out to each provider's native layout (.cursor/rules/, .claude/agents/, AGENTS.md, …)
  • MCP gateway, one local endpoint per agent; CAPA proxies upstream MCP servers, lazy-loads tools on demand, and filters tools per sub-agent
  • Cheaper inference, same quality, on-demand tool loading instead of front-loading the whole catalog (19–40% fewer tokens across 150 trials on claude-opus-4-8)
  • capa wrap, run Cursor, Claude, Codex, and more from a shadow workspace so provider dirs never touch your real repo
  • Local Web UI, interactive capabilities editor with live YAML sync, registry browse, OAuth setup, and drag-to-reorder
  • Activity traces, live feed of every MCP call, shell tool, and agent span on the project page
  • Plugins that unpack, Claude and Cursor plugins decompose into skills, MCP, rules, sub-agents, and hooks
  • Registries, browse skills.sh, Cursor Marketplace, Claude plugins, and Claude marketplace catalogs
  • capa add --passthrough, write provider-native files directly when you want unmanaged one-offs
  • Sub-agent isolation, each sub-agent gets a filtered MCP endpoint, so research agents never inherit a git push tool

Installation

macOS and Linux:

curl -LsSf https://capa.sh/install.sh | sh

Windows:

powershell -ExecutionPolicy ByPass -c "irm https://capa.sh/install.ps1 | iex"

Quick start

1. Initialize

cd your-project
capa init

Creates capabilities.yaml and registers the project with the local CAPA server (default http://localhost:5912).

The new file points at the JSON Schema, so editors with YAML/JSON language support autocomplete and validate it. For an existing file, add this first line:

# yaml-language-server: $schema=https://raw.githubusercontent.com/infragate/capa/main/schema/capabilities.schema.json

2. Add capabilities

capa add vercel-labs/agent-skills@web-researcher
capa add --server --id brave --cmd npx --arg @brave/brave-search-mcp
capa registry search skills-sh "research"

3. Install

capa install              # interactive: confirms executable surface, then installs
capa install --yes        # CI / scripts: skip confirmation
capa install --dry-run    # preview MCP servers, hooks, and commands without changes

Resolves SHAs, fills the cache, writes per-provider files, and registers one MCP endpoint with each configured agent. Resolved SHAs land in capabilities.lock.

[!NOTE] Non-interactive shells (CI, scripts) must pass --yes. The first install prints the executable surface (MCP stdio servers, hooks, command tools, plugins) and asks for confirmation; unchanged surfaces skip the prompt on re-run.

[!TIP] Already have skills, MCP configs, and rules in the repo? After capa init, use the bundled /bootstrap skill, the agent scans the project and drafts the CAPA config for you.

4. Run tools from the terminal

capa sh                                  # list every configured tool
capa sh brave                            # list brave subcommands
capa sh brave search --query "…"         # run a tool directly
capa sh --raw brave search --query "…"   # skip per-tool formatters

Every tool you define is also a CLI command under capa sh.

5. Open the Web UI

capa open             # open this folder's project in the browser
capa open ../other    # or any other project folder
capa status           # prints the local URL when the server is up

Edit skills, tools, rules, hooks, plugins, and agents in the browser. Changes sync live back to capabilities.yaml.

capa wrap

Run an agent without polluting your repo with .cursor/, .claude/, and friends. CAPA builds a shadow workspace under ~/.capa/workspaces/, symlinks your project (minus provider-owned paths), installs capabilities into the shadow, and launches the agent.

capa wrap cursor          # Cursor GUI, stops when the window closes
capa wrap claude          # Claude Code (aliases: claude-code)
capa wrap agent           # Cursor CLI
capa wrap codex
capa wrap gemini-cli
capa wrap opencode

capa wrap cursor --print-dir   # print shadow path, then launch
capa wrap --prune              # clean stale workspaces
capa stop                      # stop server + active wrap sessions

Wrappable today: Claude Code, Codex, Cursor, Gemini CLI, OpenCode, iFlow CLI, Kiro CLI, Qwen Code, Kimi CLI.

[!NOTE] On Windows, creating the shadow workspace may require Developer Mode (or an elevated shell) for symlinks. GitHub Copilot is not wrappable yet, it owns shared .github/ / .vscode/ trees that need subpath exclusions.

Web UI & observability

The embedded React UI (served by the local server) covers the full project lifecycle:

Area What you get
Capabilities editor Skills, tools, rules, hooks, sub-agents, plugins, agents, CRUD, local file pickers, drag reorder
Registries Search seeded catalogs (skills.sh, Cursor Marketplace, Claude plugins) and add your own
Activity Live tool-call feed, charts, and run timelines (default-on via options.agentActivity)
Variables / OAuth Credential setup when install needs secrets

Activity is powered by system hooks and the MCP proxy tracer, MCP failures show as error rows, shell tools from capa sh are labeled correctly, and secrets in args/results are redacted.

Plugins & registries

Plugins are not opaque blobs. CAPA clones the repo, reads Claude (.claude-plugin/) or Cursor (.cursor-plugin/) manifests, and merges skills, MCP servers, rules, sub-agents, and hooks into the same install pipeline as everything else.

capa add owner/repo --plugin --install
capa add cursor-marketplace:some-plugin --plugin

capa registry list
capa registry add anthropics/claude-plugins-official --type claude-marketplace
capa registry search skills-sh "typescript"

[!IMPORTANT] Most registry adapters are executable TypeScript fetched into ~/.capa/registries-managed/. Review the source before enabling a third-party registry. Claude marketplaces are JSON catalogs only, safer by design.

Passthrough mode

Need a one-off native write without CAPA managing the file?

capa add owner/repo@skill --passthrough --provider cursor
capa add --rule --id ts-strict --inline "Always use strict TypeScript" --passthrough
capa install --passthrough

Passthrough skips capabilities.yaml, the lockfile, and managed-file tracking. Tool aliases, defaults, and formatters still require managed mode (capa add --tool … --passthrough is refused).

How it fits together

capabilities.yaml  ──►  capa install  ──►  provider files (.cursor/, .claude/, AGENTS.md, …)
        │                      │
        │                      ├── capabilities.lock
        │                      ├── ~/.capa/cache/          (content-addressed snapshots)
        │                      └── ~/.capa/db.sqlite       (projects, variables, activity)
        │
        └──► Web UI editor ◄──► file watcher ◄──► disk

Agent ──MCP──► capa gateway (:5912)  ──proxy──► upstream MCP (stdio / HTTP / SSE)
                     │
                     ├── on-demand tools (setup_tools / call_tool)
                     ├── per-sub-agent filtered endpoints
                     └── ToolCallTracer → activity feed

CLI cheat sheet

capa init                              # create capabilities.yaml + register project
capa add <source> [--plugin] [--install]
capa add --server|--tool|--rule|--hook …
capa install [-p <provider>] [-e .env] [--no-cache] [--yes] [--dry-run]
capa wrap <provider> [--project <path>]
capa sh [tool] [args…] [--raw]
capa registry search|add|list|refresh|remove …
capa start|stop|restart|status
capa clean                             # remove managed artifacts
capa auth github|gitlab
capa cache | capa cache clean
capa upgrade [--yes]                   # pin GitHub release + verify installer checksum

Documentation

Guides, the full schema reference, and the registry catalog:

https://capa.sh

Maintainer-oriented internals (install pipeline, provider matrix, lockfile semantics) live in docs/.

Community

Questions or bugs? Open an issue.

Questions about Capa

What is the Capa MCP server?

One capabilities.yaml wires skills, tools, rules, sub-agents, MCP servers, and plugins into Cursor, Claude Code, Codex, Windsurf, GitHub Copilot, and 30+ other AI coding agents. Capa is maintained by infragate on GitHub at infragate/capa, and works with AI apps that support the Model Context Protocol, such as Claude, Cursor and VS Code.

How do I install the Capa MCP server?

Capa doesn't publish a one-line install in the MCP registry, so follow the setup steps in its README on GitHub (infragate/capa). Like most servers, Capa ends with a command or URL you paste into your AI app's MCP config.

Does Capa need an API key?

The registry lists no required keys for Capa. Check the Capa README for optional settings, and expect a remote server to ask you to sign in the first time you connect.

Is Capa an official MCP server?

No. Capa is a community server maintained by infragate. Community servers can be excellent; read the code and the open issues before you give Capa access to company data.

What license is Capa under?

Capa is released under the MIT license, according to its GitHub repository. The license covers the code of Capa; the service it connects to has its own terms.