QSL agents

MCP API

The public MCP-over-HTTP endpoint exposes the same retrieval service through JSON-RPC. Use it when you have an MCP-capable client or agent runtime.

Endpoint: https://agents.quantumsoftwarelab.com/mcp

Transport

Send JSON-RPC requests with POST /mcp. Notifications that do not require a response return HTTP 202 with an empty body.

Implemented methods

Available tools

ToolUse
sourcesList enabled datasources.
sourceReturn one datasource's metadata.
documentsList documents in one datasource with bounded metadata filters.
documentFetch one stable document by document_id.
sectionsList sections for one document.
searchSearch passages by query, datasource, mode, limit, and optional document/section scope.
passageFetch one stable passage by passage_id.

Example: list tools

curl -fsS   -H 'Content-Type: application/json'   -d '{"jsonrpc":"2.0","id":1,"method":"tools/list","params":{}}'   https://agents.quantumsoftwarelab.com/mcp

Example: document browse tool call

curl -fsS   -H 'Content-Type: application/json'   -d '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"documents","arguments":{"datasource":"qsl-papers","author":"hopper","limit":5}}}'   https://agents.quantumsoftwarelab.com/mcp

Example: scoped search tool call

curl -fsS   -H 'Content-Type: application/json'   -d '{"jsonrpc":"2.0","id":3,"method":"tools/call","params":{"name":"search","arguments":{"datasource":"qsl-papers","document_id":"paper-a","query":"quantum software","mode":"keyword","limit":2}}}'   https://agents.quantumsoftwarelab.com/mcp

When to use MCP