Skip to content
mcp-provider logo

MCP Provider - MCP Tool Integration for Skills

mcp-provider

Discovers, validates, and integrates Model Context Protocol (MCP) tools into Claude Code skills. Searches MCP catalogs, scores candidates, generates tool configurations, and optionally sets up Docker runtimes. Use when creating skills that need external MCP tool integration.

SKILL.md

Full skill instructions

MCP Provider - MCP Tool Integration for Skills

Automatically discovers and integrates Model Context Protocol (MCP) tools into your Claude Code skills.

What This Skill Does

The MCP Provider helps you add external MCP tools to your skills by:

  1. Discovering MCP tools from approved catalogs
  2. Scoring and validating candidates based on your requirements
  3. Generating tool artifacts (configs, manifests) in skill directories
  4. Preparing runtimes (optional Docker sandboxing)

When to Use This Skill

  • Creating a new skill that needs MCP tool integration
  • Adding external capabilities to existing skills
  • Validating MCP tool compatibility
  • Setting up secure MCP tool execution environments

Quick Start

1. Discover Available MCP Tools

# Run from project root
python3 .claude/​skills/​mcp-provider/​scripts/​discover_mcp.py --search "database tools"

This searches approved MCP catalogs and displays matching tools.

2. Attach MCP Tool to a Skill

# Attach a specific MCP tool to a skill
python3 .claude/​skills/​mcp-provider/​scripts/​attach_mcp.py \
  --skill-path .claude/​skills/​my-skill \
  --mcp-id "sql-query-executor" \
  --tool-name "db-tools"

This generates:

  • Tool manifest in .claude/​skills/​my-skill/​mcp_tools/
  • Configuration files
  • Optional Docker runtime setup

3. Validate MCP Tool

# Test that the MCP tool works correctly
python3 .claude/​skills/​mcp-provider/​scripts/​test_mcp.py \
  --skill-path .claude/​skills/​my-skill \
  --tool-name "db-tools"

Security Features

Sandbox Isolation

  • Docker containers with read-only filesystem
  • Dropped capabilities for security
  • Network isolation by default
  • No access to host filesystem

Source Validation

  • Only approved MCP catalogs are processed
  • Tools are scored against security policies
  • Secrets never logged or exposed

Runtime Controls

  • Configurable resource limits
  • Audit logging of all operations
  • Health checks before activation

Configuration

MCP Provider uses a simple config file:

# .claude/​skills/​mcp-provider/​config.json
{
  "approved_sources": [
    "https://github.com/​modelcontextprotocol/​servers"
  ],
  "docker_enabled": true,
  "sandbox_profile": "strict",
  "max_candidates": 10
}

Common Workflows

Add Database Tools to a Skill

# 1. Search for database MCP tools
python3 .claude/​skills/​mcp-provider/​scripts/​discover_mcp.py --search "database"

# 2. Attach the best match
python3 .claude/​skills/​mcp-provider/​scripts/​attach_mcp.py \
  --skill-path .claude/​skills/​data-processor \
  --mcp-id "postgresql-mcp" \
  --tool-name "postgres-tools"

# 3. Test it works
python3 .claude/​skills/​mcp-provider/​scripts/​test_mcp.py \
  --skill-path .claude/​skills/​data-processor \
  --tool-name "postgres-tools"

Create Secure API Integration

# Discover API-related MCP tools
python3 .claude/​skills/​mcp-provider/​scripts/​discover_mcp.py --search "REST API"

# Attach with strict sandbox
python3 .claude/​skills/​mcp-provider/​scripts/​attach_mcp.py \
  --skill-path .claude/​skills/​api-client \
  --mcp-id "rest-api-client" \
  --sandbox strict \
  --network-isolation

Advanced Features

Custom Scoring

You can customize how MCP tools are scored:

# In .claude/​skills/​mcp-provider/​scripts/​attach_mcp.py
# Add --score-config option with custom weights
python3 attach_mcp.py \
  --skill-path .claude/​skills/​my-skill \
  --mcp-id "tool-id" \
  --score-config '{"security": 0.6, "performance": 0.4}'

