Skip to main content
Glama
Novita MCP Server

Novita MCP Server

Official
by novitalabs

Novita MCP 服务器

铁匠徽章

novita-mcp-server是一个模型上下文协议 (MCP) 服务器,可与 Novita AI 平台资源无缝交互。我们建议通过Claude Desktop 、 Cursor或任何其他兼容的 MCP 客户端访问此服务器。

特征

⚠️ Beta 测试公告: novita-mcp-server目前处于 Beta 阶段,仅支持 GPU 实例管理。未来版本将支持更多资源类型。

目前, novita-mcp-server可以管理GPU实例产品的资源。

支持的操作如下:

  • 集群(/区域):列表;

  • 产品:列表;

  • GPU实例:列出、获取、创建、启动、停止、删除、重启;

  • 模板:列出、获取、创建、删除;

  • 容器注册表授权:列出、创建、删除;

  • 网络存储:列出、创建、更新、删除;

Related MCP server: Outsource MCP

安装

您可以使用 npm 或 Smithery 安装该软件包:

使用 npm

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

使用 Smithery

访问https://smithery.ai/server/@novitalabs/novita-mcp-server并按照“安装”说明安装服务器。

配置使用novita-mcp-server

首先,您需要从Novita AI 密钥管理中获取您的 Novita API 密钥。

接下来,您可以对 Claude Desktop 和 Cursor 使用以下配置:

📌提示

对于 Claude Desktop,您可以参考Claude Desktop MCP 快速入门指南来了解如何配置 MCP 服务器。

对于 Cursor,您可以参考Cursor MCP 快速入门指南来了解如何配置 MCP 服务器。

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

示例

以下是一些如何使用novita-mcp-server通过 Claude Desktop 或 Cursor 管理资源的示例:

列出集群

List all the Novita clusters

列出产品

List all available Novita GPU instance products

列出 GPU 实例

List all my running Novita GPU instances

创建新的 GPU 实例

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

测试

该项目使用 Jest 进行测试。测试位于 src/ tests目录中。

您可以使用以下命令之一运行测试:

npm test

Available Tools

20 tools
create-container-registry-authD

Inputs: name (required), username (required), password (required).

create-gpu-instanceD

Inputs: name (required), productId (required), gpuNum (required), rootfsSize (required), +7 more.

create-network-storageD

Inputs: clusterId (required), storageName (required), storageSize (required).

create-templateD

Inputs: template (required).

delete-container-registry-authD

Inputs: id (required).

delete-gpu-instanceD

Inputs: instanceId (required).

delete-network-storageD

Inputs: storageId (required).

delete-templateD

Inputs: templateId (required).

get-gpu-instanceD

Inputs: instanceId (required).

get-templateD

Inputs: templateId (required).

list-clustersD

Inputs: no named parameters.

list-container-registry-authsD

Inputs: no named parameters.

list-gpu-instancesD

Inputs: pageSize, pageNumber, name, productName, +1 more.

list-network-storageD

Inputs: pageNo, pageSize, storageName, storageId.

list-productsD

Inputs: clusterId, productName.

list-templatesD

Inputs: pageSize, pageNum, type, channel.

restart-gpu-instanceD

Inputs: instanceId (required).

start-gpu-instanceD

Inputs: instanceId (required).

stop-gpu-instanceD

Inputs: instanceId (required).

update-network-storageD

Inputs: storageId (required), storageSize (required), storageName.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    C2.1/5.0

    Scored across 20 tools

    Disambiguation5/5

    Each tool has a clearly distinct purpose targeting specific resources and actions. The naming convention makes it easy to differentiate between operations on different resource types like GPU instances, templates, network storage, and container registry auths. There is no ambiguity about which tool to use for a given task.

    Naming Consistency5/5

    Tool names follow a perfectly consistent verb_noun pattern throughout, using snake_case uniformly. The pattern is clear: action_resource (e.g., create_gpu_instance, list_templates, delete_network_storage). This consistency makes the tool set highly predictable and easy to navigate.

    Tool Count4/5

    With 20 tools, the count is slightly high but reasonable for a cloud infrastructure server covering multiple resource types. It provides comprehensive operations for GPU instances, templates, network storage, and container registry auths, though it might feel a bit heavy compared to more focused servers.

    Completeness4/5

    The tool set offers good CRUD/lifecycle coverage for its domain, with create, delete, list, and specific operations like start/stop/restart for GPU instances. Minor gaps exist, such as missing update operations for GPU instances and templates, but agents can work around these with the available tools.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers