Skip to content
Back to skills

Mcp Server Setup

ASecurity

How to configure MCP servers in .rkat/mcp.toml

  • 21 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 2, 2026
ai-agentsbashapi

Works with

  • cli
  • api
  • mcp

Security analysis

A100/100

Scanned September 2, 2026

npx -y skills add lukacf/meerkat --skill mcp-server-setup --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Mcp Server Setup?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Mcp Server Setup
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/lukacf-mcp-server-setup/badge)](https://www.skillsdirectory.com/skills/lukacf-mcp-server-setup)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: MCP Server Setup
description: How to configure MCP servers in .rkat/mcp.toml
---

# 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

```bash
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

```toml
[[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.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.