From studio-quality
Configure MCP server connections for a plugin. Use when a plugin needs external tool access, you want to generate or update a .mcp.json file, wire up filesystem access, database connections, API integrations, or troubleshoot MCP server configuration.
How this skill is triggered — by the user, by Claude, or both
Slash command
/studio-quality:mcp-wiringThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Configure MCP (Model Context Protocol) server connections for a plugin by scanning skill requirements, matching to available servers, and generating a validated `.mcp.json` file.
Configure MCP (Model Context Protocol) server connections for a plugin by scanning skill requirements, matching to available servers, and generating a validated .mcp.json file.
.mcp.json with correct entriesAccept the plugin directory path. The .mcp.json file will be created/updated at the plugin root, alongside .claude-plugin/plugin.json.
If the plugin already has a .mcp.json, read it first — merge new entries rather than overwriting.
Run the MCP requirements scanner:
python ${CLAUDE_SKILL_DIR}/../../scripts/scan_mcp_requirements.py <plugin-dir>
This scans all SKILL.md files to detect:
allowed-tools frontmatter entries referencing MCP tools (e.g., mcp__server__tool)Capture the JSON output — it contains matched servers, unmatched references, and capability hints.
Map each requirement to a known MCP server:
| Requirement | MCP Server | Package |
|---|---|---|
| Filesystem access | @anthropic/mcp-filesystem | npx -y @anthropic/mcp-filesystem <path> |
| Web search | @anthropic/mcp-web-search | npx -y @anthropic/mcp-web-search |
| GitHub access | @modelcontextprotocol/server-github | npx -y @modelcontextprotocol/server-github |
| Database (PostgreSQL) | @modelcontextprotocol/server-postgres | npx -y @modelcontextprotocol/server-postgres |
| Slack | @modelcontextprotocol/server-slack | npx -y @modelcontextprotocol/server-slack |
For the latest catalog, search the MCP registry if available:
Use tool: mcp__mcp-registry__search_mcp_registry
If a requirement has no known server match, flag it for the user.
Pipe the scan output into the config generator:
python ${CLAUDE_SKILL_DIR}/../../scripts/scan_mcp_requirements.py <plugin-dir> | \
python ${CLAUDE_SKILL_DIR}/../../scripts/generate_mcp_json.py <plugin-dir> --merge
The --merge flag preserves existing entries in .mcp.json. The script generates the standard structure:
{
"mcpServers": {
"server-name": {
"command": "npx",
"args": ["-y", "@package/name", "..."],
"env": {
"KEY": "${ENV_VAR}"
}
}
}
}
Use ${CLAUDE_PLUGIN_ROOT} for plugin-relative paths.
Use ${CLAUDE_PLUGIN_DATA} for persistent data paths.
Run the MCP config validator:
python ${CLAUDE_SKILL_DIR}/../../scripts/validate_mcp_config.py <plugin-dir>
This checks: .mcp.json is valid JSON, each server has a command field, environment variables are documented, and the plugin manifest references .mcp.json.
Present the generated config:
After approval, update the plugin manifest to reference .mcp.json if not already declared.
npx claudepluginhub ameng2001/astra-studio-plugins --plugin studio-qualityConfigures MCP servers in Claude Code plugins via .mcp.json or plugin.json, supports stdio/SSE/HTTP/WebSocket, env vars, tool naming, OAuth/token auth, security, and testing.
Guides integration of Model Context Protocol (MCP) servers into Claude Code plugins via .mcp.json or plugin.json. Covers stdio, SSE, and HTTP server types.
Guides integration of Model Context Protocol (MCP) servers into Claude Code plugins using .mcp.json or inline plugin.json configs, covering stdio, SSE, HTTP, WebSocket types for external services.