---
title: "Connect Codex | Annsa Docs"
product: annsa
url: /docs/connect-codex
canonical_url: "https://annsa.ai/docs/connect-codex"
last_updated: 2026-11-22
type: doc
related:
  - /docs/connect-grok
  - /feedback
summary: Connect Codex to Annsa with one command, sign in through the browser, and ask what to work on. Includes how to re-authenticate.
mcp_server: https://app.annsa.ai/mcp
disambiguation: "Annsa (annsa.ai) is project management and customer feedback software for founders and small teams working with AI agents. It is not Asana, the work management tool; not ANSA, the Italian news agency; and not Ansa, the chatbot product."
---

> For agents: connect to the Annsa MCP server at https://app.annsa.ai/mcp to give every agent one shared plan. Setup guide: https://annsa.ai/docs/quick-start. Index of every page: https://annsa.ai/llms.txt.

# Connect Codex | Annsa Docs

> Connect Codex to Annsa with one command, sign in through the browser, and ask what to work on. Includes how to re-authenticate.

[Docs / Connect your agent](https://annsa.ai/docs)

One command, one browser sign-in, and Codex reads your priorities.

## 01 Run this

In your terminal, run:

```
codex mcp add annsa --url https://app.annsa.ai/mcp
```

Codex opens your browser to sign in. If it doesn't, run:

```
codex mcp login annsa
```

Or add it by hand. Put this in `~/.codex/config.toml`:

```
[mcp_servers.annsa]
url = "https://app.annsa.ai/mcp"
auth = "oauth"
```

Then run `codex mcp login annsa`. Added by hand, Codex doesn't sign in on its own: until you run it, Annsa shows as not logged in.

## 02 Sign in

Adding Annsa, or running `codex mcp login annsa`, opens Annsa's sign-in in your browser. Approve once. There's no API key to paste. Codex signs in as you, with your full rights. See [What your agent can do](https://annsa.ai/docs/agent-access). All Codex sessions share this sign-in.

## 03 Check it worked

Ask Codex for your priorities. The reply names the environment, host and workspace. It should say production, app.annsa.ai and your workspace. If it says anything else, stop and fix the connection before your agent writes anything.

## 04 Choose what runs without asking

Five Annsa tools can change things. Let `annsa.work` and `annsa.file` run without asking. Approve `annsa.decide`, `annsa.board` and `annsa.share` each time, because they change what you decided or what your customers hear.

Allow without asking:

- `annsa.work`: Do the work on a priority, and settle routine asks with undo.
- `annsa.file`: Add what a customer said, what an agent found, or a new idea.

Approve each time:

- `annsa.decide`: Record a decision: your answer, a spec edit, or a rule.
- `annsa.board`: Arrange the board. A merge retires numbers for good.
- `annsa.share`: Tell the customers who asked that it shipped. Emails can't be unsent.

The reads (`annsa.priorities`, `annsa.spec`, `annsa.ask`) change nothing, so allow those too. [Every tool](https://annsa.ai/docs/tools-and-verbs).

**Your call:** what your agent does without asking.

## 05 Try this first

Ask: _what should I work on?_ You get your ranked list, with why each priority ranks where it does. Then: _show me the spec for #N, and claim it if nobody else has._

## 06 If it doesn't connect

**Server not listed:** run `codex mcp list`. If annsa is missing, run the add command again, or check that the section header is exactly `[mcp_servers.annsa]` in `~/.codex/config.toml`.

**Auth loop:** check the `url` line. Then run `codex mcp login annsa` and read the error.

**Unauthorized or expired:** run `codex mcp login annsa` again.

**Codex in the ChatGPT app:** it reads the same `~/.codex/config.toml`. If Annsa shows as not logged in there, run `codex mcp login annsa` in a terminal, then start a new Codex session.

**Empty list:** a new workspace has nothing to rank yet. Bring in [your feedback](https://annsa.ai/docs/importing-feedback).

- [Connect your agent](https://annsa.ai/docs/using-with-coding-tools)

## Keep reading

- [](https://annsa.ai/docs/connect-grok)
- [Customer feedback tool Know who asked, what got built, and what they were told.](https://annsa.ai/feedback)

## Related pages

> For AI agents: the pages that follow this one on annsa.ai. The full index is https://annsa.ai/llms.txt.

- [Connect Grok](https://annsa.ai/docs/connect-grok)
- [Customer feedback tool: who asked, what shipped](https://annsa.ai/feedback)

If anything on this page is wrong or missing, tell us: https://annsa.ai/contact
