MCP server
Fupisha provides a Streamable HTTP MCP endpoint for clients that support remote MCP servers:
https://mcp.fupisha.link/mcp
Authenticate requests with a Fupisha API key in the bearer header. Keep the key in the MCP host’s server-side secret configuration; do not paste it into a shared prompt or repository.
Available tools
| Tool | Required scope | Arguments | Purpose |
|---|---|---|---|
list_links | links:read | optional limit (1–100) | List links in the key’s workspace. |
create_link | links:write | url, optional code, campaign_name | Create one short link. |
get_analytics | links:read | optional from, to (YYYY-MM-DD) | Read workspace totals for a date range; defaults to the last 30 days. |
Example MCP client configuration
MCP clients use different configuration formats. Configure a remote Streamable HTTP server using the URL above and provide this authorization header when prompted by your client:
Authorization: Bearer <FUPISHA_API_KEY>The endpoint accepts JSON-RPC initialize, ping, tools/list, and tools/call requests over POST. For example, to list tools:
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/list"
}The tool calls use the same workspace boundaries and API key scopes as the HTTP API. The server does not provide administrative tools, bulk link tools, delete-link tools, or webhook tools.