MCP ReferenceStreamable HTTP
MCP Endpoint
Canonical Streamable HTTP endpoint URL, required headers, companion metadata routes, and connectivity health checks for Taicket MCP.
Base Endpoint & Resource Identifier
All Model Context Protocol traffic for Taicket routes through one HTTPS Streamable HTTP endpoint served by the standalone taicket-mcp process behind an isolated Nginx site.
- MCP Endpoint (RFC 8707 Resource)
- https://mcp.taicket.xyz/mcp
- Issuer / Base Origin
- https://mcp.taicket.xyz
- Supported Methods
- POST /mcp, GET /mcp, DELETE /mcp
- Supported Protocol Versions
- 2025-06-18, 2025-03-26
- Maximum Request Body
- 2 MB (enforced by Nginx client_max_body_size 2M)
- Health Probe
- GET https://mcp.taicket.xyz/health (unauthenticated JSON status)
Exact RFC 8707 resource string
OAuth 2.1 clients MUST pass https://mcp.taicket.xyz/mcp (without a trailing slash or query string) as the resource parameter on /oauth/authorize and /oauth/token.
Request & Response Headers
| Header | Direction | Requirement & Behavior |
|---|---|---|
| Authorization | Request | Required on all /mcp calls: Bearer <oauth_access_token_or_tmcp_pat> |
| Content-Type | Request | Required on POST /mcp: application/json |
| Accept | Request | Should include application/json, text/event-stream per Streamable HTTP spec |
| MCP-Protocol-Version | Request / Response | Negotiated protocol revision (2025-06-18 or 2025-03-26) |
| Mcp-Session-Id | Response / Request | Optional opaque session token when client uses stateful SSE sessions |
| WWW-Authenticate | Response (401 / 403) | RFC 9728 metadata link and required scope challenge |
Companion Service Routes
| Route | Authentication | Description |
|---|---|---|
| GET /health | Public | Service health, uptime, and database readiness status |
| GET /.well-known/oauth-protected-resource | Public | RFC 9728 Protected Resource Metadata |
| GET /.well-known/oauth-authorization-server | Public | RFC 8414 Authorization Server Metadata |
| POST /oauth/register | Public (rate-limited) | RFC 7591 Dynamic Client Registration |
| GET /oauth/authorize | Browser + Discord | OAuth 2.1 authorization entry point |
| POST /oauth/token | Public client + PKCE | Authorization code exchange and atomic refresh rotation |
| POST /oauth/revoke | Public client | RFC 7009 immediate token and grant revocation |
| GET / POST /oauth/approve-action | Discord cookie + CSRF | Human browser confirmation for destructive or structural plans |
| GET /account | Discord cookie | Connected OAuth clients, scoped PAT management, and audit logs |
Verify endpoint health and 401 discovery challengebash
curl -sS https://mcp.taicket.xyz/health
curl -i -X POST https://mcp.taicket.xyz/mcp \
-H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" \
-d '{"jsonrpc":"2.0","id":1,"method":"ping"}'