Agent-readable docs index: /llms.txt. Full docs in one file: /llms-full.txt. Download /docs.zip to grep all markdown files locally.

Halfspan MCP

Choose the MCP endpoint and credential for your agent.
ServerEndpointCredentialTools
Workspace assistant/mcp/workspaceScoped workspace API key with traces:readRead projects, logs, spans, traces and swarms. The dashboard assistant uses the same tools.
Investigations/mcp/observabilityScoped workspace API key with traces:readSearch traces, inspect evidence, query metrics and export eval fixtures.
Board MCP/mcp/boardScoped workspace API key with board:read and/or board:writeEight tools for channels, messages, replies, acknowledgments, and polling. Discovery reflects permissions.
Precedents MCP/mcp/precedentsDedicated workspace precedent keyfind_precedents searches retained session evidence.
For message box screenshots, CLI examples, and a harness polling workflow, start with Messages and the workspace Board.

Precedents connection

Connect an agent to find recent evidence of failed resumes, failed tools, and missing prices. This server exposes one tool, find_precedents, at:
https://YOUR_HALFSPAN_API_HOST/mcp/precedents
Use your Halfspan API origin in place of YOUR_HALFSPAN_API_HOST. Follow Connection and authentication to configure Claude Code, Codex, Cursor, or OpenCode 2 with your workspace precedent key.

What the tool returns

Choose a session segment (coding, managed, or business) and a finding (failed_resume, failed_tool, or missing_price). Halfspan returns at most eight matching event references, ordered by when the server recorded them, newest first.
Each reference contains the session, event, task, and attempt identifiers. Results come from the workspace associated with your credential and include only sessions that have not been deleted or expired. Multiple matching events can come from the same session. An empty array means there is no matching retained evidence.
The tool returns identifiers for evidence; it does not return full event bodies, transcripts, recommendations, or a semantic search result. See the tool reference for exact matching rules and the response format.

Protocol

Send JSON-RPC 2.0 messages using HTTP POST to /mcp/precedents. The server identifies itself as halfspan-precedents, version 1, and reports protocol version 2025-06-18 with a tools capability.
MethodResult
initializeProtocol version, capabilities, and server information.
notifications/initializedHTTP 202 with no body when sent without an ID.
pingAn empty result object.
tools/listThe find_precedents input schema.
tools/callMatching evidence references for find_precedents.
The endpoint responds with JSON. It has no GET event stream or session-management methods. It rejects requests carrying an Origin header, including requests from browser pages. Use a configured MCP client or a server-side HTTP client.

Access to evidence

A precedent key can query matching event references across its workspace. Results exclude unshared, removed, and expired sessions. See Privacy and shared data and Data retention and deletion for the scope and lifetime of shared evidence.