MCP Integration

Expose external service capabilities as MCP tools for Claude Code plugins.

6|1|Updated Dec 29, 2025
One-click install
npx skills add https://github.com/mgajewskik/opencode-config --skill mcp-integration-mgajewskik
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: MCP Integration
Source: https://github.com/mgajewskik/opencode-config/tree/main/skills/mcp-integration
Command: npx skills add https://github.com/mgajewskik/opencode-config --skill mcp-integration-mgajewskik

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Model Context Protocol (MCP) integration enables Claude Code plugins to seamlessly connect to external services and APIs by packaging their capabilities as discoverable tools.

Core Features & Use Cases

  • Exposes external service capabilities as MCP tools for plugin workflows
  • Supports multiple MCP server types (stdio, SSE, HTTP, WebSocket)
  • Automates server discovery and tool naming; provides secure authentication patterns (OAuth and token-based) and environment variable expansion
  • Enables bundling MCP servers with plugins to simplify deployment and onboarding for cloud and on-prem services
  • Common use cases include database access, cloud APIs, and custom integrations across diverse tooling

Quick Start

Create an MCP server configuration at your plugin root (using .mcp.json or plugin.json with mcpServers), reload Claude Code, and run /mcp to discover and begin using the available MCP tools.

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 APIs with Claude Code plugins using MCP?

MCP integration connects external APIs to Claude Code plugins by exposing service capabilities as discoverable tools. You configure an MCP server at the plugin root using .mcp.json or plugin.json and run /mcp to discover available tools.

What MCP server transport types are supported for Claude Code plugin development?

MCP integration supports multiple server transport types including standard input/output (stdio), Server-Sent Events (SSE), HTTP, and WebSocket connections. This enables diverse plugin workflows for database access, cloud APIs, and custom external service integrations.

Can I use OAuth for secure authentication when connecting external services via MCP?

MCP integration provides secure authentication patterns supporting OAuth and token-based credentials, alongside environment variable expansion. This allows Claude Code plugins to safely manage and pass credentials to external services without hardcoding sensitive data.

How do I discover available tools after configuring an MCP server?

Tool discovery is automated via the /mcp command in Claude Code. After creating your MCP server configuration and reloading the environment, run /mcp to list and begin using the available external service tools packaged in your plugin.

What file structure is required for a Claude Code plugin with MCP integration?

MCP integration requires a SKILL.md file with frontmatter containing name and description fields. Optional directories for scripts, references, and assets can be bundled alongside the .mcp.json configuration to simplify plugin deployment and onboarding.