Telegram AI CLI MCP
A CLI and MCP server for AI agents to read and act on a personal Telegram account over MTProto, with plan-and-apply approval. It provides task-shaped access to Telegram for reading chats, searching messages, and resolving identities, while ensuring write actions like sending messages require explicit human approval via a plan-and-apply step.
Package and access
Local package with source-attributed installation metadata. Koskamo does not execute packages during review.
What you can do with it
- Read chats and search messages
- Resolve usernames to numeric peer IDs
- Draft replies via plan-and-apply approval
- Watch chats for specific keywords
Source and maintenance
- Maintenance checked
Packages and installation
Source-provided package data. Koskamo has not executed or live-probed this package.
telegram-ai-cli-mcp 0.1.3
{
"version": "0.1.3",
"transport": "stdio",
"identifier": "telegram-ai-cli-mcp",
"registryType": "pypi",
"packageArguments": [
{
"type": "positional",
"value": "mcp"
}
],
"environmentVariables": [
{
"name": "TGAI_PROFILE",
"format": "string",
"choices": [
"readonly",
"plan"
],
"default": "readonly",
"description": "readonly (default) or plan: plan lets the agent prepare plans, never apply them"
},
{
"name": "TGAI_CONFIG",
"format": "filepath",
"description": "Path to tgai.yaml if not ~/.config/telegram-ai-cli-mcp/tgai.yaml"
}
]
}Tools
Reported by the attributed source; not independently observed by Koskamo.
Connect from your client
Each snippet configures the same source-provided package; replace placeholders before use.
Cursor
{
"mcpServers": {
"telegram-ai-cli-mcp": {
"command": "uvx",
"args": [
"telegram-ai-cli-mcp==0.1.3",
"mcp"
],
"env": {
"TGAI_PROFILE": "<YOUR_TGAI_PROFILE>",
"TGAI_CONFIG": "<YOUR_TGAI_CONFIG>"
}
}
}
}Cline
{
"mcpServers": {
"telegram-ai-cli-mcp": {
"command": "uvx",
"args": [
"telegram-ai-cli-mcp==0.1.3",
"mcp"
],
"env": {
"TGAI_PROFILE": "<YOUR_TGAI_PROFILE>",
"TGAI_CONFIG": "<YOUR_TGAI_CONFIG>"
}
}
}
}VS Code
{
"servers": {
"telegram-ai-cli-mcp": {
"type": "stdio",
"command": "uvx",
"args": [
"telegram-ai-cli-mcp==0.1.3",
"mcp"
],
"env": {
"TGAI_PROFILE": "<YOUR_TGAI_PROFILE>",
"TGAI_CONFIG": "<YOUR_TGAI_CONFIG>"
}
}
}
}Claude Desktop
{
"mcpServers": {
"telegram-ai-cli-mcp": {
"command": "uvx",
"args": [
"telegram-ai-cli-mcp==0.1.3",
"mcp"
],
"env": {
"TGAI_PROFILE": "<YOUR_TGAI_PROFILE>",
"TGAI_CONFIG": "<YOUR_TGAI_CONFIG>"
}
}
}
}Let your agent find its tools
Find servers like Telegram AI CLI MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.