Skip to main content
Glama
Amaretto-Software-Labs

AI Admin API MCP Server

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
ANTHROPIC_BETANoComma-separated Anthropic beta headers.
MCP_USER_AGENTNoOptional user agent context for future outbound request metadata.
OPENAI_BASE_URLNoOverride for tests or compatible OpenAI Admin API gateways. Defaults to https://api.openai.com/v1.
OPENAI_ADMIN_KEYNoOpenAI Admin API key (required for OpenAI static mode).
ANTHROPIC_VERSIONNoAnthropic API version. Defaults to 2023-06-01.
ANTHROPIC_BASE_URLNoOverride for tests or compatible Anthropic Admin API gateways. Defaults to https://api.anthropic.com/v1.
MCP_HTTPS_KEY_PATHNoPEM private-key path for local HTTPS.
ANTHROPIC_ADMIN_KEYNoAnthropic Admin API key, sent as x-api-key (required for Anthropic static mode).
MCP_HTTPS_CERT_PATHNoPEM certificate path for local HTTPS.
MCP_HTTP_AUTH_TOKENNoBearer token required by the MCP HTTP endpoint unless unsafe local mode is used.
ANTHROPIC_OAUTH_TOKENNoOptional Anthropic OAuth bearer token with admin scope.
MCP_CACHE_TTL_SECONDSNoDashboard bundle cache TTL in seconds. Defaults to 60.
AI_ADMIN_CREDENTIAL_MODENoOnly static is implemented in this runtime build. pass_through and hybrid are documented gateway contracts and fail fast.
AI_ADMIN_ENABLED_PROVIDERSNoComma-separated openai,anthropic. Defaults to providers with static credentials present.
AI_ADMIN_REQUIRED_PROVIDERSNoComma-separated providers that must be enabled and statically configured at startup.

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}
logging
{}
prompts
{
  "listChanged": true
}
resources
{
  "listChanged": true
}
completions
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
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

NameDescription
build_usage_dashboardGuide an agent to request normalized dashboard bundles and build a dashboard.
investigate_cost_spikeCompare recent provider cost buckets against a baseline.
export_finance_reportProduce a finance-friendly cost report from provider-reported facts.

Resources

Contextual data attached and managed by the client

NameDescription
providers
provider-capability-schema
usage-fact-schema
cost-fact-schema
dashboard-bundle-schema

Latest Blog Posts

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