OpenAI API access for chaining models or running batch jobs from agents. Multi-org keys.
#OpenAI
OpenAI API access for chaining models or running batch jobs from agents. Multi-org keys.
#Get a token
Generate a Project API key (sk-proj-…) at https://platform.openai.com/api-keys.
#Recommended scopes
- Project-scoped keys preferred over user keys.
- Restrict permissions per project where possible — keys can drain credits fast.
#Add it to the vault
bashmcpvault add openai
Example session:
text$ mcpvault add openai Label: aiside API Key: sk-proj-•••• Organization: org-•••• (optional) ✓ Validated ✓ Saved.
#Tools exposed
see upstream — completions, embeddings, files, batch, fine-tuning
#Switch to this account
In any chat client wired to mcpvault, ask:
Switch to my <label> OpenAI account.
The vault server's activate_account tool flips the active label. Wrappers re-read it on the next call — no restart.