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.2.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.2-py3-none-any.whl (13.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: prime_mcp_server-0.1.2.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.2.tar.gz
Algorithm Hash digest
SHA256 f2e4869298e4bcd5a5dff06166df3713a5f1ef6940c1132a4c7a78697385b1e0
MD5 747cae690e4b647d4b5c236ba0d474ad
BLAKE2b-256 e5940a26fbc99d48816279100a57e307866434e5c291a8f0a7483a17113f730c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for prime_mcp_server-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 4b4c8fbaab3f6e92eb59924be627e25d11893ab0a51b3952d26c5157366cf2b3
MD5 02f909adadb90e3498fa44931308c6e3
BLAKE2b-256 13a15a3534f76d9c65741c20c480e400833833c6beb1bb7d1d7650e1079a8be1

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