🔌 IndieKit MCP Server
让 AI Agent 直接使用 IndieKit 工具。基于 Model Context Protocol 标准。
什么是 MCP?
MCP (Model Context Protocol) 是 Anthropic 推出的开放协议,定义了 AI 和外部工具之间的标准通信方式。到 2026 年初已成为事实标准,OpenAI、Google、Microsoft 全部跟进。
简单说:MCP 让 AI 能直接调用你的工具,不需要人工操作界面。
安装
# 使用 pip
pip install indiekit-mcp
# 或使用 uv
uv pip install indiekit-mcp
配置 Claude Desktop
编辑配置文件:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"indiekit": {
"command": "indiekit-mcp"
}
}
}
重启 Claude Desktop 即可使用。
可用工具
| 工具 | 功能 |
|---|---|
hn_digest | 获取 Hacker News 每日中文摘要 |
uptime_check | 检查网站/API 是否在线 |
uptime_status | 获取所有监控端点状态 |
shorten_url | 创建短链接 |
get_link_stats | 获取短链接点击统计 |
create_paste | 创建代码片段分享 |
get_paste | 获取代码片段内容 |
使用示例
配置好后,直接对 Claude 说:
- "帮我看看今天 Hacker News 有什么热门"
- "检查一下 https://example.com 是否在线"
- "把这个链接缩短:https://very-long-url.com/..."
- "帮我创建一个 Python 代码片段"
Claude 会自动调用对应的 IndieKit 工具,返回结果。
为什么需要 MCP?
"PC 软件为手机重做了一遍,现在轮到 Agent 了。"
— @dotey
GUI 是给人用的,Agent 需要结构化的接口。MCP 就是给 Agent 开的正门,比让 AI 模拟点击界面高效 10 倍。
源码
github.com/indiekitai/indiekit-mcp
其他 MCP Server
- notion-mcp - 让 Agent 管理你的 Notion
- doc2md - 文档转 Markdown(含 MCP Server)