The full upstream README, mirrored here for reference. Install config, tool schemas, adoption signals, and an original overview live on the Glasser listing page.
One key, no contract, pay per call, across paid APIs bought wholesale.
Official agent plugins for Glasser. This repository is a distribution package: configuration plus markdown. It ships no executable code and no install script.
Works with Cursor, Claude Code, Grok Build, and any client that reads the Agent Plugins format.
Search glasser under Customize → Plugins, or open the listing on the
Cursor Marketplace. The first call opens
your browser to sign in.
Detects every agent installed on the machine and installs to all of them.
/marketplace inside Grok Build once the plugin is listed. Until then, add
this repository under [[marketplace.sources]] in ~/.grok/config.toml; the
Grok Build docs have the syntax.
Any MCP client that signs in with OAuth needs just the URL:
Clients that cannot open a browser can send a Key instead — client-by-client snippets: https://glasser.ai/docs/mcp-server
Nothing to create or paste. The first tool call opens your browser: sign in
to Glasser, choose the Workspace whose balance the agent may spend, and click
Allow. That mints a Key named MCP · <client> for that Workspace — it is
listed at https://app.glasser.ai/keys like any other Key, and revoking it
there disconnects the client. Disconnecting inside the client does not
revoke the Key; the next sign-in reuses it.
The optional CLI authenticates on its own with glasser login (browser
device authorization). That stores a Key for the CLI only.
MCP tools — search, inspect, run, runs_get, runs_list,
runs_stop, balance. Only run creates a Run and charges the Workspace
balance; the other tools read the catalog, past Runs and the Balance. Every
Run reports its own charge.
Skill — the workflow the agent follows: search the catalog, inspect an Endpoint's Price and charge clauses before running, run, then report the result and the charge. It uses the MCP tools by default and the CLI for results too large for the context window, for scripting and for CI.
Rule (Cursor only) — always-on spending guardrails.
Optional CLI — npm install -g @glasser-ai/cli. Same Key, same
Workspace, same Balance. Docs: https://glasser.ai/docs/cli
For reviewers and anyone auditing what this plugin reaches.
| Endpoint | Used by | Credential |
|---|---|---|
https://api.glasser.ai/mcp | the MCP server config | the OAuth access token the client obtains at sign-in; the server resolves it to the MCP · <client> Key |
https://app.glasser.ai/api/auth | the client, at sign-in | OAuth authorization server: discovery, client registration, tokens |
https://app.glasser.ai | sign-in and the Workspace consent page; Key management; glasser login approval | your browser session |
https://api.glasser.ai/v1 | the optional CLI | Key stored by glasser login, or GLASSER_API_KEY |
https://registry.npmjs.org | the CLI's at-most-daily update check | none |
Nothing in this repository executes. The plugin sends no telemetry of its own. The service behind these endpoints is governed by Glasser's terms of service and privacy policy.
Releasing: see DISTRIBUTION.md.
MIT — see LICENSE. The Glasser service has its own terms.