As an MCP client user (e.g., IDE/agent integrator),
I would like to run `telegram-mcp` via `mcp-cli`
so that tool definitions are handled out-of-band
and tool invocations remain fast and prompt/context usage stays minimal.
Background
telegram-mcp has grown to 84+ tools. Embedding or repeatedly transmitting large tool schemas can increase context-window usage and slow down interactions. A recommendation from the community is to wrap the project using mcp-cli (https://github.com/philschmid/mcp-cli), which is reported to significantly reduce tool-definition “bloat” and keep invocations snappy by delegating schema/tool handling to a CLI wrapper.
Scope / Notes
- Introduce an
mcp-cli-compatible wrapper/entrypoint for telegram-mcp.
- Preserve current behavior for existing users who start
telegram-mcp without mcp-cli (backward-compatible invocation).
- Add documentation and examples for adopting the wrapper in common MCP host setups.
Acceptance Criteria
Deliverables
- Wrapper/entrypoint files required for
mcp-cli integration.
- Updated README with usage instructions and examples.
- CI or scripted smoke test demonstrating successful startup and a basic interaction via the wrapper.
Background
telegram-mcphas grown to 84+ tools. Embedding or repeatedly transmitting large tool schemas can increase context-window usage and slow down interactions. A recommendation from the community is to wrap the project usingmcp-cli(https://github.com/philschmid/mcp-cli), which is reported to significantly reduce tool-definition “bloat” and keep invocations snappy by delegating schema/tool handling to a CLI wrapper.Scope / Notes
mcp-cli-compatible wrapper/entrypoint fortelegram-mcp.telegram-mcpwithoutmcp-cli(backward-compatible invocation).Acceptance Criteria
mcp-cli-compatible wrapper/entrypoint that launchestelegram-mcpas an MCP server without requiring users to paste/inline tool definitions into prompts.telegram-mcpserver (no functional regression in available tools).mcp-cli.mcp-cliwrapper).telegram-mcp(e.g., environment variables / config file path) without breaking existing configuration patterns.mcp-clidependency is pinned or constrained to a compatible range.Deliverables
mcp-cliintegration.