Credentials. Client keys and provider credentials grant access to paid model usage, so store them carefully and revoke any key that leaks.
Who it is forA developer who wants several apps or teammates to use the same set of AI providers through one endpoint.
The problemEach provider has its own credentials, models and limits, and sharing them safely across clients is error-prone.
The outcomeProviders are enabled in the console, each client has its own named key, and clients send requests to CPA at http://127.0.0.1:8317.
What you need first
- Docker Engine with the Compose plugin and CLIProxyAPI v8.0.0 or later, or a native executable with CPA installed separately
- A Linux or macOS shell with curl and openssl for the Docker path
- A place to keep the .env file, since OMCPA_MASTER_KEY encrypts the database and cannot be recovered without it
Steps
- Complete the install from the Compose guide and sign in at
http://127.0.0.1:8080/omc/with theCPA_MANAGEMENT_KEYvalue from.env. - Add an AI provider in the console and set its priority and enable switch.
- Create a client key in the console and give it a name so it appears in request records.
- Point each client at
http://127.0.0.1:8317and send a test request from the Playground.
Prompt for your agent
In the Oh My CPA console at http://127.0.0.1:8080/omc/, add one <provider-name> provider and one client key named <client-name>. Report the provider's status and the key name. Verify with a Playground request that the routed model answers before you finish.
Caveat. The README describes clients sending requests to CPA at http://127.0.0.1:8317 for the local Compose install, so other network setups need the reaching CPA guide.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for WizisCool/oh-my-cpa and "Add providers and client keys behind one gateway"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer