linkly
Create and manage short links, track clicks, and automate URL management
MCP 服务配置
复制以下 JSON 到 OPClaw 或其他 MCP 客户端的配置文件中即可使用
{
"mcpServers": {
"linkly-mcp-server": {
"args": [
"linkly-mcp-server@1.2.0"
],
"command": "npx"
}
}
}
可用工具 (5 个)
该服务在 MCP 协议中暴露的工具,AI 可按需调用
tavily_search 14 个参数 需填 1 项
Search the web for current information on any topic. Use for news, facts, or data beyond your knowledge cutoff. Returns snippets and source URLs.
必填参数:query
tavily_extract 6 个参数 需填 1 项
Extract content from URLs. Returns raw page content in markdown or text format.
必填参数:urls
tavily_crawl 11 个参数 需填 1 项
Crawl a website starting from a URL. Extracts content from pages with configurable depth and breadth.
必填参数:url
tavily_map 8 个参数 需填 1 项
Map a website's structure. Returns a list of URLs found starting from the base URL.
必填参数:url
tavily_research 2 个参数 需填 1 项
Perform comprehensive research on a given topic or question. Use this tool when you need to gather information from multiple sources to answer a question or complete a task. Returns a detailed response based on the research findings.
必填参数:input
服务介绍
Linkly MCP Server
Official Model Context Protocol (MCP) server for Linkly - the URL shortener and link management platform.
# Documentation
For full documentation, setup guides, and examples, visit: https://linklyhq.com/support/mcp-server
# Features
- Create, update, and delete short links
- View click analytics and statistics
- Manage custom domains and favicons
- Configure webhooks for click events
- Search and filter links
- Export click data
# Two Ways to Use
# # Option 1: Hosted Server (Recommended)
Use Linkly's hosted MCP server with OAuth authentication. No installation required.
Server URL: https://mcp.linklyhq.com
This is the easiest way to get started - just connect your MCP client to the hosted server and authenticate with your Linkly account.
# # Option 2: Self-Hosted (npm)
Run your own instance using your API key.
# # # Installation
npm install -g linkly-mcp-server
Or run directly with npx:
npx linkly-mcp-server
# # # Configuration
Set the required environment variables:
export LINKLY_API_KEY="your-api-key"
export LINKLY_WORKSPACE_ID="your-workspace-id"
You can find these in your Linkly dashboard under Settings > API.
# # # Usage with Claude Desktop
Add to your Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json on macOS):
{
"mcpServers": {
"linkly": {
"command": "npx",
"args": ["linkly-mcp-server"],
"env": {
"LINKLY_API_KEY": "your-api-key",
"LINKLY_WORKSPACE_ID": "your-workspace-id"
}
}
}
}
# Available Tools
| Tool | Description |
|- -- -- -|- -- -- -- -- -- --|
| create_link | Create a new short link |
| update_link | Update an existing link |
| delete_link | Delete a link |
| get_link | Get link details |
| list_links | List all links in workspace |
| search_links | Search links by name, URL, or note |
| get_analytics | Get time-series click data |
| get_analytics_by | Get clicks grouped by dimension |
| get_clicks | Get recent click data |
| export_clicks | Export detailed click records |
| list_domains | List custom domains |
| create_domain | Add a custom domain |
| delete_domain | Remove a custom domain |
| update_domain_favicon | Update domain favicon |
| list_webhooks | List workspace webhooks |
| subscribe_webhook | Add a webhook |
| unsubscribe_webhook | Remove a webhook |
| list_link_webhooks | List link-specific webhooks |
| subscribe_link_webhook | Add a link webhook |
| unsubscribe_link_webhook | Remove a link webhook |
# Links
# Support
For help and support, visit Linkly Support or email support@linklyhq.com.
# License
MIT