Skip to content
This repository was archived by the owner on Aug 7, 2026. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,24 @@ Add to your MCP configuration:
}
```

#### For Codex CLI

1. Install Codex if you have not already:
- `npm install -g @openai/codex`
- or `brew install codex`
2. Open (or create) `~/.codex/config.toml` and add a new entry under the top-level `mcp_servers` table:

```toml
[mcp_servers.contexts]
command = "python3"
args = ["/path/to/ContextS/main.py"]
env = { GEMINI_API_KEY = "your-gemini-api-key-here", OPENAI_API_KEY = "your-openai-api-key-here", ANTHROPIC_API_KEY = "your-anthropic-api-key-here" }
```

> **Note:** Codex uses TOML configuration. The key must be `mcp_servers` (snake_case), and you only need to provide the API keys you have available.

3. Launch Codex (`codex`) and verify that the `contexts` MCP server appears in the available tools list.

#### For Other MCP Clients

Follow your client's MCP server configuration documentation, using:
Expand Down