mcpField
M
mcporter

mcporter

github.com/openclawAgent workflows393.3k6.3k installsUpdated today
Repository

About mcporter

mcporter is a CLI skill for inspecting and calling MCP servers, managing their configuration and authentication, and generating client interfaces and types.

Key features

  1. 01List servers and inspect tool schemas
  2. 02Call tools over configured or direct connections
  3. 03Manage OAuth and server configuration
  4. 04Control the MCP daemon
  5. 05Generate CLI interfaces and TypeScript output

Use cases

  1. 01Inspect available MCP server tools
  2. 02Call an MCP tool from the command line
  3. 03Manage server authentication and configuration
  4. 04Generate a CLI or TypeScript client

MCP support

mcporter connects to MCP servers and lets users list tools, inspect schemas, and invoke tools. It also manages server configuration and authentication.

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/openclaw/openclaw --skill mcporter

After installing, type/mcporterin Claude Code to confirm it loaded.

Details

From the project README

mcporter

Use mcporter to work with MCP servers directly.

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

  • Config default: ./config/mcporter.json (override with --config).
  • Prefer --output json for machine-readable results.

Comments

Markdown supported