Mcporter Skill: Manage and Invoke MCP Servers and Tools via CLI

Introduction

Integrating MCP into Agents typically involves configuring servers one by one in an IDE or client, waiting for the GUI to refresh the tool list, and then invoking tools indirectly through dialogue. When troubleshooting tool availability, modifying authentication, or temporarily starting a stdio service, there is often a lack of a scriptable and reproducible command-line entry point.

The following introduces Mcporter on SkillHub (Coordinate: @clawhub_steipete/mcporter): It embeds the CLI capabilities of mcporter into an Agent Skill, allowing models to list, configure, authenticate, and directly invoke MCP servers and tools according to documentation during conversations, covering both HTTP and stdio transport methods.

What is this

Mcporter is a Skill designed for development and programming scenarios (SkillHub Category: dev-programming), version 1.0.0. It originates from clawhub, is published by steipete, and the upstream page is on ClawHub. The SkillHub mirror page is: Mcporter @ SkillHub.

In one sentence: It interacts directly with MCP via the mcporter CLI—listing services and tools, modifying configurations, performing OAuth, and invoking tools. It also supports ad-hoc servers, daemons, and CLI/TypeScript code generation. The tags indicate requires_api_key=false, meaning the Skill itself does not enforce an additional API Key (though specific MCP services may still have their own authentication requirements).

The maintainer is listed as Peter Steinberger (@steipete) on the upstream ClawHub.

Core Features

The following capabilities are derived from the upstream Skill description, categorized by usage:

  1. Discovery & Inspection: List configured MCP servers and tools, with the option to view structures including schemas.
  2. Tool Invocation: Supports various selector syntaxes (server.tool, functional parameters, full HTTP URLs, stdio subprocesses), as well as JSON argument bodies.
  3. Authentication & Configuration: OAuth flows; list/get/add/remove/import operations for mcporter.json, as well as login/logout.
  4. Daemon Management: Start, check status, stop, and restart the mcporter daemon.
  5. Code Generation: Generate CLIs from specified servers or commands; inspect generation results; output TypeScript in client/types modes.

The transport layer explicitly supports HTTP and stdio; the documentation also mentions operations targeting ad-hoc servers, which is suitable for locally debugging processes not written into long-term configurations.

Installation & Activation

SkillHub

  • Page: https://www.skillhub.cn/skills/clawhub_steipete/mcporter
  • Coordinate: @clawhub_steipete/mcporter
  • Official Aggregation Entry: https://api.skillhub.cn/zcwl/mcporter

In SkillHub or the Agent product you are using, simply reference the above coordinate via the “Install Skill from Coordinate” process provided by the platform (specific menu names vary by product; refer to the current SkillHub page for details).

Upstream ClawHub / OpenClaw

The installation example provided upstream is:

openclaw skills install @steipete/mcporter

After installing the Skill, the local machine must still be able to execute the mcporter command (the CLI is provided by the mcporter project, while the Skill teaches the Agent how to correctly use these commands). The default configuration file path is ./config/mcporter.json, which can be overridden using --config.

Cursor, Codex CLI, Claude Code, etc., have different installation paths and activation switches for Skills; this article only records the SkillHub coordinate and the upstream openclaw example. Please refer to the documentation of each product for specific in-product steps.

Typical Usage

First, confirm the environment: ensure mcporter runs in the terminal and the Skill is enabled in your Agent. Then, proceed with the following operations (examples are from upstream documentation).

Quick Overview

mcporter list
mcporter list --schema
mcporter call <server.tool> key=value

Various Ways to Call Tools

mcporter call linear.list_issues team=ENG limit:5
mcporter call "linear.create_issue(title: \"Bug\")"
mcporter call https://api.example.com/mcp.fetch url:https://example.com
mcporter call --stdio "bun run ./server.ts" scrape url=https://example.com
mcporter call <server.tool> --args '{"limit":5}'

Authentication & Configuration

mcporter auth
mcporter auth --reset
mcporter config list
mcporter config get
mcporter config add
mcporter config remove
mcporter config import
mcporter config login
mcporter config logout

Daemon Management

mcporter daemon start
mcporter daemon status
mcporter daemon stop
mcporter daemon restart

Code Generation & Inspection

mcporter generate-cli --server <name>
mcporter generate-cli --command <cmd>
mcporter inspect-cli
mcporter inspect-cli --json
mcporter emit-ts --mode client
mcporter emit-ts --mode types

When scripting or parsing for Agents is required, upstream suggests prioritizing --output json to obtain machine-readable results.

Through the steps above, you can verify tools, batch modify configurations, or integrate with CI using the same set of commands without touching the IDE’s MCP panel.

Use Cases & Notes

Who is it for

  • Those who need to directly invoke MCP tools in terminals or automation pipelines, rather than just indirectly through chat.
  • Developers maintaining both HTTP remote MCP and local stdio services (e.g., bun run ./server.ts).
  • Teams wishing to generate CLIs or TypeScript types/clients from existing MCP services to reduce handwritten glue code.

Limitations & Precautions

  • The Skill teaches the usage of the mcporter CLI; if mcporter is not installed locally, installing the Skill alone cannot execute commands.
  • OAuth and config subcommands modify local configurations and login states. On shared machines or in CI, use a separate --config path to avoid overwriting personal environments.
  • The stdio example depends on your local runtime (such as bun in the documentation); the server path and tool names in the commands must match your actual MCP implementation.
  • SkillHub statistics (ratings, downloads, install counts) change over time; at the time of writing, the page showed high ratings and tens of thousands of downloads. Please refer to the SkillHub Skill Page for real-time data.

Conclusion

The Mcporter Skill consolidates MCP “listing, configuration, authentication, and invocation” into a single mcporter CLI. It covers configuration editing, daemon management, and code generation, making it suitable for integrating MCP into daily development and automation. To install or view instructions, you can access it via the SkillHub coordinate @clawhub_steipete/mcporter or the upstream https://clawhub.ai/steipete/mcporter.

羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye