U2 MCP Server

Connect AI assistants to Rocket Universe/UniData MultiValue databases via MCP.

Local serverstdioPython

What is the U2 MCP server?

Connect AI assistants to Rocket Universe/UniData MultiValue databases via MCP. Exposed over MCP by the u2 mcp server, that capability becomes something an assistant can invoke while it works, not something you go and do afterwards.

What it actually does

u2-mcp is an MCP server that lets AI assistants like Claude query and interact with Rocket Universe and UniData MultiValue databases. Ask questions in plain English and get real answers from your data.

  • Connection Management — - Connect to Universe/UniData servers with connection pooling and SSL support
  • File Operations — - Read, write, and delete records while preserving MultiValue semantics
  • Query Execution — - Run RetrieVe/UniQuery statements with safety controls
  • Dictionary Access — - Explore file structures and field definitions
  • BASIC Subroutine Calls — - Execute cataloged BASIC programs
  • Transaction Support — - Full transaction management with commit/rollback

Its toolset

Everything the assistant can do here goes through one of these:

  • Prerequisites — The Prerequisites tool exposed by this server
  • Configuration — The Configuration tool exposed by this server
  • Reference — The Reference tool exposed by this server

Configuration

You will need 8 environment variables: U2_HOST, U2_USER, U2_PASSWORD, U2_ACCOUNT, U2_KNOWLEDGE_PATH, U2_SERVICE, U2_HTTP_HOST, U2_HTTP_PORT. Keep credentials in your client's env block or a secrets manager rather than in a file you might commit.

  • Python 3.10+ - Access to a Rocket Universe or UniData server - The uopy package (installed automatically as a dependency)

Adding it to your client

u2-mcp on PyPI is all you need. Most clients run it directly, so configuration is a few lines and a restart.

When to reach for it

Plenty of AI and media services servers cover similar ground. The differences that matter in practice are scope of access and how much setup stands between you and a working tool call. U2's toolset — Prerequisites, Configuration, Reference — is a fair guide to whether it matches your workflow. It is maintained by bpamiri; worth a glance at recent repository activity before you build anything load-bearing on it.

SyncDev reviews every entry in this directory against the project's own documentation before publishing, and revisits them as servers change.

Caveats

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • MCP clients confirm each tool call by default. Leave that on until you have watched what the u2 mcp server does with a few real requests.

Available tools

ToolWhat it does
PrerequisitesThe Prerequisites tool exposed by this server.
ConfigurationThe Configuration tool exposed by this server.
ReferenceThe Reference tool exposed by this server.

How to install the U2 MCP server

{
  "mcpServers": {
    "u2": {
      "command": "uvx",
      "args": ["u2-mcp"],
      "env": {
        "U2_HOST": "your-value",
        "U2_USER": "your-value",
        "U2_PASSWORD": "your-value",
        "U2_ACCOUNT": "your-value",
        "U2_KNOWLEDGE_PATH": "your-value",
        "U2_SERVICE": "your-value",
        "U2_HTTP_HOST": "your-value",
        "U2_HTTP_PORT": "your-value"
      }
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Configuration

  • Python 3.10+ - Access to a Rocket Universe or UniData server - The uopy package (installed automatically as a dependency)
VariableDescriptionRequired
U2_HOSTEndpoint or connection string the server talks to.Optional
U2_USERConfiguration value read at startup.Optional
U2_PASSWORDConfiguration value read at startup.Optional
U2_ACCOUNTConfiguration value read at startup.Optional
U2_KNOWLEDGE_PATHFilesystem location the server is allowed to use.Optional
U2_SERVICEConfiguration value read at startup.Optional
U2_HTTP_HOSTEndpoint or connection string the server talks to.Optional
U2_HTTP_PORTConfiguration value read at startup.Optional

Example prompts to try

  • Use U2 to Prerequisites.
  • Use U2 to Configuration.
  • Use U2 to Reference.

Frequently asked questions

It connects U2 to MCP-compatible AI assistants such as Claude and Cursor, exposing 3 tools (Prerequisites, Configuration, Reference) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with U2 directly.