MCP Integration

Originally fromovachiever/droid-tings
Installation
Summary

Integrate external services into Claude Code plugins via Model Context Protocol servers with four transport types.

  • Supports four server types: stdio for local processes, SSE for OAuth-enabled hosted services, HTTP for REST APIs with token auth, and WebSocket for real-time bidirectional communication
  • Configure servers in .mcp.json or inline in plugin.json with environment variable expansion and automatic tool discovery and prefixing
  • Handles authentication patterns including OAuth flows, token-based headers, and environment variable injection for secure credential management
  • Pre-allow specific MCP tools in command frontmatter for security; tools are automatically named and scoped to prevent unauthorized access
SKILL.md

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:

Related skills

More from anthropics/claude-code

Installs
GitHub Stars
122.7K
First Seen