AGENTMUXER_API_KEY unless you pass apiKey. All connect to https://mcp.agentmuxer.com/mcp.
string
Your application key, supplied from a server-side secret store. Omit it to use
AGENTMUXER_API_KEY. Empty values, surrounding whitespace, and non-printable characters are rejected. Browser use is rejected.- OpenAI Agents
- Claude Agent SDK
- Vercel AI SDK
tools on an OpenAI agent. OpenAI receives the application key and connects to AgentMuxer.string[] | { toolNames?: string[] }
Optional tool-name filter. The example exposes all four tools, including purchases. Omit this option to expose every tool the server provides; narrow the list when your application needs fewer tools.
"always" | "never"
default:"never"
OpenAI tool approval policy. With
"always", handle approval interruptions and resume the run using OpenAI’s API. AgentMuxer payment confirmation and spending limits still apply.Controls outside the helper
Choose models, prompts, turn limits, and framework permissions in your agent framework. Configure balance, application spending limits, and account payment confirmation in AgentMuxer. The helpers do not add an SDK-wide dollar budget, change your account settings, or supply model-provider credentials.Billing, limits, and approvals
Understand which controls enforce spending and which guide agent behavior.