Codex
The Ideal Postcodes skills package ships a .codex-plugin/ manifest. One install command covers Codex.
Install
npx skills add ideal-postcodes/skills
Skills installed:
ideal-postcodes-address-finder: multi-country address autocomplete widgetideal-postcodes-postcode-lookup: UK postcode → address dropdownideal-postcodes-api-integration: direct HTTP integrationideal-postcodes-react: React bindings for the widgetsideal-postcodes-cli: non-interactive CLI for account, key and address operations
Verify
Ask Codex:
How do I add UK postcode lookup to a checkout form using Ideal Postcodes?
Codex should load the ideal-postcodes-postcode-lookup skill and quote the setup() call rather than guessing.
API key
- Quick test:
ak_test(capped at 5 lookups/day, public, breaks in production). - Real key: sign up for a free trial balance.
- Before deploy: restrict the key via Allowed URLs.
Connect the MCP server
Skills teach Codex to write integration code. To let it look up addresses, emails and phone numbers itself while it works, connect the MCP server with a backend key (no Allowed URLs). The server speaks MCP protocol 2026-07-28, which Codex supports behind a feature flag. In ~/.codex/config.toml:
[features]
mcp_2026_07_28 = true
[mcp_servers.ideal-postcodes]
url = "https://api.ideal-postcodes.co.uk/mcp"
bearer_token_env_var = "IDEAL_POSTCODES_API_KEY"
Each tool call bills as the API endpoint it mirrors.
Going deeper
- Skills source: github.com/ideal-postcodes/skills
- Full agent hub: Build with AI
- Full reference as one file: llms.txt
Need help?
- File an issue: github.com/ideal-postcodes/feedback
- Email: support@ideal-postcodes.co.uk