Codex and ChatGPT Desktop Setup
This guide configures the QVeris MCP server and skill for the ChatGPT desktop app, Codex CLI, and the Codex IDE extension. These local clients share the same Codex MCP configuration. ChatGPT on the web does not read local Codex configuration; it requires a separately hosted plugin or remote MCP integration.
Prerequisites#
- Node.js 18.2 or later
- The ChatGPT desktop app, Codex CLI, or Codex IDE extension
- A QVeris API key (create one in Dashboard / API Keys)
1. Add the QVeris MCP server#
Run the following command in a terminal, replacing your-api-key-here with your API key:
codex mcp add qveris --env QVERIS_API_KEY=your-api-key-here -- npx -y @qverisai/mcpQVeris automatically uses https://qveris.ai/api/v1 for this setup. If you need to make the endpoint explicit, add it as another environment variable:
codex mcp add qveris --env QVERIS_API_KEY=your-api-key-here --env QVERIS_BASE_URL=https://qveris.ai/api/v1 -- npx -y @qverisai/mcpThe ChatGPT desktop app, Codex CLI, and IDE extension read this server from ~/.codex/config.toml, so you only need to add it once. You can also add the same STDIO server from Settings → MCP servers in the desktop app or IDE extension. See the official MCP configuration guide for client-specific steps.
Manual configuration#
Alternatively, add the following to ~/.codex/config.toml:
[mcp_servers.qveris]
command = "npx"
args = ["-y", "@qverisai/mcp"]
[mcp_servers.qveris.env]
QVERIS_API_KEY = "your-api-key-here"2. Install the QVeris skill#
Install the QVeris skill for your user account:
macOS and Linux:
mkdir -p ~/.agents/skills/qveris
curl -sL https://raw.githubusercontent.com/QVerisAI/qveris-agent-toolkit/main/skills/qveris/SKILL.md -o ~/.agents/skills/qveris/SKILL.mdWindows PowerShell:
New-Item -ItemType Directory -Force -Path "$env:USERPROFILE\.agents\skills\qveris"
Invoke-WebRequest -Uri "https://raw.githubusercontent.com/QVerisAI/qveris-agent-toolkit/main/skills/qveris/SKILL.md" -OutFile "$env:USERPROFILE\.agents\skills\qveris\SKILL.md"Codex detects skills in ~/.agents/skills. If the skill does not appear, restart the client. See the official skills guide for supported locations and invocation methods.
Verification#
- Run
codex mcp listand confirm thatqverisis enabled. - In the ChatGPT desktop app or Codex terminal UI, enter
/mcpand confirm that QVeris tools are connected. - Ask Codex to use QVeris to discover a tool. You can explicitly invoke the skill by typing
$qverisin your prompt.
Troubleshooting#
The server does not start:
- Verify Node.js:
node --version - Run the server directly:
QVERIS_API_KEY=your-api-key-here npx -y @qverisai/mcp - Check that the API key is current and has no extra spaces
The skill does not appear:
- Confirm that the file is at
~/.agents/skills/qveris/SKILL.md - Restart the ChatGPT desktop app, Codex CLI, or IDE extension
ChatGPT web does not show QVeris:
- Local
config.tomland STDIO servers are not available to ChatGPT on the web. Use one of the local clients listed above until a hosted QVeris plugin or remote MCP integration is published.