mcp-integration

Integrate MCP servers as discoverable tools in Claude Code plugins.

Updated Apr 26, 2026
One-click install
npx skills add https://github.com/GongXLiang/plot-study --skill mcp-integration-gongxliang
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: mcp-integration
Source: https://github.com/GongXLiang/plot-study/tree/main/.claude/plugins/marketplaces/claude-plugins-official/plugins/plugin-dev/skills/mcp-integration
Command: npx skills add https://github.com/GongXLiang/plot-study --skill mcp-integration-gongxliang

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill enables Claude Code plugins to securely access external services by exposing Model Context Protocol (MCP) servers as discoverable tools, allowing plugins to orchestrate cross-service capabilities without embedding credentials.

Core Features & Use Cases

  • Discover and register MCP servers (stdio, SSE, HTTP, ws) for a plugin’s tools
  • Secure authentication patterns with OAuth and token-based methods
  • Use inline or dedicated .mcp.json configurations to expose multiple tools
  • Real-world use cases include connecting to databases, cloud APIs, and file systems from plugins

Quick Start

Configure an MCP-enabled server in your plugin and run the /mcp command to verify available MCP tools, then begin calling them in your commands.

Frequently Asked Questions about mcp-integration

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

FAQPage Schema
How do I expose external MCP servers as tools in Claude Code plugins?

You can expose external MCP servers in Claude Code plugins by configuring them via inline or dedicated .mcp.json files, then running the /mcp command to verify and discover the available tools.

What types of MCP server endpoints can I connect to from a plugin?

You can connect to stdio local servers and hosted SSE, HTTP, or WebSocket MCP endpoints, enabling your plugin to orchestrate workflows across databases, cloud APIs, and file systems.

What is the best way to manage credentials for external services in MCP integrations?

The best way to manage credentials is using secure authentication patterns like OAuth and token-based methods, handling sensitive data through environment variables rather than embedding them directly.

Does this MCP integration support both local and hosted server types?

Yes, this MCP integration supports both local stdio servers and hosted SSE/HTTP/WebSocket endpoints, allowing you to register and discover external tools across different deployment environments.

Why should I use MCP servers for connecting plugins to external APIs?

Using MCP servers allows Claude Code plugins to securely access external services and orchestrate cross-service capabilities without embedding credentials directly within the plugin codebase.

How does tool discovery work after configuring an MCP server?

Tool discovery works by reading your MCP configuration and exposing the registered tools, which you can verify and list directly by running the /mcp command in your plugin environment.