Codex CLI

Add the 1health MCP to OpenAI Codex CLI via command or config file.

Option 1: CLI Command

Run this command to add the 1health MCP:

bash
codex mcp add 1health-docs https://mcp.dev.1hdev.io/mcp

Option 2: Edit config.toml

Add to your ~/.codex/config.toml:

toml
[mcp_servers.1health-docs]
url = "https://mcp.dev.1hdev.io/mcp"

Using the /mcp Command

Inside the Codex TUI, use /mcp to view active MCP servers.

Other Commands

  • codex mcp list — List configured servers
  • codex mcp remove 1health-docs — Remove a server
  • codex mcp --help — See all MCP commands

What You Can Ask

  • "How do I authenticate with the 1health API?"
  • "Show me endpoints for patient management"
  • "Generate code to call the provider search endpoint"
  • "What's the workflow for placing lab orders?"