Connect Zalcro to Codex via MCP

Connect OpenAI Codex to Zalcro through MCP and retrieve software architecture, implementation plans and structured coding tickets across development sessions.

Last updated

This guide shows you how to prepare and hand off your Zalcro implementation plan to your chosen AI coding tool. The actual implementation is performed by that tool. Zalcro does not control or guarantee the code generated, its functionality, security or deployment outcome.

OpenAI Codex is an AI coding agent. It reads your application's code, makes changes, runs commands and works through development tasks you give it, on your computer or in the cloud.

Zalcro is an AI app planning tool. It helps you define what your application should do, design its software architecture and break the work into phased implementation tickets. Zalcro plans the work. Codex writes the code.

This guide shows you how to connect Codex to your Zalcro project through Model Context Protocol (MCP), so each Codex task can read your architecture and implementation tickets when you ask for them. You will check that the connection works without changing any code.

You do not need any experience with MCP or with editing configuration files.

Last checked

We checked the Codex details in this guide against OpenAI's official Codex documentation on 2 December 2026. The documentation has moved from developers.openai.com to learn.chatgpt.com, and commands and screens may have changed since.

How do you give OpenAI Codex persistent project context?

To give Codex persistent project context, maintain your application's planning information independently of individual coding tasks.

Through Zalcro MCP, Codex can request the relevant software architecture, implementation plan and generated coding tickets when beginning a development task.

This makes the application's intended design available alongside the repository context and instructions for the current task.

Why plan your application before using Codex?

Codex can implement development tasks using instructions and repository context. Planning your application first helps establish the technical decisions, component relationships and implementation dependencies that those tasks should follow.

Zalcro generates the application architecture and structured implementation instructions before they are handed to Codex.

This guide explains how to make those planning resources available through MCP. For the broader development methodology, see Understand phases, implementation tickets and dependencies.

What is MCP in Codex?

The Model Context Protocol (MCP) is a standard that allows compatible AI applications to access external information and tools.

With Zalcro MCP, Codex can retrieve supported application planning resources when you ask for them, rather than requiring you to transfer the same documents manually for each development task.

How Zalcro and Codex work together

Zalcro provides your application's software architecture, implementation plan and structured coding tickets.

Codex works with the application repository and performs the development tasks you assign.

MCP makes supported Zalcro planning resources available to Codex. It does not automatically select development tasks, update the application's code or verify implementation results.

Codex reads your code directly, AGENTS.md at the start, and your plan through MCP

Task context vs. persistent planning context

Building an application with Codex usually means many separate tasks. Each task needs enough information to fit its work into the whole application.

Task context Persistent planning context
The instructions for one task Your maintained application architecture
The files that task touches Technical decisions and constraints
What was said in that session Planned parts and features
The immediate goal The phased implementation plan
The environment the task runs in Implementation tickets and their dependencies

Task context ends with the task. Persistent planning context stays in Zalcro, so the next task can read the same plan. It does not replace the current code, the task's instructions or the history of what has been built.

What can Codex read from Zalcro?

Through Zalcro MCP, your coding agent can list available projects, select a project and retrieve its generated Architecture Design Document, implementation plan and phase-specific implementation tickets.

The integration provides read-only access to planning resources. It does not expose your architecture diagram or Prompt Pack, and it does not execute coding tasks.

On the Starter plan, implementation plan and ticket retrieval is limited to Phase 1. The Builder plan includes all generated implementation phases and tickets.

For the complete resource retrieval and ticket assignment workflow, see Work with implementation tickets using MCP.

Before you begin

You will need:

  • A Zalcro account with a project that has a generated Architecture Design Document.
  • Generated implementation tickets for at least one phase, if you want to check ticket access.
  • The Codex CLI installed on your computer and signed in. See OpenAI's Codex CLI documentation for installation and sign-in.
  • Your application's project folder or repository on your computer.
  • An internet connection.

Your repository can be almost empty. You do not need any code to connect Zalcro.

If you have not planned an application yet, browse Zalcro Samples to see what a finished architecture, plan and set of tickets look like.

Every step checks access. None of them writes code.

Step 1: Choose where you will run Codex

