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 Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

prime_mcp_server-0.1.0-py3-none-any.whl (10.8 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for prime_mcp_server-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 301681f635a6d34bbe03b280241deb65b013aa0355964d2d252eee26d6e896fb
MD5 59d52a0d944f1a86acadfda6dda56660
BLAKE2b-256 6cd18b88ea51cd12677f673be60cbf2befc922bcc245b6bdd74ce063b6c427f9

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