npx skills add smithery/jacksenechal --skill setup-mcp
gsmlg-dev/code-agent
setup-mcp
Use when adding or configuring an MCP (Model Context Protocol) server in a Claude Code plugin. Triggers on "add mcp", "setup mcp", "configure mcp server", "add mcp.json to plugin", or any request to wire up an external MCP tool server to a plugin in this repository.
Installation
npx skills add gsmlg-dev/code-agent --skill setup-mcp
Similar popular skills
Related neighbors and high-traction skills in the same topics — useful to compare before installing.
Helps users discover and install agent skills when they ask questions like "how do I do X", "fi…
3.3M installsBrowser automation CLI for AI agents. Use when the user needs to interact with websites, includ…
810.4K installsReview UI code for Web Interface Guidelines compliance. Use when asked to "review my UI", "chec…
617.3K installsBuild, deploy, evaluate, optimize, fine-tune, and manage Microsoft Foundry agents, models, and …
576.5K installsPrepare azd-based Azure projects for deployment: generates azure.yaml, infrastructure (Bicep/Te…
568.3K installsAlso in this package
Other skills from gsmlg-dev/code-agent · top by installs.
npx skills add gsmlg-dev/code-agent
More details
Agent compatibility
Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.
Also listed on
Alternate registries and mirrors of this skill.
Repository health
main
Skill metadata
Parsed from SKILL.md frontmatter.
More metadata
- internal
- 1
Package contents
Files included with this skill beyond the listing page.
-
skill md
SKILL.md1,656 B -
docs
SUMMARY.md283 B
History
- First seen on skills.sh
- First recorded snapshot · 34 installs
SKILL.md
Setting up MCP in a Plugin
MCP servers are configured via a .mcp.json file (dotfile) at the plugin root — not inside .claude-plugin/, and not mcp.json without the dot.
File location
plugins/<name>/
├── .claude-plugin/
│ └── plugin.json
├── .mcp.json ← here
├── commands/
└── ...
Schema
{
"<server-name>": {
"type": "http",
"url": "https://<endpoint>/mcp/",
"headers": {
"Authorization": "Bearer ${ENV_VAR}"
}
}
}
- Top-level keys are the server names (used as identifiers in Claude Code)
type: transport type — use"http"for HTTP/SSE endpointsurl: the MCP server endpoint URLheaders: optional; use${VAR}syntax for environment variable interpolation (e.g.,${GITHUB_TOKEN})
Example (github plugin)
{
"github": {
"type": "http",
"url": "https://githubcopilot-api.gsmlg.dev/mcp/",
"headers": {
"Authorization": "Bearer ${GITHUB_TOKEN}"
}
}
}
Notes
- Multiple servers can be registered in the same
.mcp.jsonby adding more top-level keys headersis only needed for authenticated endpointsplugin.jsondoes not carry MCP config — keep them separatelspServersinplugin.jsonis for LSP (code intelligence), not MCP