capacitor-mcp
Skill75 starsChanged 33 days agoMITView on GitHub
Connect AI agents (Claude Code, Claude Desktop, Cursor, VS Code, Cline, Codex) to Capacitor and Ionic tooling over Model Context Protocol. Covers the awesome-ionic-mcp server (Ionic component APIs, Capacitor plugin docs, Ionic/Capacitor CLI tools), the Capgo hosted MCP at https://api.capgo.app/mcp, the local Capgo CLI MCP (npx @capgo/cli@latest mcp), and Xcode's MCP bridge (xcrun mcpbridge) for building the iOS app from an agent. Use when the user wants to add, configure, verify, or troubleshoot an MCP server for a Capacitor project, or sees errors like "GitHub API rate limit exceeded", "unable to find utility \"mcpbridge\"", or an MCP server that connects with no tools. Do not use for Capgo account operations themselves (capgo-cloud, capgo-cli-usage), app debugging (debugging-capacitor), device logs (ios-android-logs), choosing plugins (capacitor-plugins), or Ionic UI work (ionic-design).
- Reads credentials
2 other projects use a version of this.
Adopted by
Most recently taken up by
- capawesome-team/skillstheir own version, first seen Mar 24, 2026
- Aver005/agent-skillstheir own version, first seen Feb 14, 2026
Other versions2 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 2
- capawesome-team/skills★ 54same name
- Aver005/agent-skills★ 2same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository56 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- capacitor-accessibilitySkill
- capacitor-app-intentsSkill
- capacitor-apple-review-preflightSkill
- capacitor-app-storeSkill
- capacitor-app-upgradesSkill
- capacitor-app-upgrade-v4-to-v5Skill
- capacitor-app-upgrade-v5-to-v6Skill
- capacitor-app-upgrade-v6-to-v7Skill
- capacitor-app-upgrade-v7-to-v8Skill
- capacitor-app-upgrade-v8-to-v9Skill
- capacitor-best-practicesSkill
- capacitor-ci-cdSkill
- capacitor-deep-linkingSkill
- capacitor-ios-resizabilitySkill
- capacitor-ios-security-hardeningSkill
- capacitor-keyboardSkill
- capacitor-offline-firstSkill
- capacitor-performanceSkill
- capacitor-plugin-spm-supportSkill
- capacitor-pluginsSkill
- capacitor-plugin-upgradesSkill
- capacitor-plugin-upgrade-v4-to-v5Skill
- capacitor-plugin-upgrade-v5-to-v6Skill
- capacitor-plugin-upgrade-v6-to-v7Skill
- capacitor-plugin-upgrade-v7-to-v8Skill
- capacitor-plugin-upgrade-v8-to-v9Skill
- capacitor-push-notificationsSkill
- capacitor-securitySkill
- capacitor-splash-screenSkill
- capacitor-testingSkill
- capacitor-uiscene-migrationSkill
- capawesome-live-update-migrationSkill
- capgo-cli-usageSkill
- capgo-cloudSkill
- capgo-live-updatesSkill
- capgo-native-buildsSkill
- capgo-organization-managementSkill
- capgo-release-managementSkill
- capgo-release-workflowsSkill
- cocoapods-to-spmSkill
- cordova-to-capacitorSkill
- debugging-capacitorSkill
- framework-to-capacitorSkill
- ionic-appflow-migrationSkill
- ionic-designSkill
- ionic-enterprise-sdk-migrationSkill
- ios-android-logsSkill
- konsta-uiSkill
- safe-area-handlingSkill
- skill-creatorSkill
- sqlite-to-fast-sqlSkill
- subscription-app-revenueSkill
- tailwind-capacitorSkill
- webapp-to-capacitorSkill
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 3 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 17
Do not use for:
- Distinctive: line 38
Add the server. Claude Code one-liners:
- Distinctive: line 101
Only load a reference when its topic is in play.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Capacitor MCP Servers
Wire MCP servers into an agent so it can read Ionic/Capacitor docs, run Capacitor CLI commands, manage Capgo, and drive Xcode.
When to Use
TRIGGER when the user:
- asks to "add an MCP server" / "connect Claude/Cursor to Capacitor, Ionic, Capgo or Xcode"
- mentions
awesome-ionic-mcp,api.capgo.app/mcp,@capgo/cli mcp,xcrun mcpbridge,claude mcp add,.cursor/mcp.json,.vscode/mcp.json,claude_desktop_config.json - has an MCP server that fails to start, shows no tools, asks to sign in, or hits a rate limit
Do not use for:
- uploading bundles, channels, rollouts, native builds as a task:
capgo-cloud,capgo-cli-usage,capgo-live-updates,capgo-native-builds - finding or installing a plugin:
capacitor-plugins - runtime bugs and crashes:
debugging-capacitor; device logs:ios-android-logs - Ionic component design and theming:
ionic-design
Pick the Server
| Need | Server | Transport |
Ionic component APIs/demos, Capacitor plugin docs, run ionic/cap commands | awesome-ionic-mcp (community, npm) | stdio via npx |
| Capgo account: apps, bundles, channels, rollouts, devices, stats, build status/logs, webhooks, push | Capgo hosted MCP https://api.capgo.app/mcp | streamable HTTP, OAuth or API key |
Upload a bundle from dist/, request a native build, doctor, probe, compatibility check | Capgo local CLI MCP npx @capgo/cli@latest mcp | stdio |
| Build/run the iOS project, read Xcode issues, Xcode tools | Xcode MCP xcrun mcpbridge (Xcode 26.3+, verified on Xcode 27.1) | stdio |
The Capgo hosted and local servers are complementary: hosted cannot read local files; local needs npx @capgo/cli@latest login first. Setup guide for both: https://capgo.app/mcp
Procedure
- Inspect first: identify the client (Claude Code, Claude Desktop, Cursor, VS Code, Cline, Codex) and read its existing MCP config before editing. Do not overwrite other servers.
- Choose scope: project config (
.cursor/mcp.json,.vscode/mcp.json,claude mcp add --scope project) when the team should share it; user/global config otherwise. Ask the user if unclear. Add the server. Claude Code one-liners:
claude mcp add --transport stdio awesome-ionic-mcp -- npx -y awesome-ionic-mcp@latest claude mcp add --transport http capgo https://api.capgo.app/mcp claude mcp add --transport stdio capgo-cli -- npx @capgo/cli@latest mcp claude mcp add --transport stdio xcode -- xcrun mcpbridgeOther clients: load the matching reference below.
- Authenticate:
- Capgo hosted: run
/mcpin Claude Code and pickcapgoto sign in (OAuth 2.1). Clients without OAuth sendAuthorization: Bearer <Capgo API key>. - Capgo local:
npx @capgo/cli@latest loginonce on the machine. - Xcode: enable external agents in Xcode Settings > Intelligence, keep the project open, approve the agent in Xcode's prompt.
- awesome-ionic-mcp: optional
GITHUB_TOKENenv var for plugin catalog fetches.
- Capgo hosted: run
- Restart or reload the client, then run Verification.
Traps
- Secrets: if the user already has a
GITHUB_TOKENor Capgo API key in config, keep it as is. Prefer OAuth for Capgo hosted; use a key with the smallest role needed (read-only for reporting). Never commit keys in project-scoped config; use env vars or user scope. - Capgo hosted tools include destructive ones (delete app, set channel bundle, roll back). Clients ask for confirmation; do not auto-approve them.
- OAuth sessions create a key named
MCP · <client name>that expires after at most 90 days. Reconnect via/mcpwhen it expires; revoke by deleting that key in the console. - awesome-ionic-mcp runs
ionic/npxcommands inproject_directory(defaults to the nearest project root, then cwd). Onlyionic,@ionic/cli,@capacitor/cliandcap*packages are allowed, and arguments containing; & | $ ( ) { } [ ] < >are rejected. ionic_serveandcapacitor_runblock or need a device; prefer running them in a terminal the user controls.- awesome-ionic-mcp parameters are
html_tag(nottag),repo_namefor Capgo/community plugins,plugin_namefor official plugins,slugfor the third-party catalog. Call theget_all_*tool first to get exact names. xcrun mcpbridgeresolves Xcode viaxcode-select. If the active developer dir is/Library/Developer/CommandLineTools, it is not found.- Xcode approves per process: restarting the agent triggers a new approval prompt.
- Without the Intelligence setting enabled,
xcrun mcpbridgeconnects but exposes no tools.
Verification
claude mcp list # each server shows connected / needs auth
claude mcp get capgo # shows transport and URL
xcrun --find mcpbridge # Xcode bridge resolvable
xcrun mcpbridge run-agent --dry-run claude # prints the resolved Claude command with Xcode configThen make one read-only tool call per server and confirm a real result:
- awesome-ionic-mcp:
get_ionic_component_definitionwithhtml_tag: "ion-button", orget_all_capgo_plugins - Capgo hosted: "List my Capgo apps"
- Capgo local:
capgo_list_appsorcapgo_doctor - Xcode: ask the agent to build the iOS app (
ios/App/App.xcodeprojorApp.xcworkspaceopen in Xcode)
In Cursor/VS Code/Claude Desktop, check the MCP panel shows the server enabled with a tool count above zero.
Error Handling
| Error / symptom | Fix |
GitHub API rate limit exceeded. Set GITHUB_TOKEN environment variable to increase limits. | Add GITHUB_TOKEN (no scopes needed for public repos) to the server env, restart. |
Plugin not found: <name> (awesome-ionic-mcp) | Use the exact repo_name/slug returned by the matching get_all_* tool. |
Component not found: <tag> | Pass a real Ionic tag such as ion-modal; list with get_all_ionic_components. |
Command '<cmd>' is not allowed / NPX package '<pkg>' is not allowed / Argument contains dangerous characters | The server only runs Ionic/Capacitor CLIs with plain args; run other commands in a terminal. |
Failed to download core JSON data from Ionic. | Network issue at startup; check connectivity/proxy and restart the server. |
xcrun: error: unable to find utility "mcpbridge", not a developer tool or in PATH | sudo xcode-select -s /Applications/Xcode.app/Contents/Developer, or update Xcode to 26.3+. |
| Xcode server connected but zero tools | Enable external agents in Xcode Settings > Intelligence and open the project. |
| Capgo hosted shows "needs authentication" | Run /mcp (Claude Code) or click the client's login prompt; reconnect after the 90-day key expiry. |
| Capgo local tools fail with auth errors | Run npx @capgo/cli@latest login on that machine. |
| Server starts then exits in Claude Desktop | Node/npx not on the GUI PATH; use an absolute path to npx in command. |
References
Only load a reference when its topic is in play.
references/awesome-ionic-mcp.md: client configs (Claude Desktop, Cursor, Cline, VS Code), full tool list with verified parameters, live viewer.references/capgo-mcp.md: hosted vs local Capgo MCP, per-client setup (Claude.ai, ChatGPT, Cursor, VS Code, Lovable, API-key headers), tool coverage.references/xcode-mcp.md: Xcode MCP bridge setup for Claude Code and Codex,run-agent, headlessmcp-servercommands, Capacitor iOS workflow.
Resources
- awesome-ionic-mcp: https://github.com/Tommertom/awesome-ionic-mcp
- Capgo hosted MCP: https://capgo.app/docs/ai/mcp/
- Capgo CLI MCP: https://capgo.app/docs/cli/reference/mcp/
- Xcode external agents: https://developer.apple.com/documentation/xcode/giving-external-agents-access-to-xcode
- Claude Code MCP: https://docs.anthropic.com/en/docs/claude-code/mcp
- MCP spec: https://modelcontextprotocol.io
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

