Skip to main content
Archived

This project has been archived by its maintainers, and is no longer receiving any updates.

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

Metadata

Release files for prime-mcp-server 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for prime-mcp-server 0.1.2
File Size Uploaded
prime_mcp_server-0.1.2.tar.gz 6.7 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for prime-mcp-server 0.1.2
File Interpreter ABI Platform
prime_mcp_server-0.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 6.7 MB

Release files / prime_mcp_server-0.1.2.tar.gz

Download URL prime_mcp_server-0.1.2.tar.gz
Size 6.7 MB
Tags Source
SHA-256 checksum
How to use checksums
f2e4869298e4bcd5a5dff06166df3713a5f1ef6940c1132a4c7a78697385b1e0
BLAKE2b-256 checksum
How to use checksums
e5940a26fbc99d48816279100a57e307866434e5c291a8f0a7483a17113f730c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.14

Release files / prime_mcp_server-0.1.2-py3-none-any.whl

Download URL prime_mcp_server-0.1.2-py3-none-any.whl
Size 13.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4b4c8fbaab3f6e92eb59924be627e25d11893ab0a51b3952d26c5157366cf2b3
BLAKE2b-256 checksum
How to use checksums
13a15a3534f76d9c65741c20c480e400833833c6beb1bb7d1d7650e1079a8be1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.14

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page