Skip to main content
Glama

nexaa-mcp

An MCP (Model Context Protocol) server that exposes Nexaa cloud platform operations as tools to MCP-compatible clients such as Claude.

Disclaimer: This is a personal project and is not officially affiliated with, or maintained by Tilaa.

What it does

nexaa-mcp connects to the Nexaa GraphQL API and provides tools for managing:

  • Namespaces — list, create, get, delete

  • Containers — list, create, get, modify, delete, list plans, get logs

  • Container Jobs — list, create, get, modify, delete

  • Volumes — list, create, delete, increase

  • Registries — list, create, delete

  • Database Clusters — list, create, get, modify, delete, list plans/versions

  • Databases — create, delete

  • Database Users — list, create, get, modify, delete, get credentials

  • Message Queues — list, create, get, modify, delete, get credentials, list plans/versions

  • Billing — account credit, dedicated IP status, and cost breakdown per namespace and resource

  • Audit Log — who changed which resource and when, filterable by event type and resource type

Related MCP server: GraphQL MCP Server

Configuration

Copy .env.example to .env and fill in your credentials:

cp .env.example .env

Variable

Required

Description

NEXAA_USERNAME

Yes

Your Nexaa account username

NEXAA_PASSWORD

Yes

Your Nexaa account password

NEXAA_GRAPHQL_URL

No

GraphQL endpoint (default: https://graphql.tilaa.com/graphql/platform)

NEXAA_KEYCLOAK_URL

No

Auth endpoint (default: https://auth.tilaa.com)

TRANSPORT

No

stdio (default) or http

PORT

No

HTTP port when TRANSPORT=http (default: 3000)

MCP_AUTH_TOKEN

No

Bearer token to protect the HTTP endpoint (recommended when hosting)

Transports

stdio (default)

The server communicates over stdin/stdout. This is the standard mode for running nexaa-mcp as a local subprocess from Claude Code or another MCP client.

HTTP

Set TRANSPORT=http to start an HTTP server instead. This is the mode to use when hosting nexaa-mcp remotely (e.g. in a container).

The server exposes a single endpoint at /mcp that implements the MCP Streamable HTTP transport.

Set MCP_AUTH_TOKEN to require a Authorization: Bearer <token> header on all requests. Without it the endpoint is unprotected.

Running locally

Prerequisites: Node.js 22+

npm install
npm run dev

To build and run the compiled output:

npm run build
npm start

Running with Docker

Build the image:

docker build -t nexaa-mcp .

stdio mode (local use):

docker run --rm -i --env-file .env nexaa-mcp

HTTP mode (hosted use):

docker run --rm \
  -e NEXAA_USERNAME=your-username \
  -e NEXAA_PASSWORD=your-password \
  -e TRANSPORT=http \
  -e MCP_AUTH_TOKEN=your-secret-token \
  -p 3000:3000 \
  nexaa-mcp

Connecting to Claude Code

Local (stdio)

{
  "mcpServers": {
    "nexaa": {
      "command": "node",
      "args": ["/path/to/nexaa-mcp/dist/index.js"],
      "env": {
        "NEXAA_USERNAME": "your-username",
        "NEXAA_PASSWORD": "your-password"
      }
    }
  }
}

Or via Docker:

{
  "mcpServers": {
    "nexaa": {
      "command": "docker",
      "args": [
        "run",
        "--rm",
        "-i",
        "-e",
        "NEXAA_USERNAME=your-username",
        "-e",
        "NEXAA_PASSWORD=your-password",
        "nexaa-mcp"
      ]
    }
  }
}

Remote (HTTP)

Use claude mcp add-json to register the hosted server:

claude mcp add-json nexaa '{
  "type": "http",
  "url": "https://your-host.example.com/mcp",
  "headers": {
    "Authorization": "Bearer your-secret-token"
  }
}'

Or add it directly to ~/.claude.json / .mcp.json:

{
  "mcpServers": {
    "nexaa": {
      "type": "http",
      "url": "https://your-host.example.com/mcp",
      "headers": {
        "Authorization": "Bearer your-secret-token"
      }
    }
  }
}

To generate a secure token:

openssl rand -base64 32

Development

The project uses a two-layer structure:

  • src/tools/{resource}.ts — MCP tool definitions with Zod input schemas

  • src/queries/{resource}.graphql — GraphQL queries and mutations

schema.graphql is a copy of the Nexaa API schema. To update it from the live API, run:

npm run schema:fetch

This uses the NEXAA_USERNAME and NEXAA_PASSWORD from your .env to authenticate, and falls back to the anonymous schema when they are not set.

Types are generated from the schema and queries by running:

npm run codegen

Run codegen after every schema fetch. It fails when a query uses a field the API has removed. Input fields in the Zod schemas in src/tools are not type-checked against the schema, so check those by hand.

To add a new resource, create src/queries/{resource}.graphql, run codegen, create src/tools/{resource}.ts, and register the tools in src/index.ts.

Tool Schema Changelog

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

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      Automatically generates MCP tools from any GraphQL API by introspecting its schema, supporting queries, mutations, and authentication.
      5
      GPL 3.0
    • F
      license
      Not graded
      quality
      C
      maintenance
      Enables MCP clients to interact with a fixed business GraphQL API as typed, safely guarded tools, including JWT authentication, rate limiting, and query/mutation protections.
      -
    • A
      license
      A
      quality
      C
      maintenance
      Enables any MCP client to search, browse, download, and manage Nexus Mods content—games, mods, files, comments, collections, and user preferences—through a unified REST and GraphQL interface with caching and OAuth2 support.
      135
      29 PyPI
      3
      MIT