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.
Install via CLI (Recommended)
clawhub install openclaw/openclaw/skills/mcporterWhat This Skill Does
The mcporter skill is a powerful command-line interface (CLI) tool designed to interact directly with MCP (Meta Communications Protocol) servers and tools. It allows users to seamlessly list, configure, authenticate, and call these servers and their associated tools. Whether you're dealing with ad-hoc servers, need to edit configuration files, or generate client code for specific tools, mcporter provides a unified and efficient way to manage your MCP interactions.
Key functionalities include:
- Listing Servers and Tools: Discover available MCP servers and the tools they expose. You can also inspect the schema of a specific tool to understand its input and output.
- Calling Tools: Execute tools on MCP servers using various invocation methods. This includes direct server.tool selectors, function-style syntax, full URLs for remote servers, and even piping data via standard input/output (stdio) for more complex workflows. It supports passing arguments as key-value pairs or structured JSON payloads.
- Authentication and Configuration: Manage authentication credentials for MCP servers, including OAuth support and resetting existing tokens. The skill also offers comprehensive configuration management, allowing you to list, get, add, remove, import, login, and logout from server configurations.
- Daemon Management: Control the
mcporterdaemon for background operations, including starting, checking status, stopping, and restarting. - Code Generation: Generate client CLIs or TypeScript definitions (for clients or types) based on server definitions, significantly speeding up development workflows.
Installation
To install the mcporter skill, use the following command:
clawhub install openclaw/openclaw/skills/mcporter
Use Cases
- API Interaction: Directly interact with APIs exposed through MCP servers, enabling data retrieval, manipulation, and task execution without writing extensive boilerplate code.
- Workflow Automation: Integrate
mcporterinto automated workflows to call specific tools, process data, and manage server configurations. - Development Assistance: Generate client libraries or type definitions for MCP services, accelerating the development of applications that consume these services.
- Configuration Management: Easily manage and switch between different MCP server configurations, particularly useful in environments with multiple development or production instances.
- Ad-hoc Tool Execution: Quickly run specific tools on MCP servers for debugging, testing, or one-off tasks, especially when dealing with custom or locally hosted servers.
Example Prompts
- "List all available tools on the 'linear' MCP server and show the schema for the 'list_issues' tool."
- "Call the 'create_issue' tool on the 'linear' server, setting the title to 'Implement user authentication' and the assignee to 'dev_team'."
- "Configure OAuth for the MCP server at 'https://api.example.com/mcp' and then call the 'fetch_data' tool on that server with the URL 'https://data.example.com'."
Tips & Limitations
- Output Format: For machine-readable output, always use the
--output jsonflag. This is crucial for integratingmcportercalls into scripts or other automated processes. - Configuration File: The default configuration file is located at
./config/mcporter.json. You can override this path using the--configoption if you manage multiple configurations or prefer a different location. - Security: Be mindful of credentials and sensitive data when managing authentication and configuration. Use
--resetwithmcporter authjudiciously. - Tool Discovery: Ensure you know the server name or the full URL of the MCP endpoint you wish to interact with for successful tool calls.
- Error Handling: The CLI provides feedback on errors. For complex integrations, consider capturing and parsing the output to implement robust error handling in your workflows.
- Dependencies: Ensure that the
mcporterCLI itself is correctly installed and that any underlying MCP server tools or dependencies (likebunfor stdio examples) are available in your environment.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-openclaw-mcporter": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: network-access, code-execution, file-read, file-write
Related Skills
sag
ElevenLabs text-to-speech with mac-style say UX.
bear-notes
Create, search, and manage Bear notes via grizzly CLI.
eightctl
Control Eight Sleep pods (status, temperature, alarms, schedules).
goplaces
Query Google Places API (New) via the goplaces CLI for text search, place details, resolve, and reviews. Use for human-friendly place lookup or JSON output for scripts.
xurl
A CLI tool for making authenticated requests to the X (Twitter) API. Use this skill when you need to post tweets, reply, quote, search, read posts, manage followers, send DMs, upload media, or interact with any X API v2 endpoint.