Sign in
Explore
Skills · SkillBackend & APIsBackend frameworksReviewed

mcp-integration

Explains adding MCP servers to a plugin with .mcp.json: server types, configuration and ${CLAUDE_PLUGIN_ROOT} paths.

Kind
Skill
Works with
Claude Code
Source
anthropics/claude-plugins-official @ 58267944f921
Path
plugins/plugin-dev/skills/mcp-integration/SKILL.md
Jobs
Implementation
Topics
Backend frameworks

Credit

Made by
anthropics
Original
github.com/anthropics/claude-plugins-official/blob/58267944f9…
License
Apache-2.0

Listed by Skill Manifest; not made by us.

InstallInstall it from a plugin marketplace.
/plugin install plugin-dev@claude-plugins-official
Install factsScanned 3 Nov 2026
Adds
  • .claude/skills/mcp-integration/ (the skill folder)
  • 3 file(s) the skill refers to
  • 6 other files in the folder: examples/http-server.json, examples/sse-server.json, examples/stdio-server.json, references/authentication.md and 2 more
Runs scripts
Yes
  • shell block in the text
  • shell block in the text (references/authentication.md)
  • shell block in the text (references/tool-usage.md)
Uses the network
Yes
  • curl / wget (references/authentication.md)
Needs secrets
Yes
  • API_TOKEN
  • TOKEN
  • MY_API_KEY
  • API_KEY
Reads environment variables
  • DB_URL
  • API_TOKEN
  • TOKEN
  • MY_API_KEY
  • API_KEY
  • CLIENT_ID
Calls other skills
  • /path
Source revision
58267944f921
Licence
Apache-2.0
Last activity
26 Nov 2026
Source changed after the scan
Yes
  • Last push 26 Nov 2026, scanned 3 Nov 2026; read it again before you rely on this scan
Review
Reviewed

Found by a static scan of the stored text; nothing is run. “None found” is not a guarantee, so read what you install before you run it.

# MCP Integration for Claude Code Plugins

## Overview

Model Context Protocol (MCP) enables Claude Code plugins to integrate with external services and APIs by providing structured tool access. Use MCP integration to expose external service capabilities as tools within Claude Code.

**Key capabilities:**
- Connect to external services (databases, APIs, file systems)
- Provide 10+ related tools from a single service
- Handle OAuth and complex authentication flows
- Bundle MCP servers with plugins for automatic setup

## MCP Server Configuration Methods

Plugins can bundle MCP servers in two ways:

### Method 1: Dedicated .mcp.json (Recommended)

Create `.mcp.json` at plugin root:

```json
{
  "database-tools": {
    "command": "${CLAUDE_PLUGIN_ROOT}/servers/db-server",
    "args": ["--config", "${CLAUDE_PLUGIN_ROOT}/config.json"],
    "env": {
      "DB_URL": "${DB_URL}"
    }
  }
}
```

**Benefits:**
- Clear separation of concerns
- Easier to maintain
- Better for multiple servers

### Method 2: Inline in plugin.json

Add `mcpServers` field to plugin.json:

```json
{
  "name": "my-plugin",
  "version": "1.0.0",
  "mcpServers": {
    "plugin-api": {
…