MCporter
Call MCPs via TypeScript, masquerading as simple TypeScript API. Or package them as cli.
What is MCporter?
MCporter is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to call mcps via typescript, masquerading as simple typescript api. or package them as cli.
Call MCPs via TypeScript, masquerading as simple TypeScript API. Or package them as cli.
This server falls under the Developer Tools category on MCPgee, the world's largest MCP server directory with 33,000+ servers.
Features
- Call MCPs via TypeScript, masquerading as simple TypeScript
Use Cases
Maintainer
Works with
Installation
NPM
npx -y mcporterManual Installation
npx -y mcporterConfiguration
Configuration Details
claude_desktop_config.json
Performance
Response Metrics
Resource Usage
How to Set Up and Use MCporter
MCporter is a TypeScript runtime, CLI, and code-generation toolkit for the Model Context Protocol that lets you call any MCP server directly from the command line or from TypeScript code — without writing boilerplate. It auto-discovers MCP servers already configured in Cursor, Claude Code/Desktop, Codex, Windsurf, and VS Code, exposes their tools as ergonomic camelCase TypeScript methods, and can package individual MCP tools as standalone CLIs or emit typed TypeScript client wrappers. Teams that want to script, test, or compose MCP tool calls in automation pipelines — or that need to share a single MCP capability as a reusable CLI — will find MCporter eliminates the usual plumbing and schema spelunking.
Prerequisites
- Node.js 18 or later installed
- npx available (comes with npm 5.2+)
- At least one MCP server configured in Cursor, Claude Desktop, Claude Code, or a local mcporter.json config file
- API keys for any MCP servers that require authentication (e.g., LINEAR_API_KEY for Linear MCP)
List all discovered MCP servers
Run mcporter list to see every MCP server MCporter can find from your existing editor configurations. No installation required — npx fetches and runs it immediately.
npx mcporter listInspect a specific server's tools
Pass a server name (or URL) to list to see its tools with TypeScript-style signatures, including required and optional parameters.
npx mcporter list context7 --schema
# Or for a remote server:
npx mcporter list https://mcp.linear.app/mcp --all-parametersCall an MCP tool from the command line
Use mcporter call with colon-delimited arguments or function-call syntax to invoke any discovered tool directly from the terminal.
# Colon-delimited syntax:
npx mcporter call context7.resolve-library-id query="React hooks" libraryName=react
# Function-call syntax:
npx mcporter call 'linear.create_comment(issueId: "ENG-123", body: "Looks good!")'Generate a typed TypeScript client
Use emit-ts to generate TypeScript interfaces or ready-to-run wrappers for a server, enabling strongly-typed calls in your own code.
npx mcporter emit-ts context7 --output ./src/mcp-clients/context7.tsPackage a tool as a standalone CLI
Use generate-cli to turn an MCP server into a distributable command-line tool that anyone can run without understanding the MCP protocol.
npx mcporter generate-cli context7 --output ./bin/context7-cliRecord and replay for offline testing
Capture real MCP JSON-RPC traffic as NDJSON for deterministic offline test fixtures, then replay it without hitting the live server.
# Record:
npx mcporter record context7.resolve-library-id query=react > fixtures/resolve.ndjson
# Replay:
npx mcporter replay fixtures/resolve.ndjsonMCporter Examples
Client configuration
MCporter reads from existing MCP configs, but you can also add servers explicitly via mcporter.json:
{
"mcpServers": {
"context7": {
"command": "npx",
"args": ["-y", "@upstash/context7-mcp"]
},
"linear": {
"url": "https://mcp.linear.app/mcp",
"env": {
"LINEAR_API_KEY": "lin_api_your_key_here"
}
}
}
}Prompts to try
Example command-line calls once mcporter is configured with your servers:
- npx mcporter call context7.resolve-library-id query="React useEffect" libraryName=react
- npx mcporter call context7.get-library-docs libraryId=/reactjs/react.dev query="hooks"
- npx mcporter list linear --all-parameters
- npx mcporter call linear.list_issues assignee=me
- npx mcporter call 'linear.create_comment(issueId: "ENG-1", body: "Fixed in PR #42")'Troubleshooting MCporter
mcporter list shows no servers
MCporter looks for configs in ~/.mcporter/mcporter.json, ~/.cursor/mcp.json, Claude Desktop config, and ./config/mcporter.json. Ensure at least one of these files exists and contains mcpServers entries. Run npx mcporter list --verbose to see which config sources were checked.
Authentication errors calling Linear or other OAuth-protected servers
Run npx mcporter auth https://mcp.linear.app/mcp to trigger the OAuth flow. MCporter will open a browser window, complete the login, and cache the token for future calls. For API key-based servers, set the key as an environment variable before calling.
Tool call returns empty or garbled output
Add --json flag to get the raw JSON-RPC response for debugging. Check that required parameters are spelled correctly (run npx mcporter list <server> to confirm exact parameter names).
Frequently Asked Questions about MCporter
What is MCporter?
MCporter is a Model Context Protocol (MCP) server that call mcps via typescript, masquerading as simple typescript api. or package them as cli. It connects AI assistants to external tools and data sources through a standardized interface.
How do I install MCporter?
Install via npm with the command: npx -y mcporter. Then add the server configuration to your AI client's JSON config file (e.g., claude_desktop_config.json or .cursor/mcp.json).
Which AI clients work with MCporter?
MCporter works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.
Is MCporter free to use?
Yes, MCporter is open source and available under the MIT license. You can use it freely in both personal and commercial projects.
MCporter Alternatives — Similar Developer Tools Servers
Looking for alternatives to MCporter? Here are other popular developer tools servers you can use with Claude, Cursor, and VS Code.
Ecc
★ 188.2kThe agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.
Javaguide
★ 155.8kJava 面试 & 后端通用面试指南,覆盖计算机基础、数据库、分布式、高并发、系统设计与 AI 应用开发
Gemini CLI
★ 104.5kA secure MCP server that wraps the Google Gemini CLI, allowing clients to query Gemini models using local OAuth sessions without requiring an API key. It provides tools for model interaction and diagnostics with built-in protection against command in
Awesome MCP Servers
★ 87.3k⭐ Curated list of Model Context Protocol (MCP) servers - tools that extend Claude Desktop, Cursor, Windsurf, and other MCP clients with custom capabilities.
MCP Servers
★ 86.0kModel Context Protocol Servers
CC Switch
★ 77.5kA cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Gemini CLI & Hermes Agent. Only official website: ccswitch.io
Browse More Developer Tools MCP Servers
Explore all developer tools servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.
Set Up MCporter in Your Editor
Choose your AI client for step-by-step setup instructions.
Quick Config Preview
Add this to your claude_desktop_config.json or .cursor/mcp.json
Ready to use MCporter?
Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.