name: mcporter description: Use when you need to access MCP servers without installing them directly in Claude Code. MCPorter provides CLI access to any MCP server via npx, enabling tool discovery, direct calls, and ad-hoc connections. Use for accessing external MCP capabilities like browser automation, API integrations, or any MCP-based tooling.
<command name="List tools from a specific server">
npx mcporter list server_name
</command>
<command name="List tools with full JSON schema">
npx mcporter list server_name --schema
</command>
<command name="Call a tool (colon syntax)">
npx mcporter call server_name.tool_name arg1:value1 arg2:value2
</command>
<command name="Call a tool (function syntax)">
npx mcporter call 'server_name.tool_name(arg1: "value1", arg2: "value2")'
</command>
<command name="Ad-hoc connection to HTTP MCP server">
npx mcporter list --http-url https://mcp-server-url --name custom_name
</command>
<command name="Ad-hoc connection to stdio MCP server">
npx mcporter call --stdio "npx -y some-mcp-server@latest" server.tool_name
</command>
<pattern name="Run MCP server via npx and call tool">
npx mcporter call --stdio "npx -y mcp-server-name@latest" server.tool_name arg:value
</pattern>
<pattern name="Discover tools from npx MCP server">
npx mcporter list --stdio "npx -y mcp-server-name@latest" --name my_server
</pattern>
<pattern name="Connect to remote HTTP MCP endpoint">
npx mcporter call --http-url https://mcp.example.com/mcp server.tool_name
</pattern>
<command name="Generate TypeScript types">
npx mcporter emit-ts server_name --out types/server.d.ts
</command>
<command name="Generate TypeScript client wrapper">
npx mcporter emit-ts server_name --mode client --out clients/server.ts
</command>
<flags>
<flag name="--json">Output as JSON</flag>
<flag name="--output json">Alternative JSON output flag</flag>
</flags>
<server name="firecrawl">
<use_case>Web crawling and scraping</use_case>
</server>
<server name="linear">
<use_case>Linear issue tracking integration</use_case>
</server>
<issue name="Timeout errors">
<solution>Set MCPORTER_CALL_TIMEOUT environment variable</solution>
<solution>Use --timeout flag</solution>
</issue>
<issue name="Debug logging">
npx mcporter --log-level debug call server.tool
</issue>