MCP Server Setup

MCP Server Setup is a skill for Claude Code, Codex from lukacf/meerkat. It costs 18 tokens per session (506 once invoked), scanned A, original, Apache-2.0.

Instructions for configuring MCP servers in Meerkat, including local programs and network services that provide tools to an agent. MCP is a standard way for an agent to discover and call external tools.

In plain words
What is it for?
Use it to add, inspect, log in to, remove, or reload MCP servers, and to understand project-level versus user-level configuration.
Why use it?
It explains where server settings belong, which connection type to choose, how authentication works, and when changes become active. This avoids configuration mistakes and accidental exposure of access tokens.

Skill for Claude CodeCodex

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 skills/lukacf/meerkat/mcp-server-setup
Any agent
npx skills add lukacf/meerkat --skill mcp-server-setup
Clone the repo
git clone --depth 1 https://github.com/lukacf/meerkat

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 MCP Server Setup

README.md
[![agentmods](https://agentmods.dev/badge/skills/lukacf/meerkat/mcp-server-setup.svg)](https://agentmods.dev/skills/lukacf/meerkat/mcp-server-setup)
Your own site
<a href="https://agentmods.dev/skills/lukacf/meerkat/mcp-server-setup"><img src="https://agentmods.dev/badge/skills/lukacf/meerkat/mcp-server-setup.svg" alt="Measured on agentmods" height="20"></a>
Per session 18 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 506 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.00018 $0.00506
Opus 5 $0.00009 $0.00253
Sonnet 5 $0.00004 $0.00101
Haiku 4.5 $0.00002 $0.00051

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

Security

Grade A, and why

MCP Server Setup 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.

meerkat-mcp/skills/mcp-server-setup/SKILL.md · 58 lines

What it actually says

MCP Server Setup

Use MCP when an external server should provide tools to Meerkat. MCP server configuration controls tool discovery and transport; it does not move semantic ownership away from the server or Meerkat runtime.

Operating Rules

  • Use rkat mcp add to register servers in project or user config. Project is the default scope; --scope local is an alias for project.
  • Use stdio for local command-backed servers, streamable HTTP for modern network servers, and SSE only for legacy servers that require it.
  • Use rkat mcp list and rkat mcp get to inspect configured servers.
  • Use rkat mcp login <name> for OAuth-protected HTTP servers. Do not paste bearer tokens into prompts or command arguments.
  • Project configuration wins when the same server name exists in both scopes. Specify --scope when removing an ambiguous name.
  • Start or resume a session to load configured MCP tools into the agent.
  • For live session mutation, use JSON-RPC mcp/add, mcp/remove, and mcp/reload, or the REST /sessions/{id}/mcp/* routes. Mutations are staged and take effect at a turn boundary; editing config does not mutate an active session mid-turn.
  • Keep durable work state in WorkGraph and time-based wakeups in Schedule. MCP tools are actuators or external integrations.

Examples

rkat mcp add files -- npx -y @modelcontextprotocol/server-filesystem .
rkat mcp add issue-api --url https://mcp.example.com
rkat mcp login issue-api
rkat mcp list

Configuration Format

[[servers]]
name = "local-tools"
command = "path/to/server"
args = ["--flag", "value"]
env = { KEY = "value" }

[[servers]]
name = "issue-api"
url = "https://mcp.example.com"
connect_timeout_secs = 10

Project config lives at <context-root>/.rkat/mcp.toml; user config lives at ~/.rkat/mcp.toml. Prefer the CLI because it preserves unrelated TOML content and coordinates concurrent mutations.

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 · 58 lines · 18 tokens per session scan A 19de03d8606a

Subscribe to this mod's changes

MCP Server Setup is a skill published in the GitHub repository lukacf/meerkat (20 stars, last pushed today), licensed Apache-2.0. It adds 18 tokens to every session and 506 once invoked, about $0.0001 per session on Opus 5. 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.