Grok Management MCP
About
MCP server for the xAI Management API — API keys, ACLs, audit logs, and billing
Details
- Author
- codechap
- Categories
- Cloud Service, API, Infrastructure, Security
Jump to
Setup
Install Grok Management MCP in your MCP client (Claude Desktop, Cursor, Windsurf, and others).
Repository: https://github.com/codechap/mcp-server-grok-management
Follow the installation instructions in the repository README, then restart your MCP client.
MCP server for the xAI Management API — API keys, ACLs, audit logs, and billing
MCP server for thexAI Management API(management-api.x.ai) — teamAPI keysandbilling, over stdio. Pure Rust binary.
Auth uses amanagement key(not an inference API key) fromconsole.x.ai→Settings → Management Keys.
For day-to-day spend questions, start withbilling_overview.
validate_key,list_api_keys,create_api_key,update_api_key,delete_api_key(DELETE),rotate_api_key(ROTATE),check_propagation,list_models,list_endpoints
Money fields areUSD cents(e.g.10000= $100.00).
Write billing tools needBillingWrite(or full access) on the management key.validate_keyreports whether BillingWrite is listed on the key’s ACLs.
~/.config/mcp-server-grok-management/config.toml(chmod 600):
management_key = "xai-..." # console.x.ai → Settings → Management Keys # team_id = "uuid" # optional — auto from validate # base_url = "https://management-api.x.ai"
cargo build --release # target/release/mcp-server-grok-management cargo test ./tests/test-stdio.sh
No god modules:api/(HTTP by domain),format/(pure text),params/(schemas),tools/(MCP handlers composed withrouter_keys + router_billing + router_audit). SeeCLAUDE.md.
Already wired forGrok(~/.grok/config.toml) andClaude Code(claude mcp add -s user …). Restart the client session if tools don’t appear.
- Creatingmanagement keysthemselves is console-only.
- Addingpayment methodsis console-only; this server lists them and can set default.
- Collections / Computer Use / Conversations / Files resources are not in the public Management REST surface (only appear as management-key ACL labels).
Zero-setup MCP gateway securely connecting AI to your tools with authentication and workflows
Manage web application security through the Fastly NGWAF API using natural language.
Securely manage secrets and policies in HashiCorp Vault through an MCP interface.
Interact with LicenseSpring's License API and Management API.
Securely access secrets from Doppler's secret management platform using a Doppler API token.
A RESTful API to programmatically interact with the Opal Security platform.
An MCP server for interacting with Tenable tenants connected to a Tenable MSSP Portal
Threatlocker-mcp is a Model Context Protocol server that connects AI assistants such as Claude Desktop and Claude Code with the ThreatLocker Portal API.
A secure MCP gateway that acts as a proxy, providing authentication, tool discovery, caching, and guardrail enforcement.
A local stdio MCP server that proxies to a remote, OAuth2-protected HTTP MCP server.
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.

