Skip to main content

Prime Intellect MCP Server

This project has been archived.

The maintainers of this project have marked this project as archived. No new releases are expected.

Project description

Prime MCP Server

Model Context Protocol (MCP) server for Prime Intellect - manage GPU pods, check availability, and control compute resources through MCP.

Features

  • GPU Availability Checking - Search for available GPU instances across providers
  • Pod Management - Create, list, monitor, and delete GPU pods
  • Cluster Support - Check multi-node cluster availability
  • SSH Key Management - Manage SSH keys for pod access

Demo

Prime MCP Demo

Installation

pip install prime-mcp-server

Or with uv:

uv pip install prime-mcp-server

Configuration

Prime MCP uses prime-core for configuration, which supports multiple authentication methods:

Option 1: Environment Variable

export PRIME_API_KEY="your-api-key"

Option 2: Prime CLI Login (Recommended)

prime login

This stores your API key in ~/.prime/config.json and is shared across all Prime tools.

Option 3: Config File

Manually edit ~/.prime/config.json:

{
  "api_key": "your-api-key",
  "base_url": "https://api.primeintellect.ai"
}

Quick Start

Running the MCP Server

python -m prime_mcp.mcp

The server runs over stdio and can be integrated with MCP clients (like Claude Desktop, IDEs, or other MCP-compatible tools).

Available Tools

For complete documentation of all available tools and their parameters, see docs.primeintellect.ai.

Development

# Clone the repo
git clone https://github.com/PrimeIntellect-ai/prime.git
cd prime/packages/prime-mcp-server

# Install dependencies
uv sync

# Run tests
uv run pytest

# Run linter
uv run ruff check .

Related Packages

  • prime - Full CLI + SDK with pods, sandboxes, inference, and more
  • prime-sandboxes - SDK for managing remote code execution environments
  • prime-evals - SDK for managing model evaluations

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

prime_mcp_server-0.1.1.tar.gz (6.7 MB view details)

Uploaded Source

Built Distribution

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

prime_mcp_server-0.1.1-py3-none-any.whl (13.3 kB view details)

Uploaded Python 3

File details

Details for the file prime_mcp_server-0.1.1.tar.gz.

File metadata

  • Download URL: prime_mcp_server-0.1.1.tar.gz
  • Upload date:
  • Size: 6.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.14

File hashes

Hashes for prime_mcp_server-0.1.1.tar.gz
Algorithm Hash digest
SHA256 ffaa845d8989087a376ec4b431729ca645ba3abc91fe08ff0ce9b0c49a3978e8
MD5 5e97055d8b3d29befc1d0999877a4c8b
BLAKE2b-256 a716c765ea9e943d0195431cdc26e4510c46195f6f16f3a8977df9732611339a

See more details on using hashes here.

File details

Details for the file prime_mcp_server-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for prime_mcp_server-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 095b36f3d1a0f84d4dd437e312255cceea8eae0ef8ed97ae0fbc917a0fbee0a0
MD5 d6dd7b4da4b1fee4593fd131574a87e7
BLAKE2b-256 a16f85ea8a9baca84aafee33e2c9199c9c45af73a82aeb1cf1a3bf9e04176c95

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