io.github.amaterous/picoli-mcp
MCP server for picoli.site - URL shortening and click analytics for AI agents
التثبيت
أضف هذا إلى إعدادات MCP في عميلك (Claude Desktop: claude_desktop_config.json، وCursor: .cursor/mcp.json، ويستخدم VS Code وغيره الصيغة نفسها «mcpServers»).
picoli-mcpclaude mcp add picoli-mcp -- npx -y picoli-mcp@1.0.1
{
"mcpServers": {
"picoli-mcp": {
"command": "npx",
"args": [
"-y",
"picoli-mcp@1.0.1"
]
}
}
}
التوثيق
مأخوذ من ملف README للمشروع على GitHub ويُحدَّث أسبوعيًا. تفتح الروابط على GitHub.
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:
{
"mcpServers": {
"picoli": {
"command": "npx",
"args": ["-y", "picoli-mcp"],
"env": {
"PICOLI_API_KEY": "your-api-key-here"
}
}
}
}
Cursor
Add to .cursor/mcp.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 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
| Variable | Required | Default | Description |
|---|---|---|---|
PICOLI_API_KEY | Yes | — | Your picoli.site API key |
PICOLI_BASE_URL | No | https://picoli.site | API base URL (for self-hosted instances) |
Development
git clone https://github.com/yun/picoli-mcp.git
cd picoli-mcp
npm install
npm run build
Test locally:
PICOLI_API_KEY=your-key npx tsx src/index.ts
License
MIT
الأسئلة الشائعة
ما هو io.github.amaterous/picoli-mcp؟
MCP server for picoli.site - URL shortening and click analytics for AI agents
كيف أثبّت io.github.amaterous/picoli-mcp؟
يعمل على جهازك. في Claude Code: claude mcp add picoli-mcp -- npx -y picoli-mcp@1.0.1. وفي العملاء الآخرين، الصق إعداد JSON من هذه الصفحة في إعدادات MCP الخاصة بهم.
هل يحتاج io.github.amaterous/picoli-mcp إلى مفتاح API؟
لا يذكر إدراجه في السجل أي مفتاح أو سر إلزامي. قد تتطلب بعض الميزات حسابًا لدى الخدمة التي يتصل بها.
هل io.github.amaterous/picoli-mcp مفتوح المصدر؟
شيفرته علنية على GitHub، لكن المستودع لا يعلن ترخيصًا قياسيًا.
من يصون io.github.amaterous/picoli-mcp؟
ينشره amaterous. يدرجه AI.tn لكنه لا يصونه ولا يوصي به.
من سجل MCP الرسمي. الإدراج ليس توصية: راجع شيفرة الخادم وصلاحياته قبل منحه الوصول إلى بياناتك.