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

已验证STDIO仅桌面数据与分析商业与电商

概览

AI 生成的概览

面向 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 的网络。
安装前请注意
API 密钥是写入客户端配置的机密,请勿放入共享文件。创建短链接会向你的 picoli.site 账号写入数据,批量创建一次最多可新增 500 条链接。链接数据与分析请求会发送到 picoli.site,或 PICOLI_BASE_URL 指定的主机。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Picoli Mcp,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

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:

json
{  "mcpServers": {    "picoli": {      "command": "npx",      "args": ["-y", "picoli-mcp"],      "env": {        "PICOLI_API_KEY": "your-api-key-here"      }    }  }}
Cursor

Add to .cursor/mcp.json:

json
{  "mcpServers": {    "picoli": {      "command": "npx",      "args": ["-y", "picoli-mcp"],      "env": {        "PICOLI_API_KEY": "your-api-key-here"      }    }  }}

Tools

shorten_url

Create a short URL with an optional custom slug.

Example prompts:

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

VariableRequiredDefaultDescription
PICOLI_API_KEYYes—Your picoli.site API key
PICOLI_BASE_URLNohttps://picoli.siteAPI base URL (for self-hosted instances)

Development

bash
git clone https://github.com/yun/picoli-mcp.gitcd picoli-mcpnpm installnpm run build

Test locally:

bash
PICOLI_API_KEY=your-key npx tsx src/index.ts

License

MIT

来源:README.md,提交 b20085a

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v1.0.1最新Sep 16, 2026

评分

已满足适用检查项的 40%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分

    请在仓库或注册中心条目中声明许可证。