How to install Context in Codex
To install Context in Codex, run "codex mcp add context -- npx -y @sanity/context" in your terminal, then type /mcp in Codex to check it.
Built from the published package · server updated today
- 1
Run the install command
In a terminal, run:
codex mcp add context -- npx -y @sanity/context - 2
Check it
Inside Codex, type /mcp to see the server and its tools.
MCP servers run with your permissions. If Context needs an API key, add it under env in the config. Check its README.
Install Context in another app
Similar servers
Oh My Posh Validator is listed as an MCP server, but the source is the README for oh-my-posh, a cross platform prompt theme engine. It does not describe an MCP server, tools, or schema validation.
Sim is a workspace for building, deploying and managing AI agents and workflows. Its MCP server lets Claude, Claude Code, Codex or another MCP client manage workspaces, workflows, tables, knowledge bases, files and logs.
Omnara deploys durable AI agents on any model and any machine. It is an open-source, self-hostable managed agent platform under Apache 2.0, with a REST API, TypeScript SDK, CLI, and MCP server.
Questions
Does Context work in Codex?
Yes. Codex supports mcp servers in the codex cli and ide extension, and Context installs with the steps above.
Context does not show up in Codex. What now?
Restart Codex fully, check the JSON is valid, and make sure Node.js (for npx) is installed. See common MCP errors and fixes.
Is Context safe?
It scores 76 of 100. Review the code before you install it, and only give it the access it needs. Grades and details.
