openclaw/mcporter
Call MCPs via TypeScript, masquerading as simple TypeScript API. Or package them as cli.
What it solves
MCPorter is designed to make Model Context Protocol (MCP) tools accessible outside of dedicated AI chat interfaces. It allows developers and coding agents to use these tools directly from a terminal, within TypeScript scripts, or via standalone command-line interfaces (CLIs).
How it works
It acts as a runtime and CLI tool that discovers, connects to, and calls tools from various MCP servers (supporting stdio, Streamable HTTP, and legacy SSE). It can import server configurations from popular AI clients like Cursor, Claude Code, and VS Code. For developers, it provides a a TypeScript runtime to programmatically call tools or generate typed clients and focused CLIs based on server definitions.
Who it’s for
- Developers who want to integrate MCP tools into their own scripts or automation workflows.
- Coding agents that need a standardized way to interact with external tools via a CLI.
- Power users who prefer managing and calling AI tools from the terminal.
Highlights
- Broad Compatibility: Supports multiple connection protocols (stdio, Streamable HTTP, SSE) and imports configs from various AI IDEs.
- CLI Tooling: Includes commands to list tools, call them, and even generate a focused CLI for specific servers.
- TypeScript Integration: Offers a runtime for connection reuse and a utility to emit TypeScript types for typed tool calling.
- Session Management: Features capabilities to record and replay MCP sessions for reproducibility.
- Chrome DevTools Integration: Includes specialized support for controlling Chrome through a relay extension.
Related
- Project
- Project
- Project
- Project
- Project