JUHE API Marketplace
TomMelt avatar
MCP Server

HPC-MCP

A server that provides Model Control Protocol (MCP) tools for High Performance Computing, designed to integrate with Large Language Models in IDEs like Cursor and VSCode for debugging and other HPC tasks.

1
GitHub Stars
11/17/2025
Last Updated
MCP Server Configuration
1{
2 "name": "hpc-mcp",
3 "command": "uv",
4 "args": [
5 "--directory",
6 "/hpc-mcp",
7 "run",
8 "src/debug.py"
9 ]
10}
JSON10 lines
  1. Home
  2. MCP Servers
  3. hpc-mcp

README Documentation

hpc-mcp :zap::computer:

This project provides MCP tools for HPC. These are designed to integrate with LLMs. My initial plan is to integrate with LLMs called from IDEs such as cursor and vscode.

Quick Start Guide :rocket:

This project uses uv for dependency management and installation. If you don't have uv installed, follow installation instructions on their website.

Once we have uv installed we can install the dependencies and run the tests with the following command:

uv run --dev pytest

Adding the MCP Server

Cursor

  1. Open Cursor and go to settings.
  2. Click Tools & Integrations
  3. Click Add Custom MCP

[!NOTE] This will open your system-wide MCP settings ($HOME/.cursor/mcp.json). If you prefer to set this on a project-by-project basis, then you can create a local configuration using <path/to/project/root>/.cursor/mcp.json.

  1. Add the following configuration:
{
  "mcpServers": {
    "hpc-mcp": {
      "command": "uv",
      "args": [
                "--directory",
                "<path/to>/hpc-mcp",
                "run",
                "src/debug.py"
            ]
    }
  }
}

VSCode

  1. Open command palette (Ctrl+Shift+p) and select MCP: Add Server...

add MCP server

  1. Choose the option command (stdio) since the server will be run locally
  2. Type the command to run the MCP server:
uv --directory <path/to>/hpc-mcp run src/debug.py
  1. Select reasonable name for the server e.g. "HpcMcp" (camel case is a convention)
  2. Select whether to add the server locally or globally.
  3. You can tune the settings by opening setting.json (global settings) or .vscode/setting.json (workspace settings)

add MCP server

Zed

  1. Open Zed and go to settings.
  2. Open general settings CTRL-ALT-C
  3. Under section Model Context Protocol (MCP) Servers click Add Custom Server
  4. Add the following text (changing the <path/to>/hpc-mcp to your actual path)
{
  /// The name of your MCP server
  "hpc-mcp": {
    /// The command which runs the MCP server
    "command": "uv",
    /// The arguments to pass to the MCP server
    "args": [
      "--directory",
      "<path/to>/hpc-mcp",
      "run",
      "src/debug.py"
    ],
    /// The environment variables to set
    "env": {}
  }
}

Test the MCP Server

Test the MCP using our simple example

  • open terminal
  • cd example/simple
  • build the example using make
  • this should generate segfault.exe
  • then type the following prompt into your IDE LLM agent
"debug a crash in the program examples/simple/segfault.exe"
  • this should ask your permission to run debug_crash MCP tool
  • accept and you should get a response like the following cursor-demo

Running local LLMs with Ollama

To run the hpc-mcp MCP tool with a local Ollama model use the Zed text editor. It should automatically detect local running ollama models and make them available. As long as you have installed the hpc-mcp MCP server in zed (see instructions here) it should be available to your models. For more info on ollama integration with zed see zed's documentation.

[!NOTE] Not all models support calling of MCP tools. I managed to have success with qwen3:latest.

Core Dependencies

  • python
  • uv
  • fastmcp

Quick Install

Quick Actions

View on GitHubView All Servers

Key Features

Model Context Protocol
Secure Communication
Real-time Updates
Open Source

Boost your projects with Wisdom Gate LLM API

Supporting GPT-5, Claude-4, DeepSeek v3, Gemini and more.

Enjoy a free trial and save 20%+ compared to official pricing.

Learn More
JUHE API Marketplace

Accelerate development, innovate faster, and transform your business with our comprehensive API ecosystem.

JUHE API VS

  • vs. RapidAPI
  • vs. API Layer
  • API Platforms 2025
  • API Marketplaces 2025
  • Best Alternatives to RapidAPI

For Developers

  • Console
  • Collections
  • Documentation
  • MCP Servers
  • Free APIs
  • Temp Mail Demo

Product

  • Browse APIs
  • Suggest an API
  • Wisdom Gate LLM
  • Global SMS Messaging
  • Temp Mail API

Company

  • What's New
  • Welcome
  • About Us
  • Contact Support
  • Terms of Service
  • Privacy Policy
Featured on Startup FameFeatured on Twelve ToolsFazier badgeJuheAPI Marketplace - Connect smarter, beyond APIs | Product Huntai tools code.marketDang.ai
Copyright © 2025 - All rights reserved