MCP Integration

Configure MCP servers and expose tools for Claude Code plugins.

4|1|Updated Apr 23, 2026
One-click install
npx skills add https://github.com/johnnyasantoss/opencode-config --skill mcp-integration-johnnyasantoss
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: MCP Integration
Source: https://github.com/johnnyasantoss/opencode-config/tree/main/skills/mcp-integration
Command: npx skills add https://github.com/johnnyasantoss/opencode-config --skill mcp-integration-johnnyasantoss

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Integrate external services with Claude Code plugins using the Model Context Protocol (MCP) to expose tools and enable cross-service automation.

Core Features & Use Cases

  • Comprehensive MCP server integration for plugins (stdio, SSE, HTTP, WebSocket) with automated tool discovery.
  • Secure authentication handling and lifecycle management to keep plugin tools available on demand.
  • Real-world use case: connect a monitoring service and expose a set of tools to perform health checks and data collection from the service.

Quick Start

Configure your plugin with a .mcp.json or plugin.json mcpServers block and verify MCP tools are exposed via /mcp.

Frequently Asked Questions about MCP Integration

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

FAQPage Schema
How do I integrate external services with Claude Code plugins using MCP?▼

MCP integration supports four transport types for Claude Code plugins: stdio, SSE, HTTP, and WebSocket, allowing flexible server connectivity depending on your external service architecture.

Can I use environment variables when configuring MCP servers in plugin.json?▼

MCP integration includes secure authentication handling and lifecycle management, ensuring that plugin tools remain provisioned and available on demand while maintaining secure connections to external services.

How do I verify that MCP tools are exposed after configuring my plugin?▼

After configuring your mcpServers block, you can verify that MCP tools are exposed and properly provisioned by running the /mcp command within your Claude Code environment.

What is the best way to expose external monitoring tools to Claude Code?▼

The best way to expose external monitoring tools is using MCP integration to connect the service and automatically discover tools, enabling health checks and data collection directly from Claude Code.