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 issues and run custom evaluations right from your editor. Ask things like “what issues 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.

Install the Glassray plugin

Set up tracing and create and calibrate custom evaluators from your coding agent. The plugin connects to your Glassray workspace over MCP.
Start a new Claude Code session. Run /mcp, select plugin:glassray:glassray, and sign in to Glassray in your browser.
Try “Set up Glassray tracing for this repo.” If your traces are already flowing, try “Draft a Glassray evaluator for ISS-123,” using an issue number from your workspace. Local evaluator checks require Node.js and npx. See the plugin guide for how to update the plugin or resume calibration.

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

An investigation explores traces for potential issues. An evaluation runs an evaluator against traces to check for a known issue. Some MCP tool names still use deviation for an issue. Create a custom evaluator with create_evaluator. Use get_evaluator_guide for the local runner, or test a saved version on Glassray with run_evaluator_test.

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.