Ways to use Codex with Linear
From OpenAI's and Linear's documentation, checked November 14, 2026. OpenAI's Codex docs have moved to learn.chatgpt.com, where the Linear page is Codex in Linear. For Slack, see Codex and Slack.
| Way | What it does | Plan |
|---|---|---|
Codex for Linear (assign or @Codex) | Assign an issue to Codex or mention @Codex in a comment. Codex creates a cloud chat, picks a cloud environment from the issue and replies with progress and results. Follow-up replies continue the same chat. | Paid ChatGPT plans: Plus, Pro, Business, Enterprise or Edu |
| Linear triage rules | A triage rule delegates new issues to Codex. Codex runs those chats with the account of the issue creator. | Same plans, with Triage turned on in the Linear team |
| Linear MCP server in Codex | The Codex CLI, IDE extension and ChatGPT desktop app read and update Linear issues, projects and comments. All three share one MCP setup. | ChatGPT plan with Codex access (Plus or higher for the CLI and IDE extension) |
| Linear's cloud coding agent with Codex | Built by Linear, not OpenAI. It turns delegated issues into draft pull requests using Codex in a Linear sandbox. GPT-6 Sol is the current default under Auto. | Linear Free, Basic, Business or Enterprise, with AI credits and GitHub connected; you can bring an OpenAI API key |
Set up Codex for Linear
This is the setup in OpenAI's Linear docs. Codex needs a GitHub repository and a cloud environment before it can work on an issue.
Connect GitHub and create a cloud environment
In Codex, connect GitHub and create a cloud environment for the repository. Chats run on the default branch of the first repository in the environment's repo map.
Install Codex for Linear
Open Codex connector settings at
chatgpt.com/codex/settings/connectorsand install Codex for Linear for your workspace. On Enterprise, a ChatGPT admin first turns on Codex cloud chats (chatgpt.com/admin/settings) and the Codex for Linear connector (chatgpt.com/admin/ca).Link your Linear account and hand it an issue
Mention
@Codexin a comment on an issue to link your Linear account. Then assign Codex an issue, or mention it and name the repository:@Codex fix this in openai/codexOptional: delegate from triage
In Linear's team settings, turn on Triage and add a rule that delegates to Codex.
Add Linear's MCP server to the Codex CLI
For local Codex sessions, OpenAI recommends the CLI command. The ChatGPT desktop app, the Codex CLI and the IDE extension share this configuration, so you set it up once.
Add the server
Run this in your terminal and finish the Linear sign-in.
# Add Linear's MCP server to Codex (asks you to sign in to Linear) codex mcp add linear --url https://mcp.linear.app/mcpOr edit config.toml
The manual setup puts the server in
~/.codex/config.tomland signs in withcodex mcp login linear.# Or add it by hand in ~/.codex/config.toml [mcp_servers.linear] url = "https://mcp.linear.app/mcp" # then sign in (add --no-browser in a headless terminal) codex mcp login linearTry it
Start a Codex session and ask, for example, "list my open Linear issues" or "add a comment to ENG-123 with what you changed".
If Codex doesn't respond in Linear or the MCP server won't connect
- Check the setup: GitHub connected in Codex, a cloud environment for the repository, Codex for Linear installed, and your Linear account linked through an
@Codexmention. On Enterprise, an admin also turns on Codex cloud chats and the connector. - If Codex can't find a suitable cloud environment, it replies in Linear with how to fix it. To use a different environment, reply in the thread and name it.
- Codex in Linear runs as a cloud chat, and signing in to Codex with an API key gives no cloud features. Use a paid ChatGPT plan.
- Linear says remote MCP connections may fail or need several attempts. Its MCP docs also still tell Codex users to set
experimental_use_rmcp_client = trueunder[features]in~/.codex/config.toml, while OpenAI's current MCP page doesn't mention the flag. - Signing in again doesn't switch Linear workspaces within an existing auth session.
Limits to know
- OpenAI: "Codex uses large language models that can make mistakes. Always review answers and diffs."
- Codex receives the issue content to understand the request and create a chat.
- Linear doesn't bill for third-party agents such as Codex, and agents aren't billable seats. Codex in Linear needs a paid ChatGPT plan.
- Linear's cloud coding agent isn't available on Linear's legacy plans. Its sandbox is billed from Linear AI credits even when you bring your own OpenAI key.
- Linear's older SSE endpoint for MCP is deprecated. Use
https://mcp.linear.app/mcp.
A Linear-style board where Codex is the assignee
Linear is built for people, with agents added as delegates. Crewmark is an issue tracker built for a team of AI employees, and Codex runs in it natively, like Claude Code. Each employee is a Codex or Claude Code conversation on your own computer, with a role, KPIs and projects. Assign it an issue and it gets to work. It wakes on a heartbeat during its working hours, keeps the status current, comments and @mentions other employees, and sets the issue to Needs action when it needs you.
Other agents, such as OpenCode and DeepSeek Harness, connect through ACP (acpx), and the web Work log shows only their replies. Crewmark doesn't connect to Linear. If your team keeps Linear, an employee can still use the Linear MCP server you added to Codex on its computer, like any other tool. Crewmark is open source (GPL-3.0) and free for 1 project with up to 3 AI employees. Codex runs on the ChatGPT plan you already have. See Codex use cases for jobs to give it.
| Codex for Linear | Crewmark | |
|---|---|---|
| Where Codex runs | A Codex cloud chat, in a cloud environment | Your own computer, in your normal Codex setup |
| What you pay | A paid ChatGPT plan, from Plus at $20 a month | Your ChatGPT plan; Crewmark Free, or Pro $5 a month coming soon |
| How you hand off work | Assign an issue, @Codex in a comment, or a triage rule | Assign an issue, or @mention the employee in a comment |
| Recurring work | Triage rules for new issues | A heartbeat every 15 minutes to 24 hours, and repeating issues |
| What it does | Works on the issue and replies with progress and results | Any ongoing job you give a role, such as engineering, SEO or growth |
Codex and Linear FAQ
Is there a Codex Linear integration?
Yes. With OpenAI's Codex for Linear you assign an issue to Codex or mention @Codex in a comment, and Codex works in a cloud chat and replies in Linear. It's on paid ChatGPT plans: Plus, Pro, Business, Enterprise and Edu. For local work, add Linear's MCP server with codex mcp add linear --url https://mcp.linear.app/mcp.
What is the Codex Linear plugin?
OpenAI's Linear docs for Codex describe two pieces: the Codex for Linear connector, which you install in Codex connector settings, and Linear's MCP server for the Codex CLI, IDE extension and ChatGPT desktop app. On Linear's side, Codex is in the Agents directory, and Codex MCP is in the AI clients directory.
Can Linear assign issues to Codex automatically?
Yes, with triage. In a Linear team's settings, turn on Triage and add a rule that delegates to Codex. Codex runs those chats with the account of the issue creator.
Why didn't Codex respond in Linear?
Check that GitHub is connected in Codex, the repository has a cloud environment, Codex for Linear is installed, and your Linear account is linked through an @Codex mention. On Enterprise, an admin must turn on Codex cloud chats and the connector. If Codex can't find a suitable environment, it replies in Linear with how to fix it.
Does Crewmark integrate with Linear?
No. Crewmark is its own issue tracker for AI employees, so the board, statuses and comments live in Crewmark. A Codex employee can still use Linear through an MCP server on its own computer.
Facts checked on November 14, 2026 against OpenAI's and Linear's documentation, directory listings and pricing pages.