MCP Server
Connect AI agents to Weely over the Model Context Protocol.
MCP Server
Weely MCP lets agents create and manage short links and read analytics with the same OAuth scopes as REST.
MCP URL: https://dev.weely.ai/api/v1/mcp
Local: http://localhost:4005/api/v1/mcp
Auth, scopes, and Cursor setup are covered in Authentication.
Cursor example
{
"mcpServers": {
"weely": {
"url": "https://dev.weely.ai/api/v1/mcp",
"auth": {
"scopes": ["mcp", "short_url:read", "short_url:write", "analytics:read"]
}
}
}
}Do not set a static Authorization header for OAuth — that skips the browser consent flow.
For HTTP REST instead of tools, use the API Reference (Swagger at /docs/api/v1).