Codex runs in two kinds of places, and they are set up separately.

Where Codex runs What it works on Zalcro MCP in this guide
On your computer, through the Codex CLI or another local Codex app The project folder on your computer Yes. This guide sets it up.
In Codex cloud, as cloud tasks A copy of your GitHub repository in a remote environment Not covered. See Local Codex vs. Codex cloud.

This guide uses the Codex CLI on your computer, because that is where you add MCP servers and sign in.

Step 2: Check that Codex is ready

  1. Open a terminal.

  2. Run this command:

    Bash
    codex --version

    You should see a version number. If your terminal says the command is not found, install Codex using OpenAI's Codex CLI documentation, then open a new terminal and try again.

  3. Go to your application's project folder. Replace YOUR_PROJECT_FOLDER with the folder's path:

    Bash
    cd YOUR_PROJECT_FOLDER

    Use the application's own folder, not a parent folder that holds several projects.

Leave Codex closed for now. You add Zalcro from the terminal first.

Step 3: Get the Codex instructions from Zalcro

Zalcro shows the commands for Codex in the app.

  1. Sign in to Zalcro and open your project.

  2. Open the Connect to agent (MCP) window. You can reach it in two ways:

    • With your Architecture Design Document, implementation plan or tickets open, open the Export menu and select Connect to agent (MCP).
    • Open your profile menu, select Integrations, then select Set up on the MCP card.
  3. Select the Codex tab.

    You should see two commands under Connect Codex, and an API key option further down.

The commands hold no password or key. They only tell Codex where Zalcro's MCP server is. You sign in separately in Step 5.

The Codex tab shows the commands to run

Step 4: Add Zalcro to Codex

  1. In your terminal, run:

    Bash
    codex mcp add zalcro --url https://zalcro.ai/mcp

    This saves a server named zalcro in your Codex configuration file, config.toml.

You can run this command from any folder. Codex saves the server in your personal configuration, so it is available in every project you open with Codex on this computer.

What Codex writes to config.toml

Codex keeps its settings in a file named config.toml in a folder named .codex in your home folder (~/.codex/config.toml). On Windows this is usually C:\Users\YOUR_NAME\.codex\config.toml, and on a Mac /Users/YOUR_NAME/.codex/config.toml.

After Step 4, the file holds an entry like this:

The zalcro entry in config.toml
[mcp_servers.zalcro]
url = "https://zalcro.ai/mcp"

You do not need to edit the file yourself. If you prefer to, add exactly these two lines instead of running the command.

