s.id Logo
s.id
Developer Platform

MCP Server

Let AI agents manage your s.id account through the Model Context Protocol.

Overview

s.id runs a hosted MCP (Model Context Protocol) server so AI agents and MCP-compatible clients — like Claude — can create links, manage microsites, and read analytics on your behalf. It speaks JSON-RPC 2.0 over a single endpoint and authenticates with the same API key or OAuth 2.0 credentials as the REST API.

Connect

Point your MCP client at the endpoint below and authenticate with an API key or an OAuth 2.0 Bearer token — the server auto-discovers your authorization server via RFC 9728.

Endpoint: https://mcp.s.id/mcp

{
  "mcpServers": {
    "sid": {
      "url": "https://mcp.s.id/mcp",
      "headers": {
        "Authorization": "Bearer sk_live_..."
      }
    }
  }
}

Tools

28 tools are available, covering links, microsites, QR codes, and account data. Each tool requires the same scope as its REST equivalent.

Links

Tool
create_link
bulk_create_links
get_link
list_links
update_link
delete_link
unarchive_link
check_short_availability
get_link_stats
get_link_lifetime_stats
get_account_stats

Microsites

Tool
create_microsite
get_microsite
list_microsites
update_microsite
delete_microsite
check_microsite_slug
create_microsite_component
list_microsite_components
update_microsite_component
delete_microsite_component
order_microsite_components

QR

Tool
get_link_qr
set_link_qr
get_global_qr
set_global_qr

Account

Tool
get_user_info
get_quota

Quota

A separate quota pool

MCP tool calls draw from their own daily quota, separate from your REST API call quota — using the MCP server does not consume your /v2 API allowance. Only tools/call requests count against it; tools/list and initialize are free.

View your usage

Authentication

API key or OAuth 2.0

Authenticate with the same sk_live_ API key or OAuth 2.0 Bearer token you use for the REST API — s.id is its own OAuth 2.0 authorization server, so a client can complete the full authorization flow and use the resulting token here.

OAuth 2.0 guide