Token导航 LogoToken导航

MCP Server · 文档知识

Telegraph MCP Server

一个将Telegraph API作为工具暴露给Claude和其他LLM客户端的MCP服务器,允许AI助手以编程方式创建、编辑和管理Telegraph页面。

stdio官方级别未说明来源级核验工具 13telegraph-mcp
API集成TypeScriptClaude知识管理Claude Desktop

快速开始

作者 / 组织
NehoraiHadad
提供方
NehoraiHadad
运行时
Node.js

工具数量

13

来源目录标注

资源数量

0

来源目录标注

提示词数量

0

来源目录标注

GitHub Star

0

仓库热度

收录来源

2 个

MCP World

选型结论

Telegraph MCP Server 属于文档知识类 MCP Server,公开资料标注 13 个工具,通过stdio 本地进程接入,适配 Claude Desktop、Claude,有可以直接复制的安装命令;接入前先确认权限范围。

分类

文档知识

传输方式

stdio

认证方式

无需认证

部署方式

支持远程部署

安装与配置

安装命令

npx telegraph-mcp

客户端配置示例

{
  "mcpServers": {
    "telegraph-mcp": {
      "command": "npx",
      "args": [
        "telegraph-mcp"
      ]
    }
  }
}

按公开安装命令拼出来的示例,字段名和参数以仓库 README 为准;带 YOUR_API_KEY 这类占位符的位置记得换成自己的值。

上手步骤

  1. 1

    准备运行环境

    stdio 服务在本地起进程,需要先装好 Node.js,再按安装命令拉取依赖。

  2. 2

    安装服务

    复制下面的安装命令执行;命令里带占位符的位置换成自己的密钥或路径。

  3. 3

    写入客户端配置

    在客户端的 MCP 配置里填启动命令和参数,保存后完全退出客户端再打开,让新配置生效。

  4. 4

    验证是否可用

    连接成功后客户端会列出 13 个工具,随便调一个只读工具确认能返回结果。

接入前确认

不要直接授予不必要的文件、网络或账号权限;先核对安装命令和配置内容。

详细介绍

电报MCP服务器

一个MCP(模型上下文协议)服务器,它公开 电报API 作为Claude和其他LLM客户的工具。这允许AI助手以编程方式创建、编辑和管理Telegraph页面。

相关项目

这是Telegraph工具生态系统的一部分:

