Truto MCP Stdio Proxy

by trutohq

334 downloads
Not rated
GitHub

About

A CLI program that acts as a Stdio proxy for HTTP Streamable MCP servers. It reads newline-delimited JSON-RPC messages from stdin, forwards them to a specified MCP server endpoint via POST requests, and writes the responses to stdout.

Details

Author
trutohq
Downloads
334
Categories
Developer Tools

- Forwards JSON‑RPC messages from stdin to any HTTP Streamable MCP endpoint
- Writes API responses to stdout and error messages to stderr
- Single‑binary, no runtime dependencies beyond the OS
- Supports Linux, macOS (Intel & Apple Silicon), and Windows
- Can be built from source with Go 1.24.2 or later
- Integrates with Claude’s MCP configuration as a stdio server entry

Download a pre-built binary for your platform (Linux, macOS Intel/Apple Silicon, or Windows) from the GitHub releases page and make it executable. Run it from the command line with the required <API_URL> argument, piping JSON-RPC messages via stdin or reading from a file. For example: echo '{"jsonrpc":"2.0","method":"example","params":{},"id":1}' | ./truto-mcp-stdio-linux-amd64-v1.0.0 https://api.truto.one/mcp/<id>. It can also be configured directly in Claude’s mcpServers settings.

Truto MCP Stdio Proxy

A CLI program that acts as a Stdio proxy for HTTP Streamable MCP servers. It reads newline-delimited JSON-RPC messages from stdin, forwards them to a specified MCP server endpoint via POST requests, and writes the responses to stdout.

Requirements

- Go 1.24.2 or later (for building from source)

Installation

Download Pre-built Binaries

Download the latest release from the GitHub releases page. Choose the appropriate binary for your platform:

- Linux (amd64): truto-mcp-stdio-linux-amd64-v<version>
- macOS (Intel): truto-mcp-stdio-darwin-amd64-v<version>
- macOS (Apple Silicon): truto-mcp-stdio-darwin-arm64-v<version>
- Windows (amd64): truto-mcp-stdio-windows-amd64-v<version>.exe

After downloading, make the binary executable (on Unix-like systems):

chmod +x truto-mcp-stdio-<platform>-v<version>

Building from Source

To build the program from source, run:

go build -o truto-mcp-stdio

Usage

Run the program with:

./truto-mcp-stdio-<platform>-v<version> <API_URL>

Arguments

- <API_URL>: The API endpoint URL to forward requests to (required)

Example Usage

```bash

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.