GhostPaw Telegram
MCP server by GhostPawJS Community
Gives AI assistants read access to a local SQLite mirror of Telegram bot messages, plus send and moderation tools. It suits developers running Telegram bots who want a searchable record of chat activity.
Install GhostPaw Telegram
Built from the published package, never by AI.
claude mcp add ghostpaw-telegram -- npx -y @ghostpaw/telegramRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"ghostpaw-telegram": {
"args": [
"-y",
"@ghostpaw/telegram"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"ghostpaw-telegram": {
"args": [
"-y",
"@ghostpaw/telegram"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"ghostpaw-telegram": {
"args": [
"-y",
"@ghostpaw/telegram"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add ghostpaw-telegram -- npx -y @ghostpaw/telegram{
"mcpServers": {
"ghostpaw-telegram": {
"args": [
"-y",
"@ghostpaw/telegram"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add ghostpaw-telegram npx -y @ghostpaw/telegramGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the ghostpaw-telegram block.
About
GhostPaw Telegram is a Telegram bot channel engine. Every incoming update is written into a local SQLite database before a handler runs. The mirror includes file blobs such as photos, documents, voice messages and videos, which are downloaded in the background and stored once per SHA-256 hash. The package uses FTS5 full-text search, and it ships as a prebundled blob with a structured tool facade for LLM agents.
The MCP server runs over stdio with the command `ghostpaw-telegram mcp`. It reads the mirror and offers local reads and tool discovery without credentials. Send and moderation actions need a `TELEGRAM_BOT_TOKEN`; without one, they return plans. The project is aimed at developers building bot backends in code and at LLM agents that work through a structured tool interface.
Written from the project's README and checked against it.
Tools it gives your assistant
tg_readReads the local mirror, for example listing chats through the list_chats subcommand.tg_sendSends messages through the send_message subcommand, returning a plan when no bot token is set.tg_<tool>Flat CLI form that calls each tool with its parameters as flags.Noun-verb CLICommands such as mirror search, message pin and member ban, derived from the four tool schemas.Mirror searchFull-text search over stored messages using SQLite FTS5.
What you need
- Node.js 24 or later for the npm package
- A Telegram bot token in TELEGRAM_BOT_TOKEN for send and moderation actions
- Linux x64, Linux arm64, macOS arm64, macOS x64 or Windows x64 for the release binary
- glibc 2.28 or later on Linux for the release binary
| Setting | Needed | What it is |
|---|---|---|
TELEGRAM_Environment variable, secret | Optional | Telegram Bot API token; enables send and moderation execution |
GHOSTPAW_Environment variable | Optional | SQLite database path (default: ~/.ghostpaw/telegram.db) |
From the publisher's entry in the official MCP Registry. Required settings are already in the install config below as placeholders.
Try asking
- Search my Telegram mirror for messages about the release.
- List the Telegram chats the bot has recorded so far.
- Draft a send to chat 123 that says the build passed, and show the plan.
Good to know
- Send and moderation tools return plans unless TELEGRAM_BOT_TOKEN is set.
- The server reads the mirror only and does not poll Telegram for updates.
- Release binaries are unsigned, and Linux binaries need glibc 2.28 or later. Use npx on Alpine.
- The mirror may contain private chat content and file blobs.
Security check
F- Sends keys or private files to a web addressIn
README.md:curl -fsSL https://raw.githubusercontent.com/GhostPawJS/telegram/main/install.sh | sh -s -- --target linux-x64 && export PATH="$HOME - Downloads a script from the internet and runs itIn
README.md:curl -fsSL https://raw.githubusercontent.com/GhostPawJS/telegram/main/install.sh | sh
Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to GhostPaw Telegram
All alternatives →Jitsu MCP server lets AI assistants configure and operate Jitsu data pipelines. It covers destinations, streams, connections and functions, plus Live Events and connector syncs. It is aimed at teams that run event data pipelines.
Vexa sends a bot into Google Meet, Microsoft Teams, Zoom and Jitsi calls to capture speaker-labelled transcripts live or after the call. It suits teams that want meeting transcripts they can self-host.
Gives Claude and other MCP-compatible AI agents access to LinkedIn through your own browser session. It reads profiles, researches companies, finds jobs, and manages messages and connection requests.
Runs a NetSapiens phone system from Claude, ChatGPT, or any MCP client. Each person signs in as themselves, and their assistant gets role-aware tools for calls, voicemail, queues, and provisioning.
Resend MCP Server connects AI assistants to the Resend email platform. It lets them send and receive emails and manage contacts, broadcasts, templates, and domains. It suits developers and teams who use MCP clients such as Claude or Cursor.
The source does not describe labelhead-artist-momentum. It is a README for Paperclip, an open-source orchestration app for teams of AI agents.
Compare with Jitsu, Vexa or Linkedin MCP server
GhostPaw Telegram: common questions
Does GhostPaw Telegram need a bot token to read messages?
No. Local mirror reads and tool discovery work offline. A TELEGRAM_BOT_TOKEN is needed to execute sends and moderation actions.
Where is the Telegram message data stored?
By default it is stored in ~/.ghostpaw/telegram.db. The GHOSTPAW_TELEGRAM_DB variable or the --db flag can set a different path.
Does the MCP server receive new Telegram updates on its own?
No. It reads the mirror populated by the library transport and does not poll for updates.
How do I install GhostPaw Telegram?
In Claude Code run claude mcp add ghostpaw-telegram -- npx -y @ghostpaw/telegram. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is GhostPaw Telegram the official server?
GhostPaw Telegram is a community project by GhostPawJS, not verified by a company domain.
Is GhostPaw Telegram free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is GhostPaw Telegram safe to use?
It scores 79 of 100. Grades: maintenance A, licence A, quality C. Security check: grade F (sends keys or private files to a web address). Review the code before you install. How grades work.
What are alternatives to GhostPaw Telegram?
Similar MCP servers: Jitsu, Vexa, Linkedin MCP server, Netsapiens MCP.
Does GhostPaw Telegram work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
