s.id Logo
s.id
Developer Platform

MCP Server

Hayaan ang mga AI agent na pamahalaan ang iyong s.id account sa pamamagitan ng Model Context Protocol.

Overview

Nagpapatakbo ang s.id ng hosted MCP (Model Context Protocol) server para makagawa ang mga AI agent at MCP-compatible client — tulad ng Claude — ng mga link, mamahala ng microsites, at magbasa ng analytics para sa iyo. Gumagamit ito ng JSON-RPC 2.0 sa iisang endpoint at nag-a-authenticate gamit ang parehong API key o OAuth 2.0 credentials tulad ng REST API.

Kumonekta

Ituro ang iyong MCP client sa endpoint sa ibaba at mag-authenticate gamit ang API key o OAuth 2.0 Bearer token — awtomatikong madidiskubre ng server ang iyong authorization server sa pamamagitan ng RFC 9728.

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

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

Tools

May 28 available na tools, sumasaklaw sa links, microsites, QR codes, at account data. Bawat tool ay nangangailangan ng parehong scope tulad ng katumbas nitong REST.

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

Hiwalay na quota pool

Ang mga MCP tool call ay gumagamit ng sarili nilang daily quota, hiwalay sa iyong REST API call quota — ang paggamit ng MCP server ay hindi kumukonsumo ng iyong /v2 API allowance. Ang tools/call lamang ang binibilang sa quota; libre ang tools/list at initialize.

Tingnan ang paggamit mo

Authentication

API key o OAuth 2.0

Mag-authenticate gamit ang parehong sk_live_ API key o OAuth 2.0 Bearer token na ginagamit mo para sa REST API — ang s.id ay sarili niyang OAuth 2.0 authorization server, kaya makokompleto ng client ang buong authorization flow at magagamit ang resultang token dito.

Gabay sa OAuth 2.0