Runtime Policies

Configure Docker execution policies:

# .claude/​skills/​mcp-provider/​runtime_policy.json
{
  "read_only_root": true,
  "drop_capabilities": ["ALL"],
  "add_capabilities": [],
  "network_mode": "none",
  "memory_limit": "512m",
  "cpu_quota": 50000
}

Resources

See references/​MCP_INTEGRATION.md for:

  • Complete API documentation
  • MCP catalog structure
  • Security best practices
  • Troubleshooting guide

Limitations

  • Only works with MCP tools that follow the standard protocol
  • Docker required for sandboxed execution
  • Approved sources only (security requirement)
  • No automatic updates of MCP tools (manual refresh needed)

Troubleshooting

MCP tool not found:

  • Check the tool ID is correct
  • Verify the catalog source is approved
  • Try refreshing the catalog cache

Docker runtime fails:

  • Ensure Docker is installed and running
  • Check Docker permissions
  • Verify the image is accessible

Permission denied:

  • MCP tools run in strict sandbox by default
  • Adjust runtime policy if needed (with caution)

MCP Provider simplifies integration of external tools while maintaining security and isolation.

More DevOps & CI/CD skills

Project scaffolding, deployment configuration, and CI/CD setup for Google ADK agents.

6K 472.6K
View

Set up tracing, logging, and monitoring for deployed ADK agents across Cloud Trace, BigQuery, and third-party platforms.

6K 472.6K
View

Enterprise Azure infrastructure architect generating Bicep or Terraform from workload descriptions.

1.5K 454.3K
View
azure-kubernetes logo
DevOps & CI/CD

azure-kubernetes

Plan and configure production-ready Azure Kubernetes Service clusters with Day-0 and Day-1 best practices.

1.5K 447.1K
View

Raw mechanical interfaces fusing Swiss typographic print with military terminal aesthetics. Rigid grids, extreme type scale contrast, utilitarian color, analog degradation effects. For data-heavy dashboards, portfolios, or editorial sites that need to feel like declassified blueprints.

92.7K 354.9K
View
just-scrape logo
DevOps & CI/CD

just-scrape

Web search, scraping, extraction, crawling, and monitoring via ScrapeGraph AI CLI.

69 245K
View

Skill for working with Firebase Hosting (Classic). Use this when you want to deploy static web apps, Single Page Apps (SPAs), or simple microservices. Do NOT use for Firebase App Hosting.

462 159.7K
View

Deploy and manage web apps with Firebase App Hosting. Use this skill when deploying Next.js/Angular apps with backends.

462 159.1K
View
deploy-to-vercel logo
DevOps & CI/CD

deploy-to-vercel

Deploy applications and websites to Vercel. Use when the user requests deployment actions like "deploy my app", "deploy and give me the link", "push this live", or "create a preview deployment".

31.9K 146.6K
View
programmatic-seo logo
DevOps & CI/CD

programmatic-seo

Build SEO-optimized pages at scale using templates, data, and proven playbook patterns.

53.3K 140.1K
View

Design and build isolated, reusable Convex backend components with clear boundaries and app-facing wrappers.

63 123.5K
View

Deploy and manage projects on Vercel using token-based authentication. Use when working with Vercel CLI using access tokens rather than interactive login — e.g. "deploy to vercel", "set up vercel", "add environment variables to vercel".

31.9K 116.1K
View

Coding & apps AI tools

Opus Clip logo
Coding & apps

Opus Clip

Opus.ai: Revolutionize Your Web Experience

Free
View
I
Coding & apps

Imagica

Build a no-code AI app in minutes.

Freemium
View
E
Coding & apps

Emergent.sh

An IDE for code migration from legacy to modern frameworks through coding agents.

Freemium
View
Wonder Dynamics logo
Coding & apps

Wonder Dynamics

Automate CGI animation in live-action scenes

Paid
View
M
Coding & apps

Mixo

Launch a website in seconds with AI.

Paid
View
AI Code Convert logo
Coding & apps

AI Code Convert

Streamline Your Coding Experience with AI Code Helper

Free
View