Skip to content
VS Code

U2 MCP Server for VS Code

io.github.bpamiri/u2-mcp

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

client:VS Code transport:stdio runtime:pypi

Install U2 MCP Server in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "u2-host",
      "description": "U2_HOST",
      "password": true
    },
    {
      "type": "promptString",
      "id": "u2-user",
      "description": "U2_USER",
      "password": true
    },
    {
      "type": "promptString",
      "id": "u2-password",
      "description": "U2_PASSWORD",
      "password": true
    },
    {
      "type": "promptString",
      "id": "u2-account",
      "description": "U2_ACCOUNT",
      "password": true
    },
    {
      "type": "promptString",
      "id": "u2-service",
      "description": "U2_SERVICE",
      "password": true
    },
    {
      "type": "promptString",
      "id": "u2-port",
      "description": "U2_PORT",
      "password": true
    },
    {
      "type": "promptString",
      "id": "u2-ssl",
      "description": "U2_SSL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "u2-read-only",
      "description": "U2_READ_ONLY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "u2-max-records",
      "description": "U2_MAX_RECORDS",
      "password": true
    },
    {
      "type": "promptString",
      "id": "u2-blocked-commands",
      "description": "U2_BLOCKED_COMMANDS",
      "password": true
    }
  ],
  "servers": {
    "u2-mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "u2-mcp"
      ],
      "env": {
        "U2_HOST": "${input:u2-host}",
        "U2_USER": "${input:u2-user}",
        "U2_PASSWORD": "${input:u2-password}",
        "U2_ACCOUNT": "${input:u2-account}",
        "U2_SERVICE": "${input:u2-service}",
        "U2_PORT": "${input:u2-port}",
        "U2_SSL": "${input:u2-ssl}",
        "U2_READ_ONLY": "${input:u2-read-only}",
        "U2_MAX_RECORDS": "${input:u2-max-records}",
        "U2_BLOCKED_COMMANDS": "${input:u2-blocked-commands}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

U2 MCP Server in other clients