Novita MCP Server logo

Novita MCP Server

by novitalabs

The `novita-mcp-server` is a Model Context Protocol (MCP) server designed to facilitate interaction with Novita AI platform resources. It enables users to manage their Novita AI resources seamlessly through compatible MCP clients like Claude Desktop and Cursor.

View on GitHub

Last updated: N/A

Novita MCP Server

novita-mcp-server is a Model Context Protocol (MCP) server that provides seamless interaction with Novita AI platform resources. We recommend accessing this server through Claude Desktop, Cursor, or any other compatible MCP client.

Features

⚠️ Beta Notice: novita-mcp-server is currently in beta and only supports GPU instance management. Additional resource types will be supported in future releases.

Currently, novita-mcp-server enables management the resources of GPU instances product.

Supported operations are as follows:

  • Cluster(/Region): List;
  • Product: List;
  • GPU Instance: List, Get, Create, Start, Stop, Delete, Restart;
  • Template: List, Get, Create, Delete;
  • Container Registry Auth: List, Create, Delete;
  • Network Storage: List, Create, Update, Delete;

Installation

You can install the package using either npm, mcp-get, or Smithery:

Installing via Smithery

To install novita-mcp-server for Claude Desktop automatically via Smithery:

npx -y @smithery/cli install @novitalabs/novita-mcp-server --client claude

Installing Manually

Using npm:

npm install -g @novitalabs/novita-mcp-server

Configuration to use novita-mcp-server

First, you need to get your Novita API key from the Novita AI Key Management.

And next, you can use the following configuration for both Claude Desktop and Cursor:

📌 Tips

For Claude Desktop, you can refer to the Claude Desktop MCP Quickstart guide to learn how to configure the MCP server.

For Cursor, you can refer to the Cursor MCP Quickstart guide to learn how to configure the MCP server.

{
  "mcpServers": {
    "@novitalabs/novita-mcp-server": {
      "command": "npx",
      "args": ["-y", "@novitalabs/novita-mcp-server"],
      "env": {
        "NOVITA_API_KEY": "your_api_key_here"
      }
    }
  }
}

Examples

Here are some examples of how to use the novita-mcp-server to manage your resources with Claude Desktop or Cursor:

List clusters

List all the Novita clusters

List products

List all available Novita GPU instance products

List GPU instances

List all my running Novita GPU instances

Create a new GPU instance

Create a new Novita GPU instance:

Name: test-novita-mcp-server-01
Product: any available product
GPU Number: 1
Image: A standard public PyTorch/CUDA image
Container Disk: 60GB

Testing

This project uses Jest for testing. The tests are located in the src/tests directory.

You can run the tests using one of the following commands:

npm test