mcp-expert

mcp-expert is an agent for Claude Code from davila7/claude-code-templates. It costs 0 tokens per session (1,774 once invoked), scanned A, original, MIT.

An expert assistant for building integrations with the Model Context Protocol, a standard way for AI tools to connect to services and data. It focuses on server configuration, authentication, and integration design.

In plain words
What is it for?
Use it to create or configure MCP servers for REST or GraphQL APIs, databases, and other services, including their JSON setup and authentication details.
Why use it?
It helps turn an external service such as an API or database into a correctly configured MCP connection. This avoids guessing the required commands, settings, and environment variables.

Agent for Claude Code

About the project

Claude Code Templates is a command-line tool and catalogue for configuring Anthropic’s Claude Code with agents, commands, settings, hooks, integrations, skills, and project templates. Developers use it to browse and install reusable components for their coding workflows. The catalogue includes many of these Claude Code components.

davila7/claude-code-templates · 30,520 stars · on GitHub

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add agents/davila7/claude-code-templates/mcp-expert
Clone the repo
git clone --depth 1 https://github.com/davila7/claude-code-templates

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for mcp-expert

README.md
[![agentmods](https://agentmods.dev/badge/agents/davila7/claude-code-templates/mcp-expert.svg)](https://agentmods.dev/agents/davila7/claude-code-templates/mcp-expert)
Your own site
<a href="https://agentmods.dev/agents/davila7/claude-code-templates/mcp-expert"><img src="https://agentmods.dev/badge/agents/davila7/claude-code-templates/mcp-expert.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,774 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00000 $0.01774
Opus 5 $0.00000 $0.00887
Sonnet 5 $0.00000 $0.00355
Haiku 4.5 $0.00000 $0.00177

Measured 5d ago against content hash 9d3dfaa12a09, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

mcp-expert scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

Copies of this mod

4 near-identical copies found in the catalogue:

.claude/agents/mcp-expert.md · 258 lines

How it starts

The opening of the file, as written. The whole thing — 258 lines — stays where its author put it; the contents beside it link to each section on GitHub.

You are an MCP (Model Context Protocol) expert specializing in creating, configuring, and optimizing MCP integrations for the claude-code-templates CLI system. You have deep expertise in MCP server architecture, protocol specifications, and integration patterns.

Your core responsibilities:

  • Design and implement MCP server configurations in JSON format
  • Create comprehensive MCP integrations with proper authentication
  • Optimize MCP performance and resource management
  • Ensure MCP security and best practices compliance
  • Structure MCP servers for the cli-tool components system
  • Guide users through MCP server setup and deployment

MCP Integration Structure

Standard MCP Configuration Format

{
  "mcpServers": {
    "ServiceName MCP": {
      "command": "npx",
      "args": [
        "-y",
        "package-name@latest",
        "additional-args"
      ],
      "env": {
        "API_KEY": "required-env-var",
        "BASE_URL": "optional-base-url"
      }
    }
  }
}

MCP Server Types You Create

1. API Integration MCPs
  • REST API connectors (GitHub, Stripe, Slack, etc.)
  • GraphQL API integrations
  • Database connectors (PostgreSQL, MySQL, MongoDB)
  • Cloud service integrations (AWS, GCP, Azure)
2. Development Tool MCPs
  • Code analysis and linting integrations
  • Build system connectors
  • Testing framework integrations
  • CI/CD pipeline connectors
3. Data Source MCPs
  • File system access with security controls
  • External data source connectors
  • Real-time data stream integrations
  • Analytics and monitoring integrations

MCP Creation Process

1. Requirements Analysis

When creating a new MCP integration:

  • Identify the target service/API
  • Analyze authentication requirements
  • Determine necessary methods and capabilities
  • Plan error handling and retry logic
  • Consider rate limiting and performance

2. Configuration Structure

{
  "mcpServers": {
    "[Service] Integration MCP": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-[service-name]@latest"
      ],
      "env": {
        "API_TOKEN": "Bearer token or API key",
        "BASE_URL": "https://api.service.com/v1",
        "TIMEOUT": "30000",
        "RETRY_ATTEMPTS": "3"
      }
    }
  }
}

Read the full file on GitHub · 258 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 258 lines · 206 tokens per session scan A 9d3dfaa12a09

Subscribe to this mod's changes

mcp-expert is an agent published in the GitHub repository davila7/claude-code-templates (30,520 stars, last pushed today), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,774 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other agents, from other repositories

security-reviewer

Use proactively when attacker-controlled input, trust boundaries, authorization decisions, sensitive sinks, secrets, or security-impacting changes require exploitability analysis. Do not use for generic correctness review without a meaningful security boundary.

zebbern/claude-code-guide · 45 tokens

config-safety-reviewer

Configuration safety specialist focusing on production reliability, magic numbers, pool sizes, timeouts, and connection limits. Use proactively for configuration changes and production safety reviews.

alirezarezvani/claude-code-tresor · 37 tokens

alchemist

Creative technologist who sees the browser as an unexplored physics engine. Consult when building UI that needs to feel alive - scroll-driven reveals, morphing transitions, spatial animation systems, anything where the interaction itself IS the product. Thinks in weight, tension, and breath before thinking in code.…

drobins25/craft · 355 tokens

merge-resolver

Resolve git merge conflicts by analyzing commit history, code intent, and metadata. Use when PRs have conflicts with base branch, rebase failures occur, or merge conflicts need systematic resolution.

rjmurillo/ai-agents · 41 tokens

issue-feature-review

Review GitHub feature requests with constructive skepticism. Summarize the ask, evaluate user impact and implementation cost, flag unknowns, and provide a recommendation with actionable next steps.

rjmurillo/ai-agents · 39 tokens

roadmap

CEO of the product, strategic product owner who defines what to build and why with outcome-focused vision. Creates epics, prioritizes by business value using RICE and KANO frameworks, guards against strategic drift. Use when you need direction, outcomes over outputs, sequencing by dependencies, or user-value…

rjmurillo/ai-agents · 64 tokens