distributed

command
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 30, 2025 License: MIT Imports: 15 Imported by: 0

Documentation

Overview

The distributed command is an example of a distributed MCP server.

It forks multiple child processes (according to the -child_ports flag), each of which is a streamable HTTP MCP server with the 'inc' tool, and proxies incoming http requests to them.

Distributed MCP servers must be stateless, because there's no guarantee that subsequent requests for a session land on the same backend. However, they may still have logical session IDs, as can be seen with verbose logging (-v).

Example:

./distributed -http=localhost:8080 -child_ports=8081,8082

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL