DocsConnect Astral to Claude and ChatGPT

Connect Astral to Claude and ChatGPT

Use your Astral workspace from Claude, Claude Code, ChatGPT, Codex or CI through the Astral MCP server. Connect, tools, approvals, limits and disconnect.

Astral has an MCP server at https://www.astralos.ai/mcp. Connect it to Claude, ChatGPT or another MCP client. The client can then search your workspace, read it, and ask your agents for work.

  • One connection is for one workspace. To use two workspaces, connect two times.
  • The client acts as you. It sees only what you can see in that workspace.
  • Only members can connect. Guests can not.

Claude (web, desktop and mobile)#

  1. In Claude, open Settings → Connectors.
  2. Select Add custom connector.
  3. Paste https://www.astralos.ai/mcp and select Add.
  4. Select Connect. Astral opens.
  5. Sign in to Astral if it asks you.
  6. Pick one workspace.
  7. Keep Act on to let Claude ask agents, make tasks and change the Library. Turn it off to let Claude only read.
  8. Select Allow. You go back to Claude.

Claude Code#

Run this command:

sh
claude mcp add --transport http astral https://www.astralos.ai/mcp

Then run /mcp in Claude Code, select astral and sign in. Astral opens in your browser. Do steps 5 to 8 of the Claude section.

ChatGPT#

  1. In ChatGPT, open Settings → Apps & Connectors.
  2. Turn on developer mode (under Advanced).
  3. Select Create.
  4. Type a name, for example Astral, and paste https://www.astralos.ai/mcp as the URL.
  5. Select OAuth as the authentication.
  6. Select Create, then connect. Do steps 5 to 8 of the Claude section.

Without a browser: an API key for MCP#

Use an API key for Codex, CI or a server, where no person can sign in.

  1. In Astral, open Settings → API keys and select New key.
  2. Set For to For MCP (Claude Code, Codex, CI).
  3. Choose Read or Read and act, and when the key expires.
  4. Select Create key and copy the key. You can not see it again.
  5. Send it in each request to https://www.astralos.ai/mcp:
text
Authorization: Bearer <key>

Claude Code with a key:

sh
claude mcp add --transport http astral https://www.astralos.ai/mcp --header "Authorization: Bearer $ASTRAL_MCP_KEY"

An MCP key works only on the MCP server. The Astral API (/api/v1) refuses it. An API key for /api/v1 does not work on the MCP server.

A key acts as you in the workspace where you made it. It stops when you revoke it, when it expires, when you leave the workspace, or when an admin turns off Outside AI apps.

Tools#

ToolNeeds ActWhat it does
searchNoSearches your workspace.
fetchNoReads one item by id: a Library item, a task, a chat or an agent.
list_agentsNoLists the agents you can use. It marks your main agent.
list_tasksNoLists tasks. Filter by status or assignee.
library_listNoLists the items of a Library folder.
list_needs_youNoLists the decisions and approvals that wait for you, each with its Astral link.
get_replyNoGets new agent messages in a chat. It waits up to 60 seconds.
ask_agentYesSends your message to an agent and waits up to 120 seconds for the reply. The chat shows in Astral.
create_task, update_taskYesMakes a task, or adds a note to a task, cancels it or closes it.
library_create, library_updateYesMakes a document or HTML item, or changes one.

Some tools come in steps. Your client shows the tools that the server has now.

Approvals#

Astral rules stay on. When an action needs your approval, the tool gives a link. Open the link, and approve or deny in Astral. Then ask the client to do the action again. It runs one time.

Limits and credits#

  • A connection is free. The work costs what it costs in Astral (agent turns, media, paid tools). The workspace of the connection pays.
  • Each connection can use at most 20 credits a day.
  • When the workspace has no credits, the tool gives an error with a link to Billing.

Disconnect#

  • You: open Settings → Connected apps and select Disconnect. The next request of the client fails. To stop a key, open Settings → API keys and revoke it.
  • Owners and admins: open Settings → Access. The switch Outside AI apps turns off every connection and every MCP key of the workspace. You also see each connection of the workspace there.

The Event Log shows the work of each connection, for example "via Claude".