Skip to main content

MCP Server

The Artio MCP server lets AI agents use the Artio data platform with the access that you give them. Your agent can query your data and give data tasks to Artio agents, the agents that run inside Artio. The server uses the Model Context Protocol over Streamable HTTP.

You need an Artio account that is a member of at least one Artio organization. Log in or sign up. To start a new organization, use Create organization. To become a member of an organization, ask one of its admins to invite you.

PropertyValue
Server URLhttps://mcp.artio.so/mcp
Transporthttp (Streamable HTTP)
AuthenticationOAuth sign-in (recommended) or an API key

Connect your agent: Claude · Claude Code · Codex · ChatGPT · Grok · other clients · For admins: approve or deny apps · For AI agents.

Your Artio organization must approve each app

An owner or admin approves each app (Claude, Codex and the others) once, with Approve as admin on the consent screen. Until then, a member sees the Authorize button turned off, the line "Ask an admin of <org> to approve this app." and a Request approval button. See If your organization has not approved the app.

Connect Claude​

For Claude on the web and in the desktop app.

  1. Open Artio in the Claude connector directory (oso is Artio's former name).
  2. Click Connect and sign in to Artio.
  3. On the Artio consent screen, choose the access level and the organizations. If you are an owner or admin and an organization shows Approve as admin, click it and confirm. Then click Authorize.

What's next: in a chat, click +, open Connectors and turn on Artio. Then ask "What Artio tools do you have?".

Claude Team or Enterprise, or a custom connector

On a Claude Team or Enterprise plan, a Claude Team or Enterprise owner (not your Artio admin) adds Artio first:

  1. Open Organization settings → Connectors.
  2. Click Browse connectors, find Artio and click Add to your team.
  3. Each member then opens Customize → Connectors, finds Artio, clicks Connect and signs in to Artio.

If Artio is not in the directory, add it as a custom connector:

  1. Open Customize → Connectors.
  2. Click + Add, then Add custom connector.
  3. Enter the name Artio and the URL https://mcp.artio.so/mcp, then click Continue.
  4. Keep the detected sign-in settings. Under OAuth client, keep Use Claude's published identity (Recommended). Click Add.
  5. Click Connect and sign in to Artio.

On a Claude Team or Enterprise plan, the owner adds the custom connector in Organization settings → Connectors: click Add, point to Custom and select Web.

Connect Claude Code​

For the Claude Code command-line tool.

  1. Add the server for all your projects:

    claude mcp add --transport http --scope user artio https://mcp.artio.so/mcp

    Verify with claude mcp list. Before the sign-in, artio shows ! Needs authentication.

  2. Start Claude Code, run /mcp, select artio and sign in in the browser. claude mcp login artio does the same from the shell.

  3. On the Artio consent screen, choose the access level and the organizations. If you are an owner or admin and an organization shows Approve as admin, click it and confirm. Then click Authorize.

Verify with claude mcp list: it shows ✔ Connected. If the Artio tools do not appear in a running session, restart Claude Code. To change the level, sign in again.

What's next: ask "What Artio tools do you have?".

If the consent screen shows Request approval, see If your organization has not approved the app. To use an API key instead, see Use an API key.

Connect Codex​

For the Codex command-line tool.

  1. Add the server:

    codex mcp add artio --url https://mcp.artio.so/mcp

    Verify with codex mcp list: it lists artio.

  2. Sign in:

    codex mcp login artio
  3. On the Artio consent screen, choose the access level and the organizations. If you are an owner or admin and an organization shows Approve as admin, click it and confirm. Then click Authorize.

Verify: start Codex and ask "What Artio tools do you have?". Codex lists the Artio tools.

If the consent screen shows Request approval, see If your organization has not approved the app. To use an API key instead, see Use an API key.

Connect ChatGPT​

For ChatGPT on the web. Your ChatGPT workspace permissions apply: if you cannot add a custom MCP server, ask your workspace admin.

  1. Open chatgpt.com/plugins, click +, then Add custom MCP server.
  2. Enter the name Artio. Under Connection, enter the server URL https://mcp.artio.so/mcp.
  3. Choose OAuth. Leave any client ID and secret empty.
  4. Select I understand and want to continue, then Create as a plugin.
  5. Find the Artio plugin in your personal plugins (or in the workspace where you created it) and install it. Sign in to Artio.
  6. On the Artio consent screen, choose the access level and the organizations. If you are an owner or admin and an organization shows Approve as admin, click it and confirm. Then click Authorize.

What's next: in a chat, type @, select Artio, and ask "What Artio tools do you have?". If Artio adds tools later, open the plugin's settings and click Refresh.

If the consent screen shows Request approval, see If your organization has not approved the app.

Connect Grok​

For Grok on the web.

  1. Open grok.com/connectors and click New Connector, then Custom.
  2. Enter the server URL https://mcp.artio.so/mcp. Leave the client ID and secret empty.
  3. Sign in to Artio. On the consent screen, choose the access level and the organizations, then click Authorize.

Grok Bot​

Send this message to Grok Bot:

Please follow the instructions on this page to set up a custom MCP server:
https://docs.artio.so/docs/mcp/#grok-bot

Add it as a custom server with these values:
- Name: artio
- URL: https://mcp.artio.so/mcp
- Authentication: OAuth. Leave the client ID and the client secret empty.

Then show me the Authorize card, so I can sign in to Artio.

Click Authorize on the card that Grok Bot shows, and sign in to Artio. On the consent screen, choose the access level and the organizations, then click Authorize.

Grok Bot signs in as Cursor, so the consent screen and Settings → Third-party access show the app as Cursor.

Example prompts​

  • "List my Artio organizations."
  • "Show the datasets in my organization <org>."
  • "Run this SQL in <org> and show the first 10 rows: SELECT ..."
  • "Ask an Artio agent to describe the tables in the dataset <dataset>."

Other clients​

VS Code​

  1. Click Add Artio to VS Code, then Install Server. To add it by hand, put this in ~/.copilot/mcp-config.json (older VS Code versions read .vscode/mcp.json, with the key servers):

    {
    "mcpServers": {
    "artio": {
    "type": "http",
    "url": "https://mcp.artio.so/mcp"
    }
    }
    }
  2. When the server starts, click Allow to let VS Code sign in.

  3. On the Artio consent screen, choose the access level and the organizations. If you are an owner or admin and an organization shows Approve as admin, click it and confirm. Then click Authorize.

Verify: in Copilot Chat agent mode, ask "What Artio tools do you have?". Copilot lists the Artio tools.

Cursor​

Add the server to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (one project):

{
"mcpServers": {
"artio": {
"url": "https://mcp.artio.so/mcp"
}
}
}

Open Cursor Settings → MCP. Next to artio, click Login and sign in to Artio. On the consent screen, choose the access level and the organizations, then click Authorize.

opencode​

For opencode 2.

  1. Add the server:

    opencode mcp add artio --url https://mcp.artio.so/mcp
  2. Open opencode, run /mcps, select artio and sign in. opencode mcp auth artio does the same from the shell.

  3. On the Artio consent screen, choose the access level and the organizations. If you are an owner or admin and an organization shows Approve as admin, click it and confirm. Then click Authorize.

Verify with opencode mcp list: it shows needs authentication before the sign-in and connected after it.

What's next: ask "What Artio tools do you have?".

Do not set oauth.client_id or oauth.redirect_uri for this server, because either one turns off this sign-in.

pi​

  1. Add the server:

    pi mcp add artio --url https://mcp.artio.so/mcp
  2. Run pi mcp login artio, or /mcp login artio in a pi session. pi opens the Artio sign-in page.

  3. On the Artio consent screen, choose the access level and the organizations. If you are an owner or admin and an organization shows Approve as admin, click it and confirm. Then click Authorize.

Verify with pi mcp list: it shows artio as connected, with its tools.

Clients without OAuth sign-in​

Other clients, such as Windsurf, Gemini CLI, OpenClaw, opencode 1 or your own agents, cannot use this sign-in. Connect them with an API key, or with an OAuth app that your Artio organization publishes (see Publish an application). For OpenClaw, add the server and the key as the OpenClaw MCP docs describe, and store the key with OpenClaw's secret support.

Access and approvals​

Claude, Claude Code, Codex, ChatGPT, VS Code, opencode, pi (https://pi.dev), Cursor (https://cursor.com) and Grok (https://grok.com) sign in with OAuth. You paste no API key or client ID, and the client receives only the access that you choose.

Every sign-in shows a consent screen. On it you:

  • pick an access level: Read only, Read & write, or Choose for each resource to set read or write per resource;
  • choose All approved organizations or Only the organizations I select.

The Artio consent screen for Claude (https://claude.ai). Read only and All approved organizations are selected. One organization has an Approve as admin button, another shows Approved, and the Authorize button is at the bottom.

Screenshot: the Artio consent screen

An owner or admin turns an app on for all members of an Artio organization with Approve as admin, after this confirmation:

The dialog &quot;Approve the app for example-team?&quot; with the buttons No and Yes, approve

Screenshot: the approval dialog

If your organization has not approved the app​

  1. Click Request approval on the consent screen. You can add a reason.
  2. Close the tab. Stop the sign-in command that waits in your terminal (Ctrl+C). Your client stays not connected.
  3. Ask an admin of that Artio organization to approve the app in Third-party access. The admins receive an email about your request. You receive no email when an admin approves, so ask the admin to tell you.
  4. Sign in again from the client (for example claude mcp login artio or codex mcp login artio).

The consent screen then shows that the app is approved, Request sent while admins decide, or Blocked by your organization if an admin denied it.

Manage apps (admins)​

An owner or admin manages apps in the Artio organization menu → Settings → Third-party access. The list shows approved apps, denied apps and open requests. Each app shows its own name, with its web address below. An app that an Artio organization publishes shows "Published by" and that organization. ChatGPT and Codex use the same web address, but they are two apps with two rows.

Members cannot use an app until an admin approves it, so a new app is off. To block an app for good, deny it when it appears here, after a member connects or requests it.

  • Approve a request to turn the app on for all members.
  • Revoke an approved app to remove its access. Members can ask for it again.
  • Deny an app or a request. A denied app has no access in the organization, and its existing tokens stop working there.
  • Remove block on a denied app. The app is then not approved, and an admin must approve it again.
  • Grant access to an app approves an app that you connected for one of your other Artio organizations.

The consent screen shows a denied app as Blocked by your organization. No one can approve it there until an admin removes the block.

Approvals and denials apply only to apps that sign in with OAuth. An API key is a different credential: a member creates it in Settings → API keys, and it acts as that member with the key's own access. To stop a key, revoke it on the API keys page.

Use an API key​

Use an API key for clients that cannot sign in with OAuth, or for scripts and headless use.

Generate an API key​

  1. Log in to your account.
  2. Open your Artio organization's Settings → API keys.
  3. Click New Key +, enter a descriptive name and click Create.
  4. Copy the key and store it in a safe place. You cannot see it again.

The API keys page in Artio organization settings, with the New Key button

Screenshot: the API keys page
warning

Treat your key like a password: it grants access to your Artio data. Never paste it into a chat, commit it to git or put it into shared config. The examples below read it from the environment variable OSO_TOKEN (OSO is Artio's former name). Any variable name works.

Any other client​

Clients such as Windsurf or Gemini CLI take a server entry with a URL and a header. The format of the file differs per client; the values are:

URL: https://mcp.artio.so/mcp
Header: Authorization: Bearer <key>

Take the key from an environment variable if the client supports it. Do not write the key into a file that you share or commit.

Claude Code​

For scripts or headless use:

claude mcp add --transport http --scope user artio https://mcp.artio.so/mcp \
--header 'Authorization: Bearer ${OSO_TOKEN}'

The single quotes keep ${OSO_TOKEN} as text, so the key does not go into the config file. Claude Code reads OSO_TOKEN from the environment when it connects. Set it in your shell before you start Claude Code.

FlagEffect
--scope local (default)This project only, just you.
--scope userAll your projects.
--scope projectA shared .mcp.json file that you can commit. Keep the key in an environment variable.

Verify with claude mcp list: it shows ✔ Connected. See the Claude Code MCP docs for more.

Codex CLI​

For scripts or headless use:

codex mcp add artio --url https://mcp.artio.so/mcp \
--bearer-token-env-var OSO_TOKEN

Codex sends the value of OSO_TOKEN as the key. Set it in your shell first. The command writes this entry to ~/.codex/config.toml:

[mcp_servers.artio]
url = "https://mcp.artio.so/mcp"
bearer_token_env_var = "OSO_TOKEN"

Verify with codex mcp list, or with /mcp in Codex. See the Codex MCP docs for more.

Available tools​

Your agent can list your Artio organizations (the GetViewer tool), list datasets, inspect schemas, run SQL and give data tasks to Artio agents. Ask your agent "What Artio tools do you have?" to see the current set.

Safety​

  • Artio tools can read and change your data.
  • Text in your data or in web pages can carry instructions meant for the agent.
  • Review each tool call before it runs.
  • Choose Read only on the consent screen when you do not need changes.

For AI agents​

If a user asks you to set up the Artio MCP server, follow these rules. A user can start with this prompt: "Set up the Artio MCP server for me using https://docs.artio.so/docs/mcp.md".

  • Use OAuth. Never ask the user to paste an API key into the chat, and never write a key into a file that goes into version control.
  • Use the section for the tool that you run in: Claude Code, Codex, VS Code, opencode or pi.
  • In Claude Code, use --scope user unless the user asks for another scope.
  • You cannot see the consent screen. Before the sign-in, tell the user: "If the screen shows Request approval, click it and tell me."
  • If an artio entry exists, run claude mcp list. If it shows ✔ Connected, stop: it is set up. If it shows ! Needs authentication, go to the sign-in. Ask the user before you remove an entry, because it can hold their API key.
  • Run claude mcp login artio. Give the user the URL that it prints, and wait until the user says that the sign-in is done. Then run claude mcp list and check for ✔ Connected.
  • In Codex, do the same with codex mcp list and codex mcp login artio.
  • If the user says that the screen shows Request approval or Blocked by your organization, stop. Tell the user that an Artio admin must approve the app.
  • If the Artio tools are not loaded after the sign-in, tell the user to restart the client, then ask "What Artio tools do you have?".

Troubleshooting​

  • The consent screen shows Request approval. No admin has approved the app in that Artio organization. See If your organization has not approved the app.

  • The app is not in my organization's Third-party access. You approved a different Artio organization, or no one in this organization has connected or requested the app yet. Open Account Settings → Connected apps and read Works in.

  • Too many organizations, or the wrong one. Open Account Settings → Connected apps, read Works in, and click Disconnect. Then sign in again and choose Only the organizations I select.

  • I want to remove an app from my account. Open Account Settings → Connected apps and click Disconnect.

  • I want to change the access level. Sign in again from the client and choose the new level.

  • My company network blocks the server. Ask your network team to allow HTTPS to mcp.artio.so, api.artio.so and www.artio.so.

  • API key: 401 Unauthorized. The key is missing or malformed. The header must be exactly Authorization: Bearer <key>.

  • API key: the server is not listed. In Claude Code, run claude mcp list and add the server again with the correct --scope. In Codex, run codex mcp list and check [mcp_servers.artio] in ~/.codex/config.toml and that OSO_TOKEN is set.

  • Is the server reachable? Run curl -s -o /dev/null -w "%{http_code}\n" -X POST https://mcp.artio.so/mcp. 401 means that the server is reachable and asks for a sign-in.

Old server URL​

Connectors saved with the old https://mcp.oso.xyz/mcp URL keep working.