Skip to main content
Glassray runs a customer-facing Model Context Protocol server so your coding agent can query your organization’s traces, flows, specs, and deviations - and trigger scans - right from your editor. Ask things like “what deviations did Glassray find this week?”, “show me the evidence for that one”, or “find traces where retrieval returned nothing.”
This is the product MCP server (your data, authenticated). Glassray’s docs also expose a separate, unauthenticated docs-search MCP - see Search these docs over MCP below.

Endpoint

It speaks streamable HTTP - point any MCP client that supports the HTTP transport at it.

Authentication

Two ways in, same tools:

OAuth (browser sign-in)

For Claude, Cursor, and claude.ai Connectors. Add the server URL and a browser sign-in pops on first use - no key to copy. A signed-in org member gets read and trigger tools.

API key

For CI and headless agents. Use an org key with mcp:read (gates the endpoint and every read tool); the trigger tools additionally require mcp:write.

Mint an API key

In the dashboard, go to Settings → API keys → MCP access and click Create MCP key (admin-only). Glassray mints an org key with both mcp:read and mcp:write, shows it once, and gives you a ready-to-paste connect command. Manage or revoke it from the key list on the same page. Auth failures map cleanly: 401 for a missing/invalid credential, 403 for a valid key without mcp:read, and 503 for a transient sign-in failure (retry - your key isn’t revoked).

Connect your client

OAuth (a browser sign-in pops on first use):
Or with an API key:

Tools

Read (require mcp:read)

Ask (require mcp:read)

These are the same primitives behind Ask Glassray - carry the working set by value (trace ids) from one call to the next.

Trigger (require mcp:write)

Trigger tools return immediately with an id - poll a run with get_run_status. List results are paginated (up to 50 per page); large documents come back as character-windowed excerpts you page through.

Search these docs over MCP

Separately from the product server above, these documentation pages expose an unauthenticated MCP server you can point an AI tool at to search the Glassray docs. It only reads this documentation - never your data.

Docs-search endpoint

https://glassray.ai/docs/mcp - no authentication.
Add it to Claude Code:
Any MCP client that supports the HTTP transport works - point it at the same URL.