Skip to main content

Overview

oxyc mcp serves your Oxygen deployment’s API to MCP clients over stdio. It authenticates to the deployment the same way every other oxyc command does, so an assistant can do what that credential can do: read the semantic model, run queries and automations, and work with custom apps.
The older oxy mcp stdio and oxy mcp sse commands, which served a local project checkout, have been removed. Use oxyc mcp instead.

Install

oxyc is Oxy’s command-line client (Node 20+):

Starting the MCP server

The server’s credential is the token in OXY_TOKEN and nothing else. With the variable unset it exits with code 4 before serving a tool, rather than running on whatever oxyc login is cached on the machine. To serve on your own login, start it with --login.
Example configuration for Claude Desktop:

Tools

Rather than one tool per endpoint, oxyc mcp serves four generic tools, so the tool list stays small and reaches endpoints added after the package shipped:
  • oxy_routes — search the deployment’s API routes
  • oxy_schema — the request and response schema of a route
  • oxy_request — call a route
  • oxy_whoami — who the credential is
Two groups of purpose-built tools sit alongside them, for loops an agent runs unsupervised: the custom-app sandbox loop (oxy_env_*, oxy_publish_sandbox, oxy_fn_call, oxy_checks_run, oxy_invocations_*, oxy_logs) and workspace previews (oxy_preview_*). Delete tools need confirm: true. A sandbox agent token (oxy_sbx_…) is served a smaller list: the sandbox loop, oxy_whoami, the sandbox secret tools and oxy_token_revoke. The full reference is the oxyc README in @oxy-hq/cli.