Basis

v0.3.2
tech.basis1/mcp Checked 1 hour ago Published 17 days ago

The Excel engine for AI agents: read, check and edit Excel models over MCP.

Values you need

VariableWhat it is
BASIS_API_KEYrequired secret Your Basis API key, from https://api.basis1.tech
BASIS_BASE_URLoptional Basis API base URL, to use a self-hosted server Default: https://api.basis1.tech

npm (npx) verified

Requires Node.js 18+

Run in a terminal
claude mcp add mcp -e 'BASIS_API_KEY=<BASIS_API_KEY>' -- npx -y --package=@basis1/mcp@0.3.2 basis-mcp
Add to claude_desktop_config.json
{
  "mcpServers": {
    "mcp": {
      "args": [
        "-y",
        "--package=@basis1/mcp@0.3.2",
        "basis-mcp"
      ],
      "command": "npx",
      "env": {
        "BASIS_API_KEY": "<BASIS_API_KEY>"
      }
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "mcp": {
      "args": [
        "-y",
        "--package=@basis1/mcp@0.3.2",
        "basis-mcp"
      ],
      "command": "npx",
      "env": {
        "BASIS_API_KEY": "<BASIS_API_KEY>"
      }
    }
  }
}
Add to .vscode/mcp.json
{
  "inputs": [
    {
      "description": "BASIS_API_KEY",
      "id": "basis-api-key",
      "password": true,
      "type": "promptString"
    }
  ],
  "servers": {
    "mcp": {
      "args": [
        "-y",
        "--package=@basis1/mcp@0.3.2",
        "basis-mcp"
      ],
      "command": "npx",
      "env": {
        "BASIS_API_KEY": "${input:basis-api-key}"
      },
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.mcp]
command = "npx"
args = ["-y", "--package=@basis1/mcp@0.3.2", "basis-mcp"]
env = { "BASIS_API_KEY" = "<BASIS_API_KEY>" }

Remote (hosted)

Run in a terminal
claude mcp add --transport http mcp https://api.basis1.tech/mcp --header 'Authorization: <Authorization>'
Add to Settings → Connectors → Add custom connector (or claude_desktop_config.json via mcp-remote)
{
  "mcpServers": {
    "mcp": {
      "args": [
        "-y",
        "mcp-remote",
        "https://api.basis1.tech/mcp",
        "--header",
        "Authorization: <Authorization>"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "mcp": {
      "headers": {
        "Authorization": "<Authorization>"
      },
      "url": "https://api.basis1.tech/mcp"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "mcp": {
      "headers": {
        "Authorization": "<Authorization>"
      },
      "type": "http",
      "url": "https://api.basis1.tech/mcp"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.mcp]
command = "npx"
args = ["-y", "mcp-remote", "https://api.basis1.tech/mcp", "--header", "Authorization: <Authorization>"]

For AI agents

  1. Ask the user for: BASIS_API_KEY. Never invent or guess these values; secrets go into the client config, not into chat logs.
  2. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  3. Restart or reload the client so it starts the server.
  4. Verify: the server should expose these tools: parse_workbook, submit_job, stream_job, diff_workbooks, evaluate_formula, create_session, close_session, list_sessions, ….
  5. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json