Telegraph MCP Server (Python)
Provides tools for interacting with the Telegraph API, enabling account management, page creation and editing with HTML/Markdown support, template-based content creation, page export and backup, and view statistics retrieval.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Telegraph MCP Server (Python)create a blog post about AI trends with the blog_post template"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Telegraph MCP Server (Python)
A Model Context Protocol (MCP) server that provides tools for interacting with the Telegraph API (telegra.ph). This Python implementation allows Claude and other LLM clients to create, manage, and export Telegraph pages.
Features
Account Management: Create accounts, update info, manage access tokens
Page Operations: Create, edit, retrieve, and list pages
Template System: Create pages using pre-built templates
Export & Backup: Export pages to Markdown/HTML, backup entire accounts
MCP Resources: Access Telegraph pages as MCP resources
MCP Prompts: Guided workflows for common tasks
Related MCP server: Telegram MCP Server
Installation
Using uvx (Recommended)
uvx telegraph-mcp-pyUsing pip
pip install telegraph-mcp-pyFrom Source
git clone https://github.com/NehoraiHadad/telegraph-mcp
cd telegraph-mcp/telegraph-mcp-py
pip install -e .Usage
With Claude Code
claude mcp add telegraph-py -- uvx telegraph-mcp-pyWith Claude Desktop
Add to your Claude Desktop configuration (~/.config/claude/claude_desktop_config.json):
{
"mcpServers": {
"telegraph-py": {
"command": "uvx",
"args": ["telegraph-mcp-py"]
}
}
}Or if installed via pip:
{
"mcpServers": {
"telegraph-py": {
"command": "telegraph-mcp-py"
}
}
}Available Tools
Account Management
Tool | Description |
| Create a new Telegraph account |
| Update account information |
| Get account details |
| Revoke and regenerate access token |
Page Management
Tool | Description |
| Create a new page (supports HTML/Markdown) |
| Edit an existing page |
| Get page by path |
| List all pages for an account |
| Get page view statistics |
Templates
Tool | Description |
| List available templates |
| Create page from template |
Export & Backup
Tool | Description |
| Export page to Markdown/HTML |
| Backup all account pages |
Resources
Access Telegraph pages directly as MCP resources:
telegraph://page/{path}Example: telegraph://page/Sample-Page-12-15
Prompts
Pre-defined prompts for guided workflows:
create_blog_post- Guide for creating blog postscreate_documentation- Guide for creating documentationsummarize_page- Summarize an existing page
Examples
Creating a Page with Markdown
# Via MCP tool call
telegraph_create_page(
access_token="your-token",
title="My First Post",
content="# Hello World\n\nThis is my first Telegraph page!",
format="markdown"
)Using Templates
telegraph_create_from_template(
access_token="your-token",
template="blog_post",
title="My Blog Post",
data={
"intro": "Welcome to my blog!",
"sections": [
{"heading": "Section 1", "content": "First section content"},
{"heading": "Section 2", "content": "Second section content"}
],
"conclusion": "Thanks for reading!"
}
)Exporting a Page
telegraph_export_page(
path="Sample-Page-12-15",
format="markdown"
)Development
Setup
cd telegraph-mcp-py
pip install -e ".[dev]"Testing with MCP Inspector
npx @modelcontextprotocol/inspector uvx telegraph-mcp-pyRelated Packages
telegraph-mcp - TypeScript MCP server
telegraph-api-py - Python Telegraph client
telegraph-api-client - TypeScript Telegraph client
License
MIT License - see LICENSE for details.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityCmaintenanceEnables AI assistants to create, edit, and manage Telegraph pages programmatically with support for Markdown content, templates, and page export/backup functionality.Last updated1342MIT
- -license-quality-maintenanceA comprehensive integration that allows AI models to interact with Telegram accounts for messaging, group management, and contact synchronization. It enables automated tasks like chat history analysis, message scheduling, and webhook-based responses through the Model Context Protocol.Last updated
- Alicense-qualityBmaintenanceEnables AI agents to interact with Telegram accounts through MCP, supporting messaging, contacts, groups, media, and admin functions.Last updated4Apache 2.0
- Alicense-qualityCmaintenanceEnables interaction with Telegram Bot API for sending messages, photos, editing messages, answering callbacks, and fetching updates.Last updatedMIT
Related MCP Connectors
MCP-native open-source Notion alternative: read & write pages, databases and kanban boards.
Render HTML, Markdown, or URLs to images, PDF, or branded artifacts; extract and watch pages.
Send quick greetings, scrape website content, and generate text or images on demand. Perform web s…
Appeared in Searches
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/NehoraiHadad/telegraph-mcp-py'
If you have feedback or need assistance with the MCP directory API, please join our Discord server