MCP Integration

Configure MCP servers in Claude Code plugins via .mcp.json or plugin.json.

Updated Dec 16, 2025
One-click install
npx skills add https://github.com/EanLee/article-write --skill mcp-integration-eanlee
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: MCP Integration
Source: https://github.com/EanLee/article-write/tree/main/.github/skills/MCP%20Integration
Command: npx skills add https://github.com/EanLee/article-write --skill mcp-integration-eanlee

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) and examples (resource) components.

What problem does it solve?

This Skill provides comprehensive guidance for integrating external Model Context Protocol (MCP) servers with Claude Code plugins, enabling seamless tool and service integration.

Core Features & Use Cases

  • MCP Server Configuration: Learn to configure various MCP server types (stdio, SSE, HTTP, WebSocket) using .mcp.json or plugin.json.
  • Authentication Patterns: Understand OAuth, token-based, and environment variable authentication methods.
  • Tool Usage: Discover how to use MCP tools within commands and agents, including naming conventions and pre-allowing tools.
  • Use Case: A plugin developer needs to connect their plugin to a custom backend API using HTTP MCP. This Skill guides them through setting up the server configuration, handling authentication with API tokens, and using the API's tools within their plugin's commands.

Quick Start

Use the MCP Integration skill to configure an SSE MCP server for connecting to the Asana API.

Frequently Asked Questions about MCP Integration

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I configure an MCP server in Claude Code plugins?

Configure MCP servers in Claude Code by defining connection details within `.mcp.json` or `plugin.json` files. This integration supports multiple server types including stdio, SSE, HTTP, and WebSocket protocols.

What authentication patterns are supported for MCP integration?

MCP integration supports OAuth, token-based authentication, and environment variables for secure connections. These patterns allow plugins to safely authenticate with external services and custom backend APIs.

Can I use MCP tools within Claude Code commands and agents?

Yes, you can use MCP tools within Claude Code commands and agents. The integration supports specific naming conventions and allows pre-allowing tools to streamline execution across your plugin's workflow.

What is the best way to connect a Claude Code plugin to a custom backend API?

The best way to connect a Claude Code plugin to a custom backend API is using an HTTP MCP server. You need to configure the server, handle authentication with API tokens, and map the API's tools to your plugin's commands.

What security and error handling practices apply to MCP server integration?

MCP server integration requires following security best practices for authentication and implementing robust error handling. Addressing performance considerations ensures stable and secure plugin development when connecting to external services.