Choose your AI tool
Claude Code
Add Glasser from your terminal and sign in from Claude Code.
Codex
Connect local Codex clients with a shared MCP configuration.
Claude.ai
Connect Claude on the web or desktop, including Cowork.
ChatGPT
Connect Glasser as a plugin and use paid data in ChatGPT.
Manus
Connect Glasser and use paid data in your research and reports.
Cursor
Add Glasser to Cursor and enable it for your agent.
OpenCode
Add Glasser to your OpenCode config and sign in from the terminal.
VS Code
Add Glasser to GitHub Copilot Chat in VS Code.
Other clients
Connect by server URL or use an existing Glasser Key.
Already know your client’s setup?
Use this server URL and choose OAuth sign-in:Check the connection
Ask your AI tool:Manage access
Browser sign-in creates a Key namedMCP · <client> in your Workspace. To remove the client’s
access, revoke that Key on the Keys page.
Disconnecting or removing Glasser in the client alone does not revoke the Key.
Endpoint
Authorization: Bearer header.
Transport and authentication details
Transport and authentication details
The server is stateless and returns JSON responses. Each request includes
either a Key or an OAuth access token that resolves to a Workspace Key.OAuth clients discover the authorization server from
resource_metadata in
the WWW-Authenticate header of a 401 response. They need only the server URL
to start this flow.Tools
Glasser exposes seven tools. The Agent usessearch to discover Endpoints,
then inspect and run to retrieve data. Each Endpoint does not require a separate MCP tool.
Rules that keep spending safe
The server provides these instructions to the Agent, as the Skill does for CLI agents:- Use existing connections first. Use Glasser where your own Keys and integrations do not cover the request.
- Check before spending. Inspect the Price, start with small requests, and get approval before speculative, repeated, or bulk Runs.
- Retry with the same key. Keep the
idempotency_keyand execution parameters to retrieve the original Run without a second charge. - Read status and charge separately. Check
provider_responseandcharge_usd, even for aCOMPLETEDRun.
Retries and error responses
Retries and error responses
A replayed MCP Run includes
replayed: true. Amounts in charge_usd are exact
USD decimal strings. A Provider 404 can be a COMPLETED Run charged under the
Endpoint’s NO_RESULT rule.Provider errors remain in the Run’s provider_response.http_status and
provider_response.error. Check these fields even when the tool result has
no isError flag. Use runs_get for the full error body; runs_list returns
summaries.Actionable refusals, such as insufficient_balance, rate_limited, and
Policy restrictions, return tool results with isError. They are not protocol
errors. For rate limits, read retry_after_ms before retrying.