mcporter
steipete/clawdis
List, configure, and call MCP servers/tools via HTTP or stdio with mcporter.
What is mcporter?
mcporter is a CLI tool for discovering, authenticating with, and invoking MCP (Model Context Protocol) servers and their tools. Use it to integrate external services and APIs into your agent workflows, with support for OAuth, configuration management, and both HTTP and stdio transports.
- List available MCP servers and their tools with schema inspection
- Call MCP tools using selector, function, or JSON syntax
- Authenticate with OAuth and manage server credentials
- Configure and persist MCP server connections
- Run MCP servers over stdio or HTTP transports
- Generate CLI wrappers and TypeScript client code from MCP servers
How to install mcporter
npx skills add https://github.com/steipete/clawdis --skill mcporter- Node.js installed
- mcporter CLI tool installed (via `npm install -g mcporter` or the provided installer)
How to use mcporter
- 1.Run `mcporter list` to discover available MCP servers
- 2.Run `mcporter list <server> --schema` to inspect tools and their parameters
- 3.Authenticate with `mcporter auth <server>` if OAuth is required
- 4.Call a tool using `mcporter call <server.tool> key=value` with your parameters
- 5.Use `--output json` for machine-readable results in agent scripts
- 6.Optionally start `mcporter daemon` for persistent server connections
Use cases
- Integrate third-party APIs (e.g., Linear, Slack) into agent workflows by calling their MCP tools
- Discover available tools on an MCP server before building agent logic
- Set up OAuth authentication for services requiring user credentials
- Generate type-safe TypeScript clients from MCP server schemas
- Run custom MCP servers over stdio for local development and testing
- Developers building agents that need external tool integrations
- Teams using MCP servers for API access and automation
- Engineers setting up authentication flows for third-party services
- Developers generating client code from MCP server definitions
mcporter FAQ
mcporter supports both HTTP and stdio transports. Use `--stdio` flag with a command to run servers over stdio, or call HTTP-based servers directly via URL.
Run `mcporter auth <server>` to initiate OAuth flow. Use `--reset` to clear existing credentials. Config is stored in `./config/mcporter.json` by default.
Yes. Use `mcporter generate-cli --server <name>` to create CLI wrappers or `mcporter emit-ts <server>` to generate TypeScript client code.
Use `--args` with a JSON payload: `mcporter call <server.tool> --args '{"limit":5}'`, or use function syntax: `mcporter call "server.tool(param: value)"`
Config defaults to `./config/mcporter.json`. Override with `--config <path>` flag on any command.
Full instructions (SKILL.md)
Source of truth, from steipete/clawdis.
name: mcporter description: "List, configure, authenticate, call, and inspect MCP servers/tools with mcporter over HTTP or stdio." homepage: http://mcporter.dev metadata: { "openclaw": { "emoji": "📦", "requires": { "bins": ["mcporter"] }, "install": [ { "id": "node", "kind": "node", "package": "mcporter", "bins": ["mcporter"], "label": "Install mcporter (node)", }, ], }, }
mcporter
Use mcporter to work with MCP servers directly.
Quick start
mcporter listmcporter list <server> --schemamcporter 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 jsonfor machine-readable results.
Related skills
More from steipete/clawdis and the wider catalog.

model-usage
Summarize CodexBar local cost logs by model for Codex or Claude usage tracking.

nano-pdf
Edit PDFs with natural-language instructions via CLI.

notion
Notion CLI/API for pages, Markdown content, data sources, files, comments, search, Workers, and raw API calls.

obsidian
Work with Obsidian vaults via official CLI: read, search, create, edit notes, tasks, links, and properties.

openai-whisper
Local speech-to-text transcription using OpenAI's Whisper CLI—no API key required.

openai-whisper-api
Transcribe audio files using OpenAI's Whisper API and newer gpt-4o models via curl.