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.
| Property | Value |
|---|---|
| Server URL | https://mcp.artio.so/mcp |
| Transport | http (Streamable HTTP) |
| Authentication | OAuth 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.
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.
- Open Artio in the Claude connector directory
(
osois Artio's former name). - Click Connect and sign in to Artio.
- On the Artio consent screen, choose the access level and the organizations.
If you are an
owneroradminand 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:
- Open Organization settings → Connectors.
- Click Browse connectors, find Artio and click Add to your team.
- 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:
- Open Customize → Connectors.
- Click + Add, then Add custom connector.
- Enter the name
Artioand the URLhttps://mcp.artio.so/mcp, then click Continue. - Keep the detected sign-in settings. Under OAuth client, keep Use Claude's published identity (Recommended). Click Add.
- 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.
-
Add the server for all your projects:
claude mcp add --transport http --scope user artio https://mcp.artio.so/mcpVerify with
claude mcp list. Before the sign-in,artioshows! Needs authentication. -
Start Claude Code, run
/mcp, selectartioand sign in in the browser.claude mcp login artiodoes the same from the shell. -
On the Artio consent screen, choose the access level and the organizations. If you are an
owneroradminand 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.
-
Add the server:
codex mcp add artio --url https://mcp.artio.so/mcpVerify with
codex mcp list: it listsartio. -
Sign in:
codex mcp login artio -
On the Artio consent screen, choose the access level and the organizations. If you are an
owneroradminand 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.
- Open chatgpt.com/plugins, click +, then Add custom MCP server.
- Enter the name
Artio. Under Connection, enter the server URLhttps://mcp.artio.so/mcp. - Choose OAuth. Leave any client ID and secret empty.
- Select I understand and want to continue, then Create as a plugin.
- Find the Artio plugin in your personal plugins (or in the workspace where you created it) and install it. Sign in to Artio.
- On the Artio consent screen, choose the access level and the organizations.
If you are an
owneroradminand 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.
- Open grok.com/connectors and click New Connector, then Custom.
- Enter the server URL
https://mcp.artio.so/mcp. Leave the client ID and secret empty. - 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
-
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 keyservers):{"mcpServers": {"artio": {"type": "http","url": "https://mcp.artio.so/mcp"}}} -
When the server starts, click Allow to let VS Code sign in.
-
On the Artio consent screen, choose the access level and the organizations. If you are an
owneroradminand 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.
-
Add the server:
opencode mcp add artio --url https://mcp.artio.so/mcp -
Open opencode, run
/mcps, selectartioand sign in.opencode mcp auth artiodoes the same from the shell. -
On the Artio consent screen, choose the access level and the organizations. If you are an
owneroradminand 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
-
Add the server:
pi mcp add artio --url https://mcp.artio.so/mcp -
Run
pi mcp login artio, or/mcp login artioin a pi session. pi opens the Artio sign-in page. -
On the Artio consent screen, choose the access level and the organizations. If you are an
owneroradminand 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.
The consent screen
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.

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

If your organization has not approved the app
- Click Request approval on the consent screen. You can add a reason.
- Close the tab. Stop the sign-in command that waits in your terminal (Ctrl+C). Your client stays not connected.
- 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.
- Sign in again from the client (for example
claude mcp login artioorcodex 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
- Log in to your account.
- Open your Artio organization's Settings → API keys.
- Click New Key +, enter a descriptive name and click Create.
- Copy the key and store it in a safe place. You cannot see it again.

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.
| Flag | Effect |
|---|---|
--scope local (default) | This project only, just you. |
--scope user | All your projects. |
--scope project | A 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 userunless 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
artioentry exists, runclaude 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 runclaude mcp listand check for✔ Connected. - In Codex, do the same with
codex mcp listandcodex 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.soandwww.artio.so. -
API key:
401 Unauthorized. The key is missing or malformed. The header must be exactlyAuthorization: Bearer <key>. -
API key: the server is not listed. In Claude Code, run
claude mcp listand add the server again with the correct--scope. In Codex, runcodex mcp listand check[mcp_servers.artio]in~/.codex/config.tomland thatOSO_TOKENis set. -
Is the server reachable? Run
curl -s -o /dev/null -w "%{http_code}\n" -X POST https://mcp.artio.so/mcp.401means 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.