What problem does it solve?
This Skill simplifies the process of integrating Model Context Protocol (MCP) servers into Claude Code plugins, enabling seamless external service and API integration.
Core Features & Use Cases
- MCP Server Integration: Provides guidance for integrating various MCP server types (stdio, SSE, HTTP, WebSocket) into Claude Code plugins.
- Server Configuration: Offers methods for configuring MCP servers using
.mcp.json or inline configurations in plugin.json.
- Tool Usage: Describes how to use MCP tools in commands and agents, including naming conventions and parameter validation.
- Authentication: Covers authentication patterns for OAuth, token-based, and environment variable authentication.
- Security: Highlights security best practices for handling tokens, permissions, and connections.
- Performance: Discusses performance considerations like lazy loading and batching requests.
- Testing and Debugging: Provides instructions for local testing, validation checklist, and debugging techniques.
- Integration Workflow: Outlines the workflow for adding MCP integration to a plugin, from choosing server types to handling authentication and error cases.
Quick Start
To add MCP integration to your plugin, start by choosing the MCP server type and create a .mcp.json configuration file at the plugin root. Use the provided examples to set up server types and authentication, and follow the guidelines for using MCP tools in commands and agents.