
Capacitor Mcp
- 540 installs
- 57 repo stars
- Updated July 13, 2026
- cap-go/capgo-skills
capacitor-mcp is a Capacitor-focused agent skill that grants MCP access to project context, plugins, configs, and CapGo workflows for developers building hybrid mobile apps with coding agents.
About
capacitor-mcp is an agent skill from cap-go/capgo-skills that connects coding agents to Capacitor mobile projects through MCP. It surfaces project context, installed Capacitor plugins, configuration files, and CapGo live-update workflows so agents can reason about real mobile app state instead of guessing from partial file snippets. Developers reach for capacitor-mcp when building or debugging Ionic or Capacitor apps and need agents to inspect native bridge setup, plugin versions, or CapGo deployment steps inline. The skill targets hybrid mobile development where JavaScript or TypeScript web code ships inside native iOS and Android shells. It reduces back-and-forth when agents must align code changes with Capacitor config, plugin APIs, and CapGo release mechanics during feature work.
- MCP server setup for Capacitor projects
- Structured tool calls for native config and plugins
- Agent-friendly CapGo API and CLI context
- Safer automated edits to capacitor.config and platforms
- Faster scaffolding of Capacitor-native integrations
Capacitor Mcp by the numbers
- 540 all-time installs (skills.sh)
- Ranked #1,689 of 16,546 AI & Agent Building skills by installs in the Skillselion catalog
- Data as of Aug 1, 2026 (Skillselion catalog sync)
npx skills add https://github.com/cap-go/capgo-skills --skill capacitor-mcpAdd your badge
Show developers this skill is listed on Skillselion. Paste this into your README.
| Installs | 540 |
|---|---|
| repo stars | ★ 57 |
| Last updated | July 13, 2026 |
| Repository | cap-go/capgo-skills ↗ |
How do agents access Capacitor project context via MCP?
Give coding agents MCP access to Capacitor project context, plugins, configs, and CapGo workflows during mobile app development.
Who is it for?
Developers building Capacitor or Ionic mobile apps who want agents to read project configs, plugins, and CapGo deployment context through MCP.
Skip if: Pure native Swift or Kotlin projects without Capacitor, or teams not using CapGo live-update workflows.
When should I use this skill?
A developer works on a Capacitor mobile app and needs agent access to plugins, configs, or CapGo workflows via MCP.
What you get
Agent-readable Capacitor project context, plugin inventory, config snapshots, and CapGo workflow guidance aligned to the live mobile repo.
- Agent-accessible project context
- Plugin and config awareness
- CapGo workflow alignment
Files
Capacitor MCP Tools
Guide to using Model Context Protocol (MCP) for Ionic and Capacitor mobile development automation.
When to Use This Skill
- User wants to automate Ionic/Capacitor development
- User asks about MCP integration
- User wants AI-assisted component/plugin discovery
- User needs programmatic CLI command execution
- User wants access to Ionic components and Capacitor plugins within AI chat
What is MCP?
MCP (Model Context Protocol) is an open standard for connecting AI models to external tools and data sources. For Capacitor development, MCP enables:
- Access to Ionic component definitions and APIs
- Capacitor plugin documentation lookup
- Automated CLI command execution (build, sync, run, etc.)
- Project configuration management
- Real-time component demos and examples
Setting Up MCP for Capacitor
1. Install Awesome Ionic MCP Server
The awesome-ionic-mcp server is a comprehensive tool that provides access to:
- Ionic Framework component APIs
- Official Capacitor plugins
- Capawesome plugins (free and insider)
- Capacitor Community plugins
- CapGo plugins
- 28 Ionic/Capacitor CLI commands
Claude Desktop
Add to claude_desktop_config.json (accessible via Claude > Settings > Developer):
{
"mcpServers": {
"awesome-ionic-mcp": {
"command": "npx",
"args": ["-y", "awesome-ionic-mcp@latest"]
}
}
}Cline
Add to cline_mcp_settings.json:
{
"mcpServers": {
"awesome-ionic-mcp": {
"command": "npx",
"args": ["-y", "awesome-ionic-mcp@latest"],
"disabled": false
}
}
}Cursor
Add to .cursor/mcp.json (project-specific) or ~/.cursor/mcp.json (global):
{
"mcpServers": {
"awesome-ionic-mcp": {
"command": "npx",
"args": ["-y", "awesome-ionic-mcp@latest"]
}
}
}2. Optional: GitHub Token for Rate Limiting
The server makes ~160+ GitHub API calls during initialization to fetch plugin data. Without authentication, GitHub limits you to 60 requests/hour. With a token, this increases to 5,000 requests/hour.
Add GITHUB_TOKEN to your MCP configuration:
{
"mcpServers": {
"awesome-ionic-mcp": {
"command": "npx",
"args": ["-y", "awesome-ionic-mcp@latest"],
"env": {
"GITHUB_TOKEN": "ghp_your_token_here"
}
}
}
}Get a token from GitHub Settings → Developer settings → Personal access tokens. No special permissions needed for public repos.
Available MCP Tools
Ionic Component Tools
// Get Ionic component definition
get_ionic_component_definition({ tag: "ion-button" })
// Returns TypeScript definition from @ionic/core
// List all Ionic components
get_all_ionic_components()
// Returns: ["ion-button", "ion-card", "ion-input", ...]
// Get component API documentation
get_component_api({ tag: "ion-button" })
// Returns API docs from ionicframework.com
// Get component demo code
get_component_demo({ tag: "ion-modal" })
// Returns demo code from docs-demo.ionic.ioCapacitor Plugin Tools
// Get official Capacitor plugin API
get_official_plugin_api({ plugin: "Camera" })
// Returns documentation from capacitorjs.com
// List all official plugins
get_all_official_plugins()
// Returns: ["Camera", "Filesystem", "Geolocation", ...]
// Search all available Capacitor plugins
get_all_capacitor_plugins()
// Returns superlist from all plugin publishers
// Get Capawesome plugin documentation
get_plugin_api({ plugin: "capacitor-firebase" })
// List Capawesome plugins
get_all_free_plugins() // Free plugins
get_all_insider_plugins() // Insider/paid plugins
// Get CapGo plugin documentation
get_capgo_plugin_api({ plugin: "native-biometric" })
get_all_capgo_plugins()
// Get Capacitor Community plugin docs
get_capacitor_community_plugin_api({ plugin: "http" })
get_all_capacitor_community_plugins()Ionic CLI Commands
All commands accept a project_directory parameter (defaults to current directory).
Project Information
// Get comprehensive project info
ionic_info({ format: "json" })
// Get configuration value
ionic_config_get({ key: "name" })
// Set configuration value
ionic_config_set({ key: "name", value: "MyApp" })
// Unset configuration value
ionic_config_unset({ key: "telemetry" })Project Setup
// Create new Ionic project
ionic_start({
name: "MyApp",
template: "tabs", // blank, list, sidemenu, tabs
type: "react", // angular, react, vue
capacitor: true
})
// List available templates
ionic_start_list()
// Initialize existing project
ionic_init({ name: "MyApp", type: "react" })
// Repair project dependencies
ionic_repair()Build & Serve
// Build web assets
ionic_build({
project_directory: "./my-app",
prod: true,
engine: "browser" // or "cordova"
})
// Start development server (manual launch recommended)
// Note: Server runs in foreground, manual launch preferred
ionic_serve({
project_directory: "./my-app",
port: 8100,
lab: false
})Code Generation
// Generate page
ionic_generate({
type: "page",
name: "home",
project_directory: "./my-app"
})
// Generate component
ionic_generate({
type: "component",
name: "user-card"
})
// Generate service
ionic_generate({
type: "service",
name: "auth"
})
// Other types: directive, guard, pipe, class, interface, moduleIntegrations
// List available integrations
integrations_list()
// Enable integration (e.g., Capacitor)
integrations_enable({ integration: "capacitor" })
// Disable integration
integrations_disable({ integration: "cordova" })Capacitor CLI Commands
Project Management
// Check Capacitor setup
capacitor_doctor({ platform: "ios" })
// List installed plugins
capacitor_list_plugins()
// Initialize Capacitor
capacitor_init({
name: "MyApp",
id: "com.example.app",
web_dir: "dist"
})
// Add platform
capacitor_add({ platform: "ios" })
capacitor_add({ platform: "android" })
// Migrate to latest version
capacitor_migrate()Build & Sync
// Sync web assets and dependencies
capacitor_sync({ platform: "ios" })
// Copy web assets only
capacitor_copy({ platform: "android" })
// Update native dependencies
capacitor_update({ platform: "ios" })
// Build native release
capacitor_build({
platform: "ios",
scheme: "App",
configuration: "Release"
})Run & Deploy
// Run on device/emulator
capacitor_run({
platform: "ios",
target: "iPhone 15 Pro"
})
// Open native IDE
capacitor_open({ platform: "ios" }) // Opens Xcode
capacitor_open({ platform: "android" }) // Opens Android StudioCommon Workflows
Create New Project
// 1. Create Ionic project
ionic_start({
name: "MyApp",
template: "tabs",
type: "react",
capacitor: true
})
// 2. Add iOS platform
capacitor_add({
project_directory: "./MyApp",
platform: "ios"
})
// 3. Build and sync
ionic_build({
project_directory: "./MyApp",
prod: true
})
capacitor_sync({
project_directory: "./MyApp",
platform: "ios"
})Check Project Health
// Get system info
ionic_info({ format: "json" })
// Check Capacitor setup
capacitor_doctor({ platform: "ios" })
// List installed plugins
capacitor_list_plugins()Generate Code
// Generate page with routing
ionic_generate({ type: "page", name: "profile" })
// Generate reusable component
ionic_generate({ type: "component", name: "user-avatar" })
// Generate service
ionic_generate({ type: "service", name: "data" })AI-Assisted Development Benefits
With awesome-ionic-mcp, AI assistants can:
1. Discover Components: Ask "What Ionic components can I use for forms?" and get accurate API docs 2. Find Plugins: Ask "Is there a Capacitor plugin for biometric authentication?" and get relevant results 3. Execute Commands: Request "Build the iOS app" and the CLI command runs automatically 4. Generate Code: Get component examples with proper TypeScript definitions 5. Troubleshoot: Look up plugin APIs and configuration without leaving the chat
Example Queries
With the MCP server installed, you can ask your AI assistant:
- "Show me the API for ion-modal component"
- "List all available Capacitor Camera plugin methods"
- "Generate a new page called settings"
- "What Capawesome plugins are available for Firebase?"
- "Build my app for iOS"
- "Sync my Capacitor project"
- "What are all the free CapGo plugins?"
Technical Details
Data Sources
The awesome-ionic-mcp server aggregates data from:
@ionic/corepackage (TypeScript definitions)- ionicframework.com (component API docs)
- docs-demo.ionic.io (component demos)
- capacitorjs.com (official plugins)
- capawesome.io (Capawesome plugins)
- capacitor-community (community plugins)
- capgo.app (CapGo plugins)
Requirements
- Node.js (for npx command)
- Optional: GitHub token for avoiding API rate limits
- Ionic/Capacitor project (for CLI commands)
Browser Automation
The server uses Puppeteer to fetch some documentation. You may see a browser window spawn and close during initialization - this is normal.
Resources
- awesome-ionic-mcp: https://github.com/Tommertom/awesome-ionic-mcp
- MCP Specification: https://modelcontextprotocol.io
- MCP SDK: https://github.com/modelcontextprotocol/sdk
- Ionic Framework: https://ionicframework.com
- Capacitor: https://capacitorjs.com
- Capawesome Plugins: https://capawesome.io
- CapGo Plugins: https://capgo.app
{
"version": "1.0.0",
"organization": "Capgo",
"date": "January 2026",
"abstract": "Guide to using Model Context Protocol (MCP) for Ionic and Capacitor mobile development automation. Covers Ionic component APIs, Capacitor plugin documentation, CLI command execution via the awesome-ionic-mcp server.",
"triggers": [
"mcp capacitor",
"awesome-ionic-mcp",
"ionic mcp",
"ai mobile development",
"mcp tools",
"ionic components ai",
"capacitor plugins ai"
],
"references": [
"https://github.com/Tommertom/awesome-ionic-mcp",
"https://modelcontextprotocol.io",
"https://github.com/modelcontextprotocol/sdk",
"https://ionicframework.com",
"https://capacitorjs.com"
]
}
Related skills
How it compares
Choose capacitor-mcp over generic mobile skills when the stack is Capacitor-specific and agents need MCP-backed plugin, config, and CapGo context.
FAQ
What does capacitor-mcp expose to agents?
capacitor-mcp grants MCP access to Capacitor project context, installed plugins, configuration files, and CapGo workflows. Agents can inspect real mobile project state instead of inferring setup from isolated source files.
When should I use capacitor-mcp?
capacitor-mcp fits active Capacitor or Ionic mobile development when agents must read configs, plugin lists, or CapGo live-update steps. Skip it for non-Capacitor native-only codebases.