
Picoli Mcp
io.github.amaterous由 GitHub 账号 amaterous 发布v1.0.1更新于 Oct 27, 2026
MCP server for picoli.site - URL shortening and click analytics for AI agents
概览
面向 picoli.site 的 MCP 服务器,让 AI 助手缩短网址、创建自定义短链并查看链接点击分析。
- 可以做什么
- 创建短链接,可选自定义 slug
- 一次批量创建最多 500 条短链接
- 查询指定链接的点击统计(已排除机器人流量)
- 分页列出全部短链接及点击次数
- 获取分析概览:前 10 链接、每日点击趋势与区间总计
- 适用场景
- 适合让助手为推广或分享生成短链接,或在不打开 picoli.site 后台的情况下汇报现有短链接的表现。
- 运行要求
- 以 stdio 方式在本机运行,通常通过 npx 启动,需要 Node.js。需要 picoli.site 账号和 API 密钥,通过环境变量 PICOLI_API_KEY 传入。可选环境变量 PICOLI_BASE_URL 可指向自建实例而非默认服务。需要能访问 picoli.site API 的网络。
安装
在 SourceWeft 中
- 打开 控制台中的 Picoli Mcp,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
picoli-mcp
MCP server for picoli.site — URL shortening and click analytics for AI agents.
Shorten URLs, track clicks, and analyze link performance directly from your AI assistant.
Setup
1. Get your API key
Create an account at picoli.site and get your API key from the dashboard.
2. Configure your MCP client
Claude Desktop / Claude Code
Add to your MCP configuration:
Cursor
Add to .cursor/mcp.json:
Tools
shorten_url
Create a short URL with an optional custom slug.
Example prompts:
- "Shorten https://example.com/very-long-article-url"
- "Create a short link for https://my-site.com with slug 'launch'"
shorten_urls
Create multiple short URLs at once (up to 500).
Example prompts:
- "Shorten these 3 URLs: ..."
get_link_stats
Get click statistics for specific links (bot traffic excluded).
Example prompts:
- "How many clicks did my 'launch' link get?"
- "Show me stats for these slugs: launch, demo, blog-post"
list_links
List all shortened URLs with click counts and pagination.
Example prompts:
- "Show me all my short links"
- "List my links sorted by clicks"
get_analytics
Get analytics overview: top 10 links, daily click trends, and totals.
Example prompts:
- "Show me my link analytics for this week"
- "What are my top performing links?"
- "Give me click stats from 2026-01-01 to 2026-01-31"
Environment Variables
Development
Test locally:
License
MIT
来源:README.md,提交 b20085a
工具
0版本历史
1- v1.0.1最新Sep 16, 2026
评分
已满足适用检查项的 40%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分
请在仓库或注册中心条目中声明许可证。