@mcpolyglot/cli
v0.1.0
Published
mcpolyglot command-line interface. Initializes config, serves the MCP server (stdio or HTTP), and validates connectivity.
Downloads
57
Readme
@mcpolyglot/cli
The mcpolyglot command-line interface. Scaffolds a config, validates connectivity, lists tools, and serves the MCP server over stdio or Streamable HTTP.
npx @mcpolyglot/cli init # interactive wizard
npx @mcpolyglot/cli doctor # validate config, ping sources, list tools
npx @mcpolyglot/cli tools # list tools mcpolyglot would expose
npx @mcpolyglot/cli serve # start the MCP server (stdio)
npx @mcpolyglot/cli serve --http --port 7337 # start over Streamable HTTPCommands
| Command | Purpose |
| -------- | -------------------------------------------------------------------------- |
| init | Interactively scaffold an mcpolyglot.config.ts in the current directory. |
| doctor | Load + validate config, resolve secrets, ping each source, list tools. |
| tools | Print every tool mcpolyglot would expose for the current config. |
| serve | Start the server. --http flips to Streamable HTTP with bearer auth. |
serve --http prints the bearer token, MCP URL, and /healthz URL on stderr. Pin the token in your config (transport.auth.token) for stable deployments; omit it to mint a fresh token on each start.
Stdio servers must keep stdout clean, so all CLI output goes to stderr.
Docs
- Full README → https://github.com/ishay60/mcpolyglot
- Architecture → https://github.com/ishay60/mcpolyglot/blob/develop/ARCHITECTURE.md
- Examples → https://github.com/ishay60/mcpolyglot/tree/develop/examples
MIT licensed.
