Model Context Protocol (MCP)

MCP is an open standard for connecting AI assistants to external tools and data sources. Polysystems provides MCP servers that expose platform features — secrets, documents, and more — to any MCP-compatible client.

How MCP Works

MCP uses JSON-RPC 2.0 over Server-Sent Events (SSE) for communication. The server exposes three primitives:

PrimitiveDescriptionExample
ToolsActions the AI can performsecrets_get, secrets_set
ResourcesRead-only data sourcessecrets://vault, secrets://env
PromptsPre-built prompt templatessecrets_setup_env, secrets_audit

Available Servers

Transport

Polysystems MCP servers use the SSE + HTTP transport:

  • GET /mcp/secrets/sse — SSE event stream with 30s keepalive
  • POST /mcp/secrets/message — JSON-RPC request endpoint

Supported Methods

MethodDescription
initializeHandshake and capability exchange
tools/listList available tools
tools/callExecute a tool
resources/listList available resources
resources/readRead a resource
prompts/listList available prompts
prompts/getGet a prompt with arguments
NextIntroduction