Skip to main content

MCP server for InferexAI — manage your LLM gateway account from Claude Desktop, Claude Code, or any MCP-compatible agent

Project description

inferexai-mcp

Official MCP (Model Context Protocol) server for InferexAI — lets Claude Desktop, Claude Code, or any MCP-compatible AI agent manage your LLM gateway account conversationally.

Installation

pip install inferexai-mcp

Quick start

INFEREXAI_API_KEY=sk-live-your-key-here inferexai-mcp

Claude Desktop setup

Add to ~/.claude/claude_desktop_config.json:

{
  "mcpServers": {
    "inferexai": {
      "command": "inferexai-mcp",
      "env": {
        "INFEREXAI_API_KEY": "sk-live-your-key-here"
      }
    }
  }
}

Restart Claude Desktop. You can now ask Claude things like:

"What's my InferexAI wallet balance?" "Create a new API key called 'staging' that expires in 3 months" "Show me my usage for the last 7 days" "Invite dev@acme.com to my organisation"

Claude Code setup

claude mcp add inferexai -e INFEREXAI_API_KEY=sk-live-your-key-here -- inferexai-mcp

Available tools

Tool Description
wallet_balance Get current wallet balance in INR
list_keys List all API keys with status, scopes, limits
create_key Create a new API key (name, expiry, scopes)
revoke_key Permanently revoke a key by ID
query_usage List recent usage events with filters
usage_summary Aggregated token, cost, error stats
get_account Account details and KYC status
set_low_balance_alert Set wallet alert threshold in ₹
get_org Organisation info and wallet
create_org Create a new organisation
list_org_members List org members with roles
invite_org_member Invite a member by email
remove_org_member Remove a member by user ID

Environment variables

Variable Required Default
INFEREXAI_API_KEY Yes
INFEREXAI_BASE_URL No https://inferexapi.cloudvoice.in

Requirements

  • Python 3.10+
  • mcp >= 1.0.0
  • httpx >= 0.24.0

Links

License

MIT © Enterux Solutions Pvt Ltd

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

inferexai_mcp-0.1.0.tar.gz (4.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

inferexai_mcp-0.1.0-py3-none-any.whl (5.6 kB view details)

Uploaded Python 3

File details

Details for the file inferexai_mcp-0.1.0.tar.gz.

File metadata

  • Download URL: inferexai_mcp-0.1.0.tar.gz
  • Upload date:
  • Size: 4.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.8

File hashes

Hashes for inferexai_mcp-0.1.0.tar.gz
Algorithm Hash digest
SHA256 338b8c062f6ee1737f1b8005f19553c9b55317e5d59e6a0d0a2bbe600289b657
MD5 8efc15736233a959405b45754109e1df
BLAKE2b-256 46b3b90d433af836f998a8275fc2f8ed61aa211ecbfb9d30a2e0f88952f58c53

See more details on using hashes here.

File details

Details for the file inferexai_mcp-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: inferexai_mcp-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 5.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.8

File hashes

Hashes for inferexai_mcp-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ab2c4c3afd3d5ba53a0d779f5ed5adb6c14172bef4607416dbf345b3584f884f
MD5 50d61c139ea7cade406321bab18f02b6
BLAKE2b-256 b96f50d124b548549f82b471eed49978238025d81a7dbcdfc95cee9d4ee69121

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page