TOML is a simple settings format. Each [section] line starts a group of settings, and each setting is a name = value line. If you edit the file by hand:

  • Keep everything already in the file.
  • Add the zalcro section once. Two [mcp_servers.zalcro] sections break the file.
  • Use straight quotation marks (") around the address.
  • Never put a password, token or key in the file.

The section name must be mcp_servers, with an underscore. Codex does not read mcpServers, the spelling some other coding tools use.

Codex can also read a .codex/config.toml file inside a project folder, but only for projects you have marked as trusted. Your personal file is the simpler place for Zalcro. See OpenAI's configuration reference for every setting.

Step 5: Sign in to Zalcro from Codex

Zalcro uses OAuth, a standard way to let one application use your account on another without sharing your password. You sign in once, in your browser.

  1. In your terminal, run:

    Bash
    codex mcp login zalcro

    Your browser opens a Google sign-in page for Zalcro.

  2. Sign in with a Google account that has the same email address as your Zalcro account.

    Codex can only read projects that belong to the account you sign in with. Signing in from Codex uses Google only. If you created your Zalcro account with an email address and password, and that address has no Google account, use an API key instead.

  3. Return to your terminal.

    You should see that the sign-in succeeded.

Codex keeps you signed in. Zalcro's access lasts an hour at a time and Codex renews it in the background, so you do not sign in again for each task. If you stop using the connection for 30 days, run codex mcp login zalcro again.

Keep sign-in details private

Never paste a token, key or password into a Codex task, config.toml or AGENTS.md. The sign-in does not need one.

Alternative: connect with an API key

If you cannot use the Google sign-in, connect with a Zalcro API key instead. The key goes in an environment variable, a named value your computer passes to programs, so it never appears in config.toml.

Copy your key now

Zalcro shows an API key once. If you lose it, revoke it and create a new one.

  1. In Zalcro, open your profile menu and select API Keys.

  2. Under Generate new key, enter a Key name such as Codex on my laptop, choose your Project, then select Generate key.

  3. Copy the key.

  4. Save the key in an environment variable named ZALCRO_API_KEY. Replace YOUR_API_KEY with your key.

    On Windows, search the Start menu for Edit environment variables for your account, select New, enter ZALCRO_API_KEY as the name and your key as the value, then select OK. Typing the key into this window keeps it out of your terminal's command history. Open a new terminal afterwards.

    On a Mac or Linux, add this line to your shell profile, such as ~/.zshrc, then open a new terminal:

    Bash
    export ZALCRO_API_KEY="YOUR_API_KEY"
  5. Open ~/.codex/config.toml and make the zalcro section look like this. The Codex tab in Zalcro shows the same lines.

    Zalcro with an API key in config.toml
    [mcp_servers.zalcro]
    url = "https://zalcro.ai/mcp"
    bearer_token_env_var = "ZALCRO_API_KEY"

    bearer_token_env_var tells Codex which environment variable holds the key. The file holds the variable's name, not the key.

An API key belongs to your account. It starts on the project you chose when you created it, and Codex can still list and select your other projects. It lasts a year unless you revoke it sooner on the API Keys tab. Skip codex mcp login when you use a key.

Step 6: Check that Codex lists Zalcro

  1. In your terminal, run:

    Bash
    codex mcp list

    You should see zalcro in the list with the address https://zalcro.ai/mcp.

  2. Start Codex in your project folder:

    Bash
    codex
  3. In Codex, type /mcp and press Enter.

    You should see the zalcro server and its tools.

What a listed server proves

A listed server means Codex knows where Zalcro is. On its own, it does not mean:

  • The sign-in worked.
  • Codex can reach Zalcro.
  • Codex has chosen the right project.
  • Your architecture has been read.
  • Your tickets have been generated.

The next three steps check the parts that matter: the right project, its architecture and its tickets.

Step 7: Choose your Zalcro project

The checks in this step and the next two are read-only. They do not change your code or your Zalcro project.

  1. In Codex, paste the prompt below and press Enter. Replace YOUR_PROJECT_NAME with your project's name as Zalcro shows it.

    Prompt for Codex: choose your project
    Use the zalcro MCP server to list my Zalcro projects.
    
    Then select the project named YOUR_PROJECT_NAME as the active project.
    
    This is a read-only check. Do not change any files, run any commands or start any implementation work.
    
    Tell me which project you selected. If you could not find it, say so and show me the list instead.
  2. If Codex asks to use the list_projects and set_active_project tools, review the request and approve it.

    Whether Codex asks first depends on your approval settings. Each request names the tool.

    You should see Codex report that it selected your project.

If two projects have similar names, ask Codex to show the list with each project's last updated date, then pick the right one.

Choose your project at the start of each task

Zalcro remembers your choice only while Codex stays connected. When you start a new Codex session, Zalcro goes back to a default: your most recently updated project if you signed in, or the project you chose for your API key. That may not be the application you are working on, so select the project first.

Step 8: Check that Codex can read your architecture

  1. In the same session, paste the prompt below and press Enter.

    Prompt for Codex: read the architecture
    Use the zalcro MCP server to get the Architecture Design Document for the active project.
    
    Summarize:
    - The application's main parts.
    - The chosen technologies.
    - The key architectural decisions.
    - Any important constraints for building it.
    
    Name the project the document belongs to.
    
    This is a read-only check. Do not change any files or start any implementation work. If you cannot read the document, tell me what went wrong instead of working out the architecture from the code.
  2. Approve the get_architecture tool request if Codex asks.

  3. Compare Codex's summary with the Architecture Design Document in Zalcro.

    You should recognize the parts, technologies and decisions from your own document.

The summary is not a replacement for the document. Codex can leave things out or misread a decision. The document in Zalcro is always the reference.

Step 9: Check that Codex can read your tickets

Skip this step if you have not generated any implementation tickets yet.

  1. Paste the prompt below and press Enter.

    Prompt for Codex: list the tickets
    Use the zalcro MCP server to get the implementation tickets for the active project.
    
    For each phase, list:
    - The phase name.
    - Each ticket's number and title.
    - The dependencies each ticket states.
    
    This is a read-only check. Do not build any ticket, change any files or run any commands.
  2. Approve the get_tickets tool request if Codex asks.

    You should see the phases and tickets you generated in Zalcro.

Only phases whose tickets you have generated appear. If a phase is missing, generate its tickets in Zalcro when you are ready to work on it. You do not need to generate more tickets to finish this check.

Check the tool calls, not only the answer

Codex shows each tool it uses. If an answer about your architecture arrives without a get_architecture call, Codex may have guessed from your code. Ask it to use the zalcro MCP server and try again.

AGENTS.md vs. Zalcro MCP

AGENTS.md and Zalcro MCP do different jobs, and they work well together.

What is AGENTS.md?

AGENTS.md is a Markdown file of standing instructions for AI coding agents. Codex reads it when a session starts. It might cover:

  • How the repository is organized.
  • Coding conventions.
  • Build and test commands.
  • How to work through tasks.
  • Which outside documents to read, and when.

Codex looks for instructions in two places. Your personal AGENTS.md in ~/.codex applies to every project. Inside a project, Codex reads one AGENTS.md per folder, from the repository's top folder down to the folder you are working in, and instructions in deeper folders take priority. Together they are limited to 32 KiB by default, which is about 5,000 words. See OpenAI's AGENTS.md documentation for the details.

Should you put your whole architecture in AGENTS.md?

No. AGENTS.md suits short instructions that rarely change and that every task needs.

Your architecture, implementation plan and tickets are long, and most tasks need only part of them. Copying them into AGENTS.md uses up the size limit, adds detail a task does not need, and creates a second copy that falls out of date when you revise the plan in Zalcro. Keep the plan in Zalcro and let Codex read the parts a task needs through MCP.

AGENTS.md Zalcro MCP
Standing instructions in your repository Access to your planning documents
How Codex should work What Codex should build
Conventions and commands Architecture, decisions and tickets
Can tell Codex to read Zalcro Gives Codex something to read
Read when a session starts Read when Codex uses a Zalcro tool
Lives in your repository or ~/.codex Lives in Zalcro

An AGENTS.md instruction can tell Codex to read the right ticket and architecture from Zalcro. It cannot connect Codex to Zalcro: the connection always comes from config.toml. Neither one guarantees that Codex follows your architecture.

Optional: Add Zalcro instructions to AGENTS.md

Once your connection works, you can add instructions that remind Codex to work from your Zalcro plan. Add them to the AGENTS.md in your repository's top folder, or create that file if it does not exist:

Example AGENTS.md section: work from the Zalcro plan
## Application planning and implementation

This application is planned in Zalcro. Its architecture, implementation plan and implementation tickets are available through the zalcro MCP server.

When I give you a Zalcro implementation ticket:

1. Use the zalcro MCP server to select the correct project, then read the assigned ticket.
2. Read the parts of the architecture and implementation plan that apply to the ticket.
3. Check the ticket's scope boundaries and the technical contracts it relies on.
4. Check that the work it depends on exists in the current code.
5. Tell me about any important conflict between the current code and the planned design before you change anything.

Build only the assigned ticket.
Do not change architectural decisions, shared technical contracts or the technology stack without telling me why and asking first.
When you finish, report what you changed, which checks you ran and any acceptance criteria that are not met.
Do not deploy to production, change live services or create paid resources without my approval.

This is an example. It adds to your architecture and tickets. It does not replace them.

If your repository already has an AGENTS.md, do not replace it. Add this section where it fits, and remove anything that contradicts it. Never put tokens, keys or passwords in AGENTS.md: it is usually saved to GitHub with the rest of your code.

How to keep architecture context across Codex tasks

You do not need one long Codex session for your whole application. Give Codex one focused ticket per task, each taken from the same Zalcro plan.

Each task should have:

  • The right repository and the current version of the code.
  • Your Zalcro project selected.
  • The parts of the architecture that apply.
  • The phase the ticket belongs to.
  • The one ticket assigned to it.
  • The technical contracts and dependencies that ticket relies on.

Because every task reads from the same Zalcro project, you depend less on what an earlier session said. Long sessions can suffer from context rot, where earlier instructions get lost. A fresh task that reads the current plan avoids carrying that history forward.

Each task reads the same plan and starts from the right code

Separate tasks do not share their history, and they do not share code until it is in the version the next task starts from. Before a task that depends on earlier work, check that the earlier change is reviewed and present in that task's code. Zalcro provides the plan. Git decides which code each task sees.

Zalcro does not decide which ticket Codex builds next, and it does not run tasks. You do.

Local Codex vs. Codex cloud

This guide sets up Zalcro for Codex on your computer. Codex can also run cloud tasks, which work on a copy of your GitHub repository in a remote environment.

A cloud task does not use your computer's config.toml or your Zalcro sign-in. Cloud environments have their own settings, including which websites they can reach. OpenAI's cloud environments documentation does not describe adding MCP servers to them, so do not assume Zalcro MCP works in a cloud task.

Set up and check each environment separately

If you use cloud tasks:

  • Give each task the ticket and the parts of the architecture it needs, as described in MCP vs. giving Codex the documents yourself.
  • Check that the work the ticket depends on has been pushed to the branch the cloud task uses.
  • Never copy your API key or other credentials into repository files to make them available to a cloud task.

See OpenAI's Codex cloud documentation for how cloud tasks work.

Does MCP replace Codex's repository context?

No. MCP reaches information that is not in your repository. Codex still reads your code to find out what exists.

For example, your Zalcro architecture may describe a sign-in component and the agreement it must follow. Codex still has to look in your code to see whether that component exists, how it was built and what needs to change. Your plan says what should exist. Your code says what does. When they disagree, someone has to decide which is right, as described below.

Does MCP remove Codex's context limits?

No. Everything Codex reads through MCP takes up room in the task, the same as anything else you give it. Connecting a planning tool does not give Codex unlimited memory.

Ask for what the task needs: the assigned ticket and the parts of the architecture it touches. Reading every document into every task adds noise. The aim is enough accurate information, not as much as possible.

What happens when your architecture changes?

If you revise your architecture in Zalcro, review any implementation plans and tickets affected by the change.

When continuing development with Codex, ask it to retrieve the intended current planning resources. Information already retrieved during a coding session may not reflect later revisions.

Resolve conflicts between the architecture, assigned ticket and current codebase before continuing implementation.

For more on refreshing planning context, see Work with implementation tickets using MCP.

When your code and your architecture disagree

Codex may notice that your code does not match your architecture. That does not automatically mean either one is wrong. The difference may come from:

  • An earlier change you approved.
  • Work that is not finished yet.
  • A planning document that needs updating.
  • Code that has drifted from the design, sometimes called architecture drift.
  • A technical limit nobody spotted during planning.

Decide which one needs to change before you hand out more tickets. You can return to your Zalcro project and ask about the difference there, and revise the plan if needed. Avoid asking Codex to rewrite unrelated parts of your application only because it found a difference.

MCP vs. giving Codex the documents yourself

You do not need MCP to give Codex your plan. You can paste a ticket into a task, or save exported documents in your repository.

Question Zalcro MCP Giving documents yourself
How Codex gets the plan Reads it through the connection From pasted text or saved files
Setup Add the server and sign in once None
Copying documents Not needed Repeated for each task or change
After you revise the plan Codex reads the current version You provide the new version
New tasks Use the same connection Need the documents again
Codex cloud tasks Not covered by this guide Works if the documents are in the task or repository
Needs Zalcro online Yes No

Both work. What matters is that each task has accurate architecture, the right version of the code and the specific ticket it has been assigned.

Troubleshooting your Codex MCP connection

The codex command is not found

Codex is not installed, or your terminal cannot find it. Follow OpenAI's Codex CLI documentation, then open a new terminal and run codex --version again.

Zalcro is missing from codex mcp list

  • Run codex mcp add zalcro --url https://zalcro.ai/mcp again.
  • If you edited config.toml by hand, check that the section is [mcp_servers.zalcro], with an underscore, and that it appears only once.
  • Check that you edited the file in .codex in your home folder, or in the folder named by the CODEX_HOME environment variable if you set one.

Codex cannot load config.toml

A mistake in config.toml can stop Codex loading it. Look for:

  • Two sections with the same name.
  • A missing or curly quotation mark.
  • A setting with no value.
  • A misspelled setting name.

Fix only the line that is wrong, and keep your other settings. Compare the zalcro section with the example above and OpenAI's configuration reference.

Zalcro is listed but will not connect

  • Check that the url is exactly https://zalcro.ai/mcp.
  • Check your internet connection.
  • Run codex mcp login zalcro if you have not signed in, or if you have not used the connection for 30 days.
  • If you use an API key, check that ZALCRO_API_KEY is set in the terminal you start Codex from, and that the key has not been revoked or expired.
  • If the sign-in shows an error, contact Zalcro support and include the error without any tokens or keys.
  • Try again a little later in case Zalcro was briefly unavailable.

Do not turn off security settings to make a connection work.

Codex answers without using Zalcro

Codex may answer from your code instead of reading Zalcro. Ask directly:

Prompt for Codex: use Zalcro explicitly
Use the zalcro MCP server to get the Architecture Design Document for my active Zalcro project.

Do not work out the architecture from the code in this repository.

If you cannot reach the zalcro MCP server, tell me what went wrong instead of guessing.

A convincing summary is not proof that Codex read Zalcro. Look for the tool call, and compare the answer with your document in Zalcro.

Codex reads the wrong project

Zalcro falls back to a default project when none is selected in the session. Ask Codex to list your projects and select the right one, as in Step 7. Do this again in each new session.

Codex cannot find your project

  • Check that you signed in with a Google account that has the same email address as the Zalcro account that owns the project, or that your API key was created in that account.
  • Check that the project has a generated Architecture Design Document. Projects without one do not appear in the list.
  • MCP lists up to 20 of your most recently updated projects that have a generated architecture. If an older project is missing, open it in Zalcro using View history beside Recent projects or View all in the sidebar. Send a message in that project's conversation to bring it to the top of the recent project list, then ask Codex to list your projects again. If you still cannot access it, contact Zalcro support.
  • If Codex reports Project not found or access denied, ask it to list your projects again and select one from that list.

Codex reports "No architecture found"

The selected project has no Architecture Design Document yet. Ask Codex to list your projects and select the right one. If the project has no architecture yet, finish it in Zalcro first.

Codex cannot find your tickets

Check that you have generated tickets for the phase you asked about. MCP only reads tickets that already exist. Your plan decides which phases you can generate; see pricing.

Zalcro works on your computer but not in a cloud task

Your config.toml and sign-in stay on your computer. See Local Codex vs. Codex cloud, and give cloud tasks the documents they need directly.

Codex reads the architecture but does not follow it

A connection gives Codex access to your plan. It does not make Codex follow it. When you hand over a task:

  • Give Codex one specific ticket.
  • Point it to the relevant architectural decisions and technical contracts.
  • State the scope boundaries clearly.
  • Ask it to tell you about conflicts with the architecture before it changes anything.
  • Check the result against the ticket's acceptance criteria.

An AGENTS.md section like the example above can remind Codex to do this every time.

Troubleshooting summary

Problem Check first
codex not found Installation, then a new terminal
Zalcro missing from the list codex mcp add, or mcp_servers spelling
Configuration error TOML format and duplicate sections
Will not connect Address, sign-in or API key
Wrong project Select the project again
Project missing Account, generated architecture, 20 most recent
Tickets missing Tickets generated for that phase
Works locally, not in the cloud Cloud tasks need their own setup
Architecture not followed One ticket, clear scope, relevant context

If you still cannot connect, see OpenAI's MCP documentation for Codex or contact Zalcro support. Remove any tokens, keys and private project details from logs or screenshots you share.

Disconnecting or updating the Zalcro connection

You may want to change or remove the connection if you switch Zalcro accounts, stop using a computer, or think a key may have been exposed.

  • To pause it, add enabled = false to the [mcp_servers.zalcro] section of config.toml. Codex keeps the settings.
  • To remove it, delete the [mcp_servers.zalcro] section and its lines from config.toml, or use the codex mcp command for removing a server (run codex mcp --help to see it). Leave your other servers as they are.
  • To revoke an API key, open your profile menu in Zalcro, select API Keys and revoke the key. Then create a new key if you still need one.

Removing the server from Codex stops Codex using it. It is not the same as withdrawing the access you granted when you signed in. Zalcro does not currently have a screen that lists or withdraws signed-in tools. Sign-in access that is not used for 30 days expires. If you think someone else could be using your sign-in, contact Zalcro support.

Security considerations

MCP lets outside information into your coding tool, so connect only services you trust. When you connect Codex to Zalcro:

  • Use the address https://zalcro.ai/mcp, from this guide or Zalcro's Codex tab.
  • Sign in only on Zalcro's own sign-in page.
  • Keep API keys in an environment variable, never in config.toml, AGENTS.md, a task or a screenshot.
  • Review Codex's requests to use tools before you approve them.
  • Check that what Codex reads belongs to the right project.
  • Revoke any API key you no longer use or think may be exposed.

Your architecture may contain private technical or business details. Once Codex reads it, Codex processes it as part of the task, under OpenAI's data policies. Check the privacy settings of both Zalcro and Codex.

Frequently asked questions

How do I give OpenAI Codex my application's architecture?

You can paste architecture documents into a task, save them in your repository, or connect a planning tool through MCP. Zalcro generates your application's architecture, implementation plan and tickets, and Codex can read them through Zalcro's MCP server. Once connected, ask Codex to select your project and read the documents a task needs.

What is the difference between AGENTS.md and MCP?

AGENTS.md holds standing instructions that Codex reads when a session starts. MCP lets Codex reach information and tools outside your repository. An AGENTS.md instruction can tell Codex to read your architecture and tickets from Zalcro, and the MCP connection lets it do so.

Can Codex read implementation tickets from Zalcro?

Yes. Codex can read the tickets you have generated, grouped by phase, through the get_tickets tool. On the Starter plan, it returns Phase 1 tickets only. You still choose which ticket Codex should build.

Does Codex remember my architecture across tasks?

Not by itself. A new task does not carry over what an earlier one read. With Zalcro connected, each new task can read the same architecture again. Tell Codex which project and ticket to work on at the start.

Does MCP replace AGENTS.md?

No. They do different jobs. AGENTS.md says how Codex should work in your repository. MCP gives Codex access to your maintained plan. Use them together.

Can I use Zalcro MCP with Codex cloud tasks?

This guide does not cover it. Cloud tasks do not use the config.toml or sign-in on your computer, and OpenAI's cloud documentation does not describe adding MCP servers to cloud environments. Give cloud tasks the ticket and architecture they need directly.

Does Zalcro assign or run Codex tasks?

No. Zalcro provides your architecture and implementation tickets. You choose the ticket, check that its dependencies are done and give it to Codex. The MCP connection lets Codex read the plan. It does not run tasks or coordinate them.

Before you hand off your first ticket

What you've accomplished

You have prepared Codex to access Zalcro's supported planning resources through MCP. The connection provides a way to retrieve the architecture and implementation instructions needed for individual coding tasks.

Explore real architectures and tickets

Browse Zalcro Samples to see finished architectures, implementation plans and tickets for different applications and technology choices. Compare a sample's implementation plan with its tickets to see how a plan becomes focused coding tasks.

To see how different ways of planning an AI build compare, read AI App Planning Tools Compared. For why planning before coding matters, see pre-build planning.

Next steps

Your connection is ready for your first ticket. Choose a ticket whose dependencies are met, start a new Codex task in your project folder, select your Zalcro project and ask Codex to read that ticket and the parts of the architecture it touches.

Zalcro provides the architecture and implementation instructions. Codex writes the code.