opencode · SST
opencode Telegram MCP - give your terminal agent your inbox
Add Entergram as an MCP server in opencode, SST’s open-source terminal AI agent, and let it work your real Telegram account - surface missed messages, chase leads that went cold, and act on chats from the command line.
https://mcp.entergram.com/mcp opencode loads MCP servers from its config file. Register Entergram’s as a remote MCP server and SST’s open-source agent can work your real personal Telegram account in the terminal - scoped by OAuth, with no bot account and no API keys.
Paste-ready configuration
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"entergram": {
"type": "remote",
"url": "https://mcp.entergram.com/mcp",
"enabled": true
}
}
}Connect opencode in 3 steps
Works with the opencode TUI and CLI.
- 01
Copy your MCP URL in Entergram
Copy your endpoint from Entergram under Settings → Workspace → Connectors → MCP. opencode reads it out of opencode.json, so you'll paste it into a file rather than a prompt.
- 02
Add the server in opencode.json
In your opencode.json, add Entergram under "mcp" as a remote server pointing at the Entergram MCP URL: https://mcp.entergram.com/mcp.
- 03
Authorize and run
Start opencode, log in with your Entergram account, and click Allow access to grant scoped access. opencode can then read and act on your Telegram account in its sessions.
Ask opencode things you could never ask Telegram
With your personal account connected, opencode can act across every chat from the terminal. Try prompts like:
- “Open an incident channel and pull in whoever is on call.”
- “Post the deploy summary to the customer updates channel.”
- “How many tickets are still open before I cut the release?”
- “Find chats mentioning the migration and summarize the concerns.”
- “Add a note to that thread with the rollback plan.”
- “Who in the beta group has not replied to the upgrade notice?”
What opencode can do with your Telegram
- -Drive Telegram entirely from the keyboard
- -Announce a deploy to a customer channel post-ship
- -Open an incident channel and invite responders
- -Count open tickets before cutting a release
- -Configure globally or per project via opencode.json
- -Run non-interactively for scripted jobs
opencode + Telegram FAQ
How does opencode connect to MCP servers?
Is this a Telegram bot?
Is it secure?
Can opencode run multi-step Telegram actions?
Practical guides
Learn the workflow before you choose
Other connectors