Skip to content
Agent Orchestration
Skill

/native-mcp

MCP server integration in Claude Code — add servers to .mcp.json, configure transports, and use their tools natively.

BOOST
From plugin
hermes-ccc
13446 skills
Install
$ npx -y skills add alexai-mcp/hermes-ccc --skill native-mcp --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/native-mcp

Context preview

The summary Claude sees to decide when to auto-load this skill.

MCP server integration in Claude Code — add servers to .mcp.json, configure transports, and use their tools natively.

SKILL.md

native-mcp.SKILL.md
name: native-mcp
description: MCP server integration in Claude Code — add servers to .mcp.json, configure transports, and use their tools natively.
version: 1.0.0
author: hermes-CCC (ported from Hermes Agent by NousResearch)
license: MIT
metadata:
  hermes:
    tags: [MCP, Tools, Integrations, Configuration, Claude-Code]
    related_skills: [mcporter]

Native MCP Integration

Connect MCP servers to Claude Code and use their tools as first-class native tools.

How It Works

1. Add server config to `.mcp.json` in your project root 2. Restart Claude Code 3. The server's tools appear as native tools Claude can call directly

---

.mcp.json Schema

{
  "mcpServers": {
    "server-name": {
      "command": "python",
      "args": ["path/to/server.py"],
      "env": {
        "API_KEY": "secret"
      }
    }
  }
}

---

Transport Types

stdio (default — for local processes)

{
  "mcpServers": {
    "my-server": {
      "command": "python",
      "args": ["server.py"]
    }
  }
}

HTTP/SSE (for remote or HTTP servers)

{
  "mcpServers": {
    "remote-server": {
      "url": "http://localhost:8080/sse"
    }
  }
}

---

Common MCP Servers

Filesystem

{
  "mcpServers": {
    "filesystem": {
      "command": "npx",
      "args": ["-y", "@modelcontextprotocol/server-filesystem", "/path/to/dir"]
    }
  }
}

Git

{
  "mcpServers": {
    "git": {
      "command": "uvx",
      "args": ["mcp-server-git", "--repository", "."]
    }
  }
}

GitHub

{
  "mcpServers": {
    "github": {
      "command": "npx",
      "args": ["-y", "@modelcontextprotocol/server-github"],
      "env": {"GITHUB_PERSONAL_ACCESS_TOKEN": "ghp_..."}
    }
  }
}

Obsidian

{
  "mcpServers": {
    "obsidian": {
      "command": "npx",
      "args": ["-y", "mcp-obsidian"],
      "env": {"OBSIDIAN_VAULT_PATH": "/path/to/vault"}
    }
  }
}

Playwright (Browser Automation)

{
  "mcpServers": {
    "playwright": {
      "command": "npx",
      "args": ["-y", "@playwright/mcp"]
    }
  }
}

Notion

{
  "mcpServers": {
    "notion": {
      "command": "npx",
      "args": ["-y", "@notionhq/mcp"],
      "env": {"NOTION_API_KEY": "secret_..."}
    }
  }
}

SQLite

{
  "mcpServers": {
    "sqlite": {
      "command": "uvx",
      "args": ["mcp-server-sqlite", "--db-path", "./data.db"]
    }
  }
}

---

Prerequisites

npx servers (Node.js)

node --version   # must be 18+
npm --version

uvx servers (Python)

pip install uv
uvx --version

Python servers

pip install fastmcp mcp

---

After Adding a Server

1. Save `.mcp.json` 2. Restart Claude Code (or reload window in IDE extension) 3. Tools from the server now appear in Claude's tool list 4. Test: ask Claude to use one of the new tools

---

Debugging

Check Claude Code MCP logs:

  • Mac/Linux: `~/.claude/logs/`
  • Windows: `%APPDATA%\Claude\logs\`

Common issues:

  • `command not found`: install npx/uvx or use full path
  • Auth errors: check `env` section for API keys
  • Timeout: server took too long to start

---

Security Best Practices

Never hardcode secrets in `.mcp.json` — use env vars from shell:

{
  "mcpServers": {
    "my-api": {
      "command": "python",
      "args": ["server.py"],
      "env": {
        "API_KEY": "${MY_API_KEY}"
      }
    }
  }
}

Or set in `.env` and load via direnv / shell profile.

---

Multiple Servers

{
  "mcpServers": {
    "filesystem": {...},
    "github": {...},
    "obsidian": {...},
    "playwright": {...},
    "custom-api": {...}
  }
}

All tools from all servers are available simultaneously.

Read more
Ships withhermes-ccc

Hermes Agent, faithfully ported to Claude Code Channel (CCC). hermes-CCC brings the power of Hermes Agent by NousResearch into Claude Code's native skill system — no separate process, no OAuth, no lock-in. Everything runs inside Claude Code.

Get the whole plugin

Other skills on hermes-ccc.