native-mcp

native-mcp is a skill for Claude Code, Codex from graniet/kheish. It costs 50 tokens per session (3,137 once invoked), scanned A, a copy of native-mcp, Apache-2.0.

A built-in client for connecting a coding agent to MCP servers. MCP is a standard way for an AI tool to discover and use capabilities provided by other programs or services.

In plain words
What is it for?
Use it to connect local or remote MCP servers, discover their tools, and make those tools available in agent sessions.
Why use it?
It lets the agent access external tools such as files, GitHub, databases, and APIs through one connection system, with automatic reconnection and security filtering.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Not installable: its command points at a path on the author’s own machine, so it runs nowhere else. The line is /home/user/projects.

Good fit Use it to connect local or remote MCP servers, discover their tools, and make those tools available in agent sessions.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

There is no command for this one: it runs only inside a plugin, and the catalogue could not identify which plugin ships it. The source is linked below.

Made for: Claude Code, Codex.

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 native-mcp

README.md
[![agentmods](https://agentmods.dev/badge/skills/graniet/kheish/native-mcp/github.svg)](https://agentmods.dev/skills/graniet/kheish/native-mcp)
Your own site
<a href="https://agentmods.dev/skills/graniet/kheish/native-mcp"><img src="https://agentmods.dev/badge/skills/graniet/kheish/native-mcp/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for native-mcp

Your own site · 80×15
<a href="https://agentmods.dev/skills/graniet/kheish/native-mcp"><img src="https://agentmods.dev/badge/skills/graniet/kheish/native-mcp.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 50 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,137 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 83% copy Near-identical to another mod 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.1 $0.00050 $0.03137
Opus 5.5 $0.00020 $0.01255
Sonnet 5.5 $0.00010 $0.00627
Haiku 4.5 $0.00005 $0.00314

Measured 3mo ago against content hash 28213ffea251, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

native-mcp 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 3mo 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

This is a copy

83% identical to native-mcp — 103 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

skills/mcp/native-mcp/SKILL.md · 388 lines

How it starts

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

Kheish Compatibility

This skill is repo-local and stays inactive until explicitly activated.

When the original instructions refer to legacy tool names, use these Kheish mappings:

  • terminal => bash
  • web_extract => web_fetch, plus web_search when discovery is needed
  • search_files => grep_search and glob_search
  • browser_* tools require a browser-capable surfaced tool or MCP; if none is available, use the closest available surface and say so explicitly

When the instructions mention local helper files, resolve them from ${KHEISH_SKILL_DIR}.

Native MCP Client

Kheish has a built-in MCP client in the daemon. It connects to MCP servers at daemon startup, discovers their tools, and surfaces them as first-class runtime tools when the current session is allowed to see them.

When to Use

Use this whenever you want to:

  • Connect to MCP servers and use their tools from within Kheish
  • Add external capabilities (filesystem access, GitHub, databases, APIs) via MCP
  • Run local stdio-based MCP servers (npx, uvx, or any command)
  • Connect to remote HTTP/StreamableHTTP MCP servers
  • Have MCP tools discovered by the daemon and exposed to sessions that are allowed to use them

For ad-hoc, one-off MCP tool calls from the terminal without configuring anything, see the mcporter skill instead.

Prerequisites

  • mcp Python package -- optional dependency; install with pip install mcp. If not installed, MCP support is silently disabled.
  • Node.js -- required for npx-based MCP servers (most community servers)
  • uv -- required for uvx-based MCP servers (Python-based servers)

Install the MCP SDK:

pip install mcp
# or, if using uv:
uv pip install mcp

Quick Start

Create an MCP config file for the daemon:

[mcp_servers.time]
command = "uvx"
args = ["mcp-server-time"]

Start the daemon with that config:

kheish-daemon serve --mcp-config ./mcp-config.toml

On startup the daemon will:

  1. Connect to the server
  2. Discover available tools
  3. Register them with the prefix mcp__time__*
  4. Expose them to sessions whose effective capability scope allows them

Read the full file on GitHub · 388 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. 3mo ago First seen · 388 lines · 50 tokens per session scan A 28213ffea251

Subscribe to this mod's changes

native-mcp is a skill published in the GitHub repository graniet/kheish (209 stars, last pushed 23d ago), licensed Apache-2.0. It adds 50 tokens to every session and 3,137 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 83% identical to native-mcp, differing in 103 lines, and is treated as a copy.

Related

native-mcp compared with skills from other repositories

native-mcp next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
native-mcpgraniet/kheishSkill20923d agoApache-2.0A50Claude Code, Codex
agent-builderchandrudp29/skillhubSkill145mo agoMITA42Claude Code, Codex
html-artifactslangchain-ai/open-sweSkill11ktodayMITA52Claude Code, Codex
baby-sitlangchain-ai/open-sweSkill11ktodayMITA30Claude Code, Codex
merge-queue-recoverylangchain-ai/open-sweSkill11ktodayMITA31Claude Code, Codex
linear-ticketslangchain-ai/open-sweSkill11ktodayMITA44Claude Code, Codex
browsershibing624/agenticaSkill368yesterdayApache-2.0A71Claude Code, Codex