Mcporter

From trpc-group/trpc-agent-go · View interactive version

Mcporter is an AI agent skill from the GitHub repository trpc-group/trpc-agent-go. Use the mcporter CLI to list, configure, auth, and call MCP servers/tools directly (HTTP or stdio), including ad-hoc servers, config edits, CLI/type generation, and MCP-backed skills that need a durable command path.

How to use this skill

Skill file

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

server definition.

Credential handling

Reference environment variables, token helper commands, OAuth login state,

runtime config, or platform-managed credentials instead.

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.

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

Call tools

Auth + config

Daemon

Codegen

Notes

project or user config paths for local ad-hoc CLI work, but shared or

packaged skills and automation should always pass an explicit --config.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.