MCP & API Reference

MCP protocol

AlwaysOn Memory runs Streamable HTTP MCP (JSON-RPC 2.0 over HTTPS POST) at https://always-on.cloud/mcp (universal OAuth 2.1), https://always-on.cloud/t/<slug>/mcp (workspace-scoped), and https://always-on.cloud/docs/mcp (public read-only docs). Supported MCP protocol versions are 2025-11-25, 2025-06-18, 2025-03-26, 2024-11-05.

What MCP and discovery endpoints does AlwaysOn Memory expose?#

Use /mcp for universal OAuth 2.1 apps, /t/<workspace-slug>/mcp for connection keys or workspace-pinned OAuth connectors, and /docs/mcp for public unauthenticated documentation lookup. Standard .well-known files advertise OAuth 2.1, SEP-2127 server cards, and Agent Skills.

MCP & Discovery Endpoints
EndpointAuthPurpose
POST https://always-on.cloud/mcpOAuth 2.1 Bearer (awm_oauth_)Universal Memory MCP endpoint; pick a workspace during browser consent.
POST https://always-on.cloud/t/<slug>/mcpConnection key (awm_) or OAuth 2.1Workspace Memory MCP endpoint locked to <slug>.
POST https://always-on.cloud/docs/mcpNone (public, read-only)Public Docs MCP server (5 tools, Markdown resources, prompts; 120 req/min/IP).
GET https://always-on.cloud/.well-known/oauth-protected-resourcePublicRFC 9728 Protected Resource Metadata for /mcp and /t/<slug>/mcp.
GET https://always-on.cloud/.well-known/oauth-authorization-serverPublicRFC 8414 OAuth 2.1 Authorization Server Metadata (PKCE S256, DCR, rotating refresh).
GET https://always-on.cloud/.well-known/mcp/server-card.jsonPublicSEP-2127 MCP server card for Memory MCP (/mcp, all 16 tools).
GET https://always-on.cloud/.well-known/mcp/docs-server-card.jsonPublicSEP-2127 MCP server card for Docs MCP (/docs/mcp).
GET https://always-on.cloud/.well-known/agent-skills/index.jsonPublicAgent Skills Discovery v0.2.0 index with SHA-256 digest and SKILL.md link.
GET https://always-on.cloud/.well-known/ai-catalog.jsonPublicUnified AI discovery catalog pointing to llms.txt, llms-full.txt, skill.md, and both server cards.

What HTTP headers, methods, and protocol versions are required?#

Send JSON-RPC 2.0 requests via HTTP POST with Content-Type: application/json and Accept: application/json, text/event-stream. AlwaysOn supports 2025-11-25, 2025-06-18, 2025-03-26, 2024-11-05, echoes MCP-Protocol-Version, handles CORS preflight (OPTIONS), and returns 202 for notifications.

POST
Run JSON-RPC 2.0 methods (initialize, ping, tools/list, tools/call, plus resources/* and prompts/* on /docs/mcp). Max request body: 320 KB on Memory MCP, 16 KB on /docs/mcp.
OPTIONS / DELETE
Returns 204 No Content with permissive MCP CORS headers (Access-Control-Allow-Origin: *).
GET
Returns 405 Method Not Allowed with Allow: POST, DELETE, OPTIONS (AlwaysOn uses stateless request/response Streamable HTTP without long-lived SSE sockets).
MCP-Protocol-Version
Optional request header. If sent, it must be one of 2025-11-25, 2025-06-18, 2025-03-26, 2024-11-05 (otherwise HTTP 400 JSON-RPC -32600).
Initialize handshake and tools/list via curl
curl -fsS -X POST "https://always-on.cloud/t/YOUR-WORKSPACE/mcp" \
  -H "Authorization: Bearer YOUR_CONNECTION_KEY" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -d '{"jsonrpc":"2.0","id":"1","method":"initialize","params":{"protocolVersion":"2025-11-25","capabilities":{},"clientInfo":{"name":"curl-demo","version":"1.0"}}}'

curl -fsS -X POST "https://always-on.cloud/t/YOUR-WORKSPACE/mcp" \
  -H "Authorization: Bearer YOUR_CONNECTION_KEY" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -d '{"jsonrpc":"2.0","id":"2","method":"tools/list","params":{}}'
Updated 2026-12-01 View as Markdown (.md)

Search AlwaysOn Memory Documentation

↑ ↓ navigate · ↵ open · Esc close Agents: /docs/mcp