OXYGENOxygen/ Docs
Surfaces

MCP & AI agents

Oxygen exposes workspace primitives as MCP tools prefixed `oxygen_*`.

Oxygen runs a hosted MCP server at https://oxygen-agent.com/mcp. Claude Desktop, Claude Code, Codex, and other MCP-capable clients can use it to operate the same primitives exposed by the CLI: orgs, context, tables, columns, tools, runs, billing, integrations, and workflows.

The expected flow is:

  1. Call oxygen_whoami.
  2. Select an organization if needed with oxygen_orgs_select.
  3. Resolve context with oxygen_context_resolve.
  4. Do GTM work through table, tool, column, run, workflow, or integration tools.
  5. Use returned web_url values and ui:// widgets to inspect results.

Connecting a client

For Claude Desktop, add a custom connector pointing at:

https://oxygen-agent.com/mcp

Sign in when the OAuth flow opens. Then ask Claude to run oxygen_whoami and oxygen_tables_list.

For clients that need a bearer token, create a CLI API key in Oxygen and configure the MCP client to send it as Authorization: Bearer <token>:

oxygen api-keys create --name "mcp client" --json

Do not paste API keys into prompts or docs. Store them in the client's credential or connector configuration.

Tool naming

MCP tools use the oxygen_ prefix and mirror the CLI/API surface.

WorkMCP tools
Identity and orgsoxygen_whoami, oxygen_orgs_list, oxygen_orgs_select
Contextoxygen_context_resolve, oxygen_context_profile_get, oxygen_context_profile_update, oxygen_context_assets_list
Tablesoxygen_tables_list, oxygen_tables_describe, oxygen_tables_preview, oxygen_tables_query, oxygen_tables_create, oxygen_rows_upsert
Columns and runsoxygen_columns_add, oxygen_columns_run, oxygen_enrich_column_preview, oxygen_enrich_column_run, oxygen_table_runs_get, oxygen_table_runs_items
Toolsoxygen_tools_search, oxygen_tools_get, oxygen_tools_run_dry, oxygen_tools_run_live
Workflowsoxygen_workflows_schema, oxygen_workflows_apply, oxygen_workflows_call, oxygen_workflows_runs, oxygen_workflows_tail
Integrationsoxygen_integrations_list, oxygen_integrations_connect, oxygen_integrations_list_actions, oxygen_integration_events_list
Billing and observabilityoxygen_billing_balance, oxygen_billing_usage, oxygen_observability_events

Use tools/list or oxygen_widgets_list for the complete current tool and widget list.

Widgets

Tools whose output benefits from visual inspection return ui:// widgets as well as readable text and structured JSON.

WidgetUsed for
oxygen.table-previewTable previews, table queries, and table descriptors
oxygen.table-import-summaryRow upserts and imports
oxygen.run-timelineTable action runs, table ingestions, enrichment runs, and workflow runs
oxygen.provider-summaryProvider attempt and credit breakdowns
oxygen.context-profileWorkspace context readiness
oxygen.billing-balance / oxygen.billing-usageCredit balance and usage
oxygen.workflow-overviewWorkflow definitions
oxygen.reviews-queue / oxygen.reviews-cardHuman review queues for AI-generated outreach
oxygen.lead-sourcing-plan / oxygen.lead-sourcing-auditTAM planning and sourced-table quality checks

Widgets are inspection surfaces. The JSON result remains the source an agent should use for ids, cursors, and retry commands.

Large files

Do not send large CSV, JSON, JSONL, or XLSX files through an MCP prompt. Use the CLI handoff tool:

oxygen_cli_file_import_prepare

It returns a local oxygen tables import ... --background command so the file stays on the user's machine and the resulting ingestion run remains inspectable in Oxygen.

Safety in MCP calls

oxygen_tools_run_dry previews a tool call without spending credits. oxygen_tools_run_live, oxygen_columns_run on paid columns, enrichment runs, and external writes should be called only after the user approves the scope and credit ceiling.

For bulk work, prefer table or enrichment runs over many one-off live tool calls. Runs produce timelines, failed-item lists, provider summaries, billing entries, and web deep-links.

On this page