Skip to content
Kitbay
Skill

mcp-integration

Apache-2.0Updated on Nov 11, 202646,808GitHub stars

A skill in the plugin-dev plugin of Anthropic's claude-plugins-official repository for bundling MCP servers with a Claude Code plugin.

What the skill teaches

A skill in the plugin-dev plugin of Anthropic's claude-plugins-official repository for bundling MCP servers with a Claude Code plugin. It compares a separate .mcp.json file at the plugin root, recommended for several servers, with an inline field in plugin.json, and explains the four server types: local stdio processes, hosted SSE servers with OAuth handled by Claude Code, HTTP servers with token headers and WebSocket servers. It covers portable paths with the plugin root variable, passing keys through environment variables, how tool names are prefixed and pre-allowed in commands, when servers start, authentication patterns, error handling and testing with the /mcp command and debug mode. Example configs for each common type are included.

Capabilities

  • Add MCP servers to a Claude Code plugin
  • Choose stdio, SSE, HTTP or WebSocket servers
  • Pass credentials through environment variables
  • Pre-allow plugin MCP tools in commands