mcporter

mcporter is a skill for Claude Code, Codex from trpc-group/trpc-agent-go. It costs 51 tokens per session (1,008 once invoked), scanned A, original, Apache-2.0.

A command-line utility for finding, configuring, authenticating, and calling MCP servers and tools. MCP is a standard way for an AI agent to connect to external tools.

In plain words
What is it for?
Listing available servers and tools, setting up connections, signing in, calling tools, editing configurations, and generating related command or type files.
Why use it?
It provides a repeatable command path for using tool servers directly and for keeping those connections available for later work.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for openclaw. Also seen: built for openclaw.

About the project

tRPC-Agent-Go is a Go framework for building AI agent applications with language models, graph-based workflows, tools, memory, retrieval, evaluation, and observability. Go developers use it to create deployable agent systems that can integrate with A2A, AG-UI, and MCP. The catalogue add-ons provide reusable workflows and agent integrations for the framework.

trpc-group/trpc-agent-go · 1,763 stars · on GitHub · trpc-group.github.io

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/trpc-group/trpc-agent-go/mcporter
Any agent
npx skills add trpc-group/trpc-agent-go --skill mcporter
Clone the repo
git clone --depth 1 https://github.com/trpc-group/trpc-agent-go

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 mcporter

README.md
[![agentmods](https://agentmods.dev/badge/skills/trpc-group/trpc-agent-go/mcporter.svg)](https://agentmods.dev/skills/trpc-group/trpc-agent-go/mcporter)
Your own site
<a href="https://agentmods.dev/skills/trpc-group/trpc-agent-go/mcporter"><img src="https://agentmods.dev/badge/skills/trpc-group/trpc-agent-go/mcporter.svg" alt="Measured on agentmods" height="20"></a>
Per session 51 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,008 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.1 $0.00051 $0.01008
Opus 5 $0.00026 $0.00504
Sonnet 5 $0.00010 $0.00202
Haiku 4.5 $0.00005 $0.00101

Measured 7d ago against content hash 9fb515b202fc, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

mcporter 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 7d 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.

openclaw/skills/mcporter/SKILL.md · 112 lines

What it actually says

mcporter

Use mcporter to work with MCP servers directly.

In OpenClaw, treat mcporter as the execution substrate for MCP-backed skills. When a user wants to keep an MCP capability for future work, prefer creating or updating a skill that describes when to use the capability and stores the repeatable mcporter command path. Do not create a separate runtime registry when a skill can carry the durable behavior.

Skill-first MCP shape

  • SKILL.md: triggers, workflow, constraints, examples, and recovery steps.
  • mcp.json: mcporter-native server config when the skill needs a dedicated server definition.
  • references/: schemas, API notes, or longer operation guides.
  • scripts/: wrappers for fragile multi-step calls or post-processing.

Credential handling

  • Keep shared, bundled, published, or repo-tracked skills free of raw secrets. Reference environment variables, token helper commands, OAuth login state, runtime config, or platform-managed credentials instead.
  • If the user explicitly provides a complete private MCP config or a credential-bearing endpoint and asks to keep or use it, save it in a local private config file such as skill-local mcp.json in a writable user-managed skill root, or a dedicated user-managed private mcporter config file. Keep it non-shared and excluded from source control and packaging. Set file permissions to 0600 when possible. Do not ask the user to re-enter the same value as an environment variable, and do not edit shell startup or trusted env files just to persist it. Do not echo the secret value back in CLI output, logs, or errors; redact or omit token and secret fields from displayed tool results.
  • For bot-global OpenClaw MCP capabilities, prefer a local skill plus skill-local mcp.json. Use mcporter --config path/to/skill/mcp.json ... as the durable command path. Treat ~/.mcporter/mcporter.json as an interoperability copy when useful, not as the capability boundary. The credential-bearing source of truth for a durable skill run is the explicit --config file you pass.

For a durable MCP skill, first inspect the server schema:

mcporter --config path/to/skill/mcp.json list <server> --schema --output json

Then call the selected tool with explicit arguments:

mcporter --config path/to/skill/mcp.json call <server.tool> key=value

Quick start

  • mcporter list
  • mcporter list <server> --schema
  • mcporter call <server.tool> key=value

Call tools

  • Selector: mcporter call linear.list_issues team=ENG limit:5
  • Function syntax: mcporter call "linear.create_issue(title: \"Bug\")"
  • Full URL: mcporter call https://api.example.com/mcp.fetch url:https://example.com
  • Stdio: mcporter call --stdio "bun run ./server.ts" scrape url=https://example.com
  • JSON payload: mcporter call <server.tool> --args '{"limit":5}'

Auth + config

  • OAuth: mcporter auth <server | url> [--reset]
  • Config: mcporter config list|get|add|remove|import|login|logout

Daemon

  • mcporter daemon start|status|stop|restart

Codegen

  • CLI: mcporter generate-cli --server <name> or --command <url>
  • Inspect: mcporter inspect-cli <path> [--json]
  • TS: mcporter emit-ts <server> --mode client|types

Notes

  • Prefer explicit --config for skills. mcporter can also use its default project or user config paths for local ad-hoc CLI work, but shared or packaged skills and automation should always pass an explicit --config.
  • Prefer --output json for machine-readable results.
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. 7d ago First seen · 112 lines · 51 tokens per session scan A 9fb515b202fc

Subscribe to this mod's changes

mcporter is a skill published in the GitHub repository trpc-group/trpc-agent-go (1,763 stars, last pushed yesterday), licensed Apache-2.0. It adds 51 tokens to every session and 1,008 once invoked, about $0.0003 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.