OAuth-capable clients
Add X1 as a connector using https://mcp.x1wealth.com, sign in with your X1 account, and approve access. Your assistant then sees only what your X1 account can see. Write access is governed by your X1 role, entitlements, and person-confirmed workflows.
Codex CLI
Codex can connect directly to the MCP resource URL. Add the endpoint, then sign in. X1 grants read access after sign-in and maps write capability from your X1 entitlements.
codex mcp add x1 --url https://mcp.x1wealth.com/mcp
codex mcp login x1
If you edit config.toml by hand, use this entry:
[mcp_servers.x1]
url = "https://mcp.x1wealth.com/mcp"
Direct clients and API keys
In X1 settings, create an API key, and add it to your MCP-capable client as a bearer token. Use this for clients without an OAuth flow.
{
"mcpServers": {
"x1-wealth": {
"url": "https://mcp.x1wealth.com/mcp",
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
}
}
}
}For Codex without OAuth, keep the key in an environment variable:
export X1_MCP_API_KEY="x1k_..."
codex mcp add x1 --url https://mcp.x1wealth.com/mcp --bearer-token-env-var X1_MCP_API_KEY
A quick browser auth error during setup is expected and safe to dismiss; it does not affect the connection.