AI Admin API MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| ANTHROPIC_BETA | No | Comma-separated Anthropic beta headers. | |
| MCP_USER_AGENT | No | Optional user agent context for future outbound request metadata. | |
| OPENAI_BASE_URL | No | Override for tests or compatible OpenAI Admin API gateways. Defaults to https://api.openai.com/v1. | |
| OPENAI_ADMIN_KEY | No | OpenAI Admin API key (required for OpenAI static mode). | |
| ANTHROPIC_VERSION | No | Anthropic API version. Defaults to 2023-06-01. | |
| ANTHROPIC_BASE_URL | No | Override for tests or compatible Anthropic Admin API gateways. Defaults to https://api.anthropic.com/v1. | |
| MCP_HTTPS_KEY_PATH | No | PEM private-key path for local HTTPS. | |
| ANTHROPIC_ADMIN_KEY | No | Anthropic Admin API key, sent as x-api-key (required for Anthropic static mode). | |
| MCP_HTTPS_CERT_PATH | No | PEM certificate path for local HTTPS. | |
| MCP_HTTP_AUTH_TOKEN | No | Bearer token required by the MCP HTTP endpoint unless unsafe local mode is used. | |
| ANTHROPIC_OAUTH_TOKEN | No | Optional Anthropic OAuth bearer token with admin scope. | |
| MCP_CACHE_TTL_SECONDS | No | Dashboard bundle cache TTL in seconds. Defaults to 60. | |
| AI_ADMIN_CREDENTIAL_MODE | No | Only static is implemented in this runtime build. pass_through and hybrid are documented gateway contracts and fail fast. | |
| AI_ADMIN_ENABLED_PROVIDERS | No | Comma-separated openai,anthropic. Defaults to providers with static credentials present. | |
| AI_ADMIN_REQUIRED_PROVIDERS | No | Comma-separated providers that must be enabled and statically configured at startup. |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| logging | {} |
| prompts | {
"listChanged": true
} |
| resources | {
"listChanged": true
} |
| completions | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| ai_admin_list_providersA | List enabled providers, health, configured reporting surfaces, and known limitations. |
| ai_admin_query_usageA | Query normalized usage facts from one or more enabled providers. Pass provider-specific options under provider_options[provider_id]. |
| ai_admin_query_costsA | Query normalized cost facts from one or more enabled providers. Pass provider-specific options under provider_options[provider_id]. |
| ai_admin_query_dashboard_bundleA | Build dashboard bundles across one or more enabled providers. Pass provider-specific options under provider_options[provider_id]. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
| build_usage_dashboard | Guide an agent to request normalized dashboard bundles and build a dashboard. |
| investigate_cost_spike | Compare recent provider cost buckets against a baseline. |
| export_finance_report | Produce a finance-friendly cost report from provider-reported facts. |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| providers | |
| provider-capability-schema | |
| usage-fact-schema | |
| cost-fact-schema | |
| dashboard-bundle-schema |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Amaretto-Software-Labs/ai-admin-api-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server