Register the remote MCP endpoint
Codex accepts remote MCP servers via the `mcp_server` tool definition. Point to the Source Parts managed endpoint or your own proxy depending on compliance requirements.
- For managed hosting keep `url` pointed at `https://api.source.parts/mcp`.
- When self-hosting, place the MCP server behind your preferred API gateway to enforce corporate network policies.
{
"tools": [
{
"mcp_server": {
"name": "sourceparts",
"url": "https://api.source.parts/mcp",
"api_key": "$SOURCEPARTS_API_KEY"
}
}
]
}