mcporter

List, configure, authenticate, and call MCP servers and tools via the mcporter CLI.

Updated Jun 7, 2026
One-click install
npx skills add https://github.com/Chensihakniroth/ANAKOT-AGENT --skill mcporter-chensihakniroth
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: mcporter
Source: https://github.com/Chensihakniroth/ANAKOT-AGENT/tree/main/optional-skills/mcp/mcporter
Command: npx skills add https://github.com/Chensihakniroth/ANAKOT-AGENT --skill mcporter-chensihakniroth

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires mcporter.

What problem does it solve? Interacting with MCP (Model Context Protocol) servers normally requires writing client code or configuring a full MCP host application. This Skill lets you discover, authenticate, and invoke MCP tools directly from the terminal, including ad-hoc servers that have no prior configuration. ## Core Features & Use Cases - Server Discovery & Listing: Auto-detect MCP servers already configured by other clients (Claude Desktop, Cursor) and inspect their tools with full schema details. - Direct Tool Invocation: Call any MCP tool using key=value, function, or JSON argument syntax over HTTP or stdio transports, with machine-readable JSON output. - Auth, Config & Code Generation: Handle OAuth logins, manage server configs, run a persistent daemon, and generate CLI wrappers or TypeScript clients for MCP servers. - Use Case: You find a Linear MCP server on a registry. Connect ad-hoc with its URL, list its tools, authenticate via OAuth, and call linear.list_issues to pull your team's open tickets into a script. ## Quick Start Use the mcporter skill to list the MCP servers configured on this machine and show the available tools for one of them.

Frequently Asked Questions about mcporter

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I call an MCP server tool from the command line?▼

Use mcporter call with the server and tool name, passing arguments as key=value pairs, function syntax, or a JSON payload via --args. Add --output json for structured, machine-readable results.

How to use an MCP server without adding it to a config file?▼

mcporter supports ad-hoc connections: pass --http-url with a server URL or --stdio with a launch command, plus --name to label it. This works for both listing tools and making one-off calls.

Does mcporter require installation or Node.js?▼

mcporter requires Node.js but no installation is needed since it runs via npx mcporter. You can optionally install it globally with npm install -g mcporter for repeated use.

Can mcporter use MCP servers configured in Claude Desktop or Cursor?▼

Yes, mcporter auto-discovers servers already configured by other MCP clients such as Claude Desktop and Cursor. Running mcporter list shows these servers without any additional setup.

How do I authenticate with an MCP server that requires OAuth?▼

Run mcporter auth followed by the server name or URL to start the OAuth login flow. Since it may open an interactive browser flow, run it in a PTY terminal session when using an agent.

Can mcporter generate a TypeScript client for an MCP server?▼

Yes, mcporter emit-ts generates TypeScript types or a full client for a given server using --mode types or --mode client. It can also generate standalone CLI wrappers via mcporter generate-cli.