Directory Compare FCRS-1.0 /llms.txt
← Back to Directory

mcporter

$ mcporter Community Med Risk
OpenClaw / Peter Steinberger · Agent Bridges & Meta · MIT · macos / linux / windows

mcporter (openclaw/mcporter) bridges Model Context Protocol servers into shell-native workflows. Agents can discover tools with --brief/--schema, invoke tools ad-hoc via --stdio or --http-url with --json, or compile standalone CLIs and TypeScript clients (generate-cli, emit-ts).

FCRS-1.0 Score
87 /100
Good
Medium Confidence
Zero-Friction Install
npm install -g mcporter
CLI vs MCP Decision CLI Preferred vs MCP

mcporter eliminates permanent MCP schema token bloat by letting agents call MCP tools on demand from bash with --brief and --json.

Agent-Readiness Checklist

✓ JSON Output
— Field Filtering
✓ Non-Interactive
— Dry-Run
— Read-Only Mode
— NO_COLOR Clean
✓ Self-Describing
— Official SKILL.md

Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.

FCRS-1.0 6-Dimension Breakdown

Agent-Readiness 23 / 25

Purpose-built for AI agents: --json, --output json, --brief, --schema, ad-hoc --stdio/--http-url, and --quiet.

  • Supports --json, --output, --brief, --schema, and ad-hoc --stdio/--http-url
Trust & Safety 20 / 25

Separates read-only list inspection from call execution and scopes configs via --scope project|home, though call inherits server permissions.

  • Read-only list discovery and --scope config isolation
Setup & Portability 14 / 15

Cross-platform Node.js CLI via npx mcporter or global npm install -g mcporter.

  • Zero-install npx mcporter and npm package
Utility & Efficiency 14 / 15

Solves MCP context bloat by turning any MCP server into an on-demand shell CLI or compiled TypeScript wrapper.

  • Bridges MCP servers to shell + generate-cli / emit-ts
Maintenance & Lineage 8 / 10

Active openclaw/mcporter repository under MIT license.

  • Active openclaw/mcporter repo
Docs & Verifiability 8 / 10

Detailed README documenting list, call, config, auth, and generate-cli.

  • Comprehensive README at github.com/openclaw/mcporter

Security, Auth & Guardrails

Auth Modes
No Auth Config File Env API Key OAuth Browser
Credential Storage

Server definitions stored in ./config/mcporter.json or ~/.mcporter/; supports importing Cursor/Claude configs and OAuth token cache.

Side Effects
Read-Only Local Write Remote Write
Cost & Quotas

100% free and MIT open-source.

Copyable Guardrail for CLAUDE.md / AGENTS.md
# mcporter Agent Rules
- Use `mcporter list <server> --brief` first instead of dumping full `--schema` for every server.
- Always pass `--output json` (or `--json`) on `list` and `call`.
- Review generated code before running `mcporter generate-cli` outputs in production.

Agent-Ready Command Recipes

Safe Read-Only Queries

List tools on an ad-hoc stdio MCP server concisely
mcporter list --stdio "npx -y @modelcontextprotocol/server-filesystem ." --brief --json

Connects ad-hoc and prints compact tool signatures in JSON without polluting agent context.

Inspect full parameter schema for a server
mcporter list my-server --schema --json

Retrieves JSON schemas for a named server on demand.

Controlled Writes & Previews

Call an MCP tool and return structured JSON
mcporter call my-server.search query="rate limit" --output json

Executes a single MCP tool call cleanly from the shell and emits JSON.

Strengths for Agents

  • + --brief discovery + --output json slashes MCP context token usage dramatically.
  • + Ad-hoc --stdio and --http-url flags call servers without editing global MCP configs.
  • + generate-cli and emit-ts turn recurring MCP servers into permanent standalone tools.

Caveats & Pitfalls

  • ! mcporter auth browser OAuth flows still require human interaction for OAuth-protected remote servers.

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI