Mcporter

Use the mcporter CLI to list, configure, auth, and call MCP servers/tools directly (HTTP or stdio), including ad-hoc servers, config edits, and CLI/type generation.

Peter Steinberger

@steipete

What This Skill Does

Command-line interface for interacting with MCP (Model Context Protocol) servers. Supports listing, configuring, authenticating, and calling MCP tools over HTTP or stdio, with features for ad-hoc server connections, config editing, and CLI/type generation.

Replaces manually crafting HTTP requests or writing custom scripts to interact with MCP servers by providing a unified CLI with selector, function, and JSON payload syntax.

When to Use It

  • List available tools on an MCP server
  • Call an MCP tool with key=value arguments from the command line
  • Authenticate with an MCP server using OAuth
  • Generate a dedicated CLI for a specific MCP server
  • Inspect the schema of a server's tools before calling them
  • Start a daemon to keep MCP server connections alive

Install

$ openclaw skills install @steipete/mcporter

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.

Top skills in this category