项目描述包
电报mcp (this)用于AI助手的MCP服务器(TypeScript)](https://www.npmjs.com/package/telegraph-mcp)
电报jsJavaScript/TypeScript库](https://www.npmjs.com/package/telegraph-api-client)

快速开始

npx telegraph-mcp

或者添加到克劳德代码中:

claude mcp add telegraph -- npx telegraph-mcp

特性

  • 13电报API工具 涵盖所有电报功能
  • 创建和管理Telegraph帐户
  • 创建、编辑和检索电报页面
  • 查看页面统计信息
  • Markdown支持 -用Markdown编写内容,自动转换为Telegraph格式
  • 模板 -博客文章、文档、文章、变更日志和教程的预构建模板
  • 导出/备份 -将页面导出为Markdown或HTML,备份整个帐户
  • MCP资源 -访问电报页面作为MCP资源
  • MCP提示 -常见任务的预定义提示

安装

选项1:通过npm(推荐)

# With Claude Code
claude mcp add telegraph -- npx telegraph-mcp

# Or globally
npm install -g telegraph-mcp

选项2:来源

git clone https://github.com/NehoraiHadad/telegraph-mcp.git
cd telegraph-mcp
npm install
npm run build
claude mcp add telegraph -- node $(pwd)/dist/index.js

使用Claude代码

claude mcp add telegraph -- npx telegraph-mcp

使用Claude Desktop

将此添加到您的Claude Desktop配置文件中:

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json Linux: ~/.config/Claude/claude_desktop_config.json 视窗: %APPDATA%\Claude\claude_desktop_config.json

{
  "mcpServers": {
    "telegraph": {
      "command": "npx",
      "args": ["-y", "telegraph-mcp"]
    }
  }
}

可用工具

账户管理

工具描述需要授权
telegraph_create_account创建新的Telegraph帐户否
telegraph_edit_account_info更新帐户信息是
telegraph_get_account_info获取帐户详细信息是
telegraph_revoke_access_token撤销并重新生成访问令牌是

页面管理

工具描述需要授权
telegraph_create_page创建新的Telegraph页面(支持Markdown!)是
telegraph_edit_page编辑现有页面是
telegraph_get_page按路径获取页面否
telegraph_get_page_list列出帐户的所有页面是
telegraph_get_views获取页面的浏览统计信息否

模板

工具描述需要授权
telegraph_list_templates列出所有可用的页面模板否
telegraph_create_from_template使用模板创建页面是

导出和备份

工具描述需要授权
telegraph_export_page将页面导出为Markdown或HTML否
telegraph_backup_account备份帐户中的所有页面是

示例用法

创建帐户

Use telegraph_create_account with:
- short_name: "MyBot"
- author_name: "AI Assistant"

这将返回一个 access_token 你应该为未来的操作存钱。

创建页面

Use telegraph_create_page with:
- access_token: "your_token_here"
- title: "My First Telegraph Page"
- content: "
Hello world!

This is my first Telegraph page.
"

使用Markdown创建页面

Use telegraph_create_page with:
- access_token: "your_token_here"
- title: "My Markdown Page"
- content: "# Hello World\n\nThis is **bold** and *italic*.\n\n- List item 1\n- List item 2"
- format: "markdown"

使用模板

Use telegraph_create_from_template with:
- access_token: "your_token_here"
- template: "blog_post"
- title: "My Blog Post"
- data: {
    "intro": "Welcome to my blog!",
    "sections": [
      {"heading": "First Section", "content": "Section content here"}
    ],
    "conclusion": "Thanks for reading!"
  }

可用模板: blog_post, documentation, article, changelog, tutorial

内容格式

这 content 参数接受:

  • 标记语言 (与 format: "markdown"): "# Hello\n\n**Bold** and *italic*"
  • HTML字符串: `"

Hello world "`

  • JSON节点数组: [{"tag": "p", "children": ["Hello ", {"tag": "b", "children": ["world"]}]}]
支持的Markdown语法
语法结果
# HeaderH3航向
## SubheaderH4航向
**bold**粗体文本
*italic*斜体文本
[text](url)链接
``图片
- item无序列表
1. item已排序列表
> quoteBlockquote
` code `内联代码
``` `code` ```代码块
---水平规则
支持的HTML标签

a, aside, b, blockquote, br, code, em, figcaption, figure, h3, h4, hr, i, iframe, img, li, ol, p, pre, s, strong, u, ul, video

支持的属性
  • href -for `` 标签
  • src -for `, , ` 标签

MCP资源

访问电报页面作为MCP资源:

telegraph://page/{path}

例子: telegraph://page/Sample-Page-12-15

MCP提示

指导工作流程的可用提示:

提示描述
create-blog-post创建博客文章的指南
create-documentation文档创建指南
summarize-page总结现有页面

发展

# Install dependencies
npm install

# Build TypeScript
npm run build

# Run directly (for testing)
npm start

MCP检验员测试

npx @modelcontextprotocol/inspector node dist/index.js

api参考

此服务器实现了 电报API:

  1. 创建帐户 -创建新的Telegraph帐户
  2. editAccountInfo -更新帐户信息
  3. 获取账户信息 -获取帐户详细信息
  4. revokeAccessToken -撤销访问令牌
  5. 创建页面 -创建新页面
  6. editPage -编辑现有页面
  7. 获取页面 -获取页面
  8. getPageList -获取页面列表
  9. 获取视图 -获取页面浏览统计信息

许可证

麻省理工学院

工具与能力

工具数量

13

资源数量

0

提示词数量

0

能力标签

API服务TypeScript本地部署内容管理Markdown支持页面编辑AI工具

支持客户端

Claude DesktopClaude

数量来自来源目录的标注,具体工具清单以官方文档为准。

典型使用场景

读长文档提问

把 PDF、Markdown 和笔记交给模型,按章节追问细节。

整理知识库

把零散资料归档、打标签,检索时更容易命中。

批量出摘要

提取要点,输出能直接引用的段落。

选择建议

值得选的地方

  • 工具数量 13 个,一次接入能覆盖的操作比单点工具更全。
  • 有现成的安装命令,不用自己找入口,照着跑就能起服务。
  • 已经适配 Claude Desktop、Claude,换客户端不用重新研究配置。

先想清楚的地方

  • stdio 方式要求本地装好 Node.js,换机器要重新装一遍。
  • 第三方目录整理,版本更新和行为细节以官方仓库为准。

更适合

  • 需要在文档知识场景里让模型直接调用外部能力的人。
  • 已经在用 Claude Desktop 的用户,接入路径最短。
  • 想先快速试一下、能接受在本地跑服务的人。

不太适合

  • 完全不想在本地装环境的人。
  • 需要厂商级 SLA 和技术支持的生产环境。

同类对比

5 个同类
MCP Server工具数传输方式安装命令收录来源最后核验
Telegraph MCP Server

MCP World · 本页

13stdio有2 个2026-05-17
Cherry Studio

MCP World

0未说明未标注1 个2026-05-17
Pdf Math Translate

MCP World

0stdio有1 个2026-05-17
report generation

MCP World

0stdio有1 个2026-05-17
Anything To Notebooklm

MCP World

0stdio有1 个2026-05-17

按同分类和工具数量挑出最接近的几条,字段以各自详情页为准。

常见问题

5 条

Telegraph MCP Server 怎么安装?

公开资料给出的安装命令是 npx telegraph-mcp,运行环境为 Node.js。装完后按客户端要求写进 MCP 配置,重启客户端生效。

Telegraph MCP Server 怎么在 Claude Desktop、Cursor 里配置?

它是stdio 本地进程,客户端配置里要写启动命令和参数,运行环境是 Node.js;保存后完全退出客户端再打开,配置才会生效。

Telegraph MCP Server 收费吗?

本站只整理公开资料,不代收费用,也没有标注具体价格。是否收费取决于服务本身和背后的接口额度,正式使用前按官方说明确认。

Telegraph MCP Server 需要 API Key 吗?

公开资料标注为无需认证,装好就能连;如果实际调用时报鉴权错误,按官方文档补上凭据。

Telegraph MCP Server 支持哪些客户端?

公开资料标注支持 Claude Desktop、Claude;其他客户端只要能配置 MCP Server,也能用同样的命令或地址接入。

来源信息

继续浏览同类 MCP