N

Nulabg MCP

by encorp-io · io.github.encorp-io/nulabg-mcp

Enables AI assistants to interact with the nula.bg accounting platform — invoices, purchases with OCR, customers, inventory, and bank feeds — through an API key, with read-only mode by default.

npm Local · stdio GlamaOfficial MCP Registry High confidence

Install

Add to ~/Library/Application Support/Claude/claude_desktop_config.json

Windows / Linux path
Windows: %APPDATA%\Claude\claude_desktop_config.json
Linux: ~/.config/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "io-github-encorp-io-nulabg-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "nulabg-mcp"
      ],
      "env": {
        "NULA_API_KEY": "<YOUR_VALUE>",
        "NULA_READ_ONLY": "true",
        "NULA_PROFILES": "<YOUR_VALUE>",
        "NULA_BASE_URL": "https://nula.bg",
        "NULA_TOOLSETS": "core,invoices,bills,ocr,customers,inventory,banking,insights",
        "NULA_LOG_LEVEL": "info",
        "NULA_FILE_ROOTS": "~",
        "NULA_TIMEOUT_MS": "30000",
        "NULA_DOWNLOAD_DIR": "~/Downloads/nula",
        "NULA_CONFIRM_WRITES": "elicit",
        "NULA_DEFAULT_PROFILE": "<VALUE>",
        "NULA_MAX_CONCURRENCY": "4",
        "NULA_DEFAULT_CURRENCY": "EUR",
        "NULA_DEFAULT_LANGUAGE": "bg",
        "NULA_BILL_CALLBACK_URL": "https://nula.bg/",
        "NULA_DEFAULT_INVOICE_CATEGORY": "<VALUE>"
      }
    }
  }
}

Restart Claude Desktop to activate the new server.

Add to .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)

Windows / Linux path
Windows: .cursor\mcp.json (project) or %USERPROFILE%\.cursor\mcp.json (global)
Linux: .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)
{
  "mcpServers": {
    "io-github-encorp-io-nulabg-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "nulabg-mcp"
      ],
      "env": {
        "NULA_API_KEY": "<YOUR_VALUE>",
        "NULA_READ_ONLY": "true",
        "NULA_PROFILES": "<YOUR_VALUE>",
        "NULA_BASE_URL": "https://nula.bg",
        "NULA_TOOLSETS": "core,invoices,bills,ocr,customers,inventory,banking,insights",
        "NULA_LOG_LEVEL": "info",
        "NULA_FILE_ROOTS": "~",
        "NULA_TIMEOUT_MS": "30000",
        "NULA_DOWNLOAD_DIR": "~/Downloads/nula",
        "NULA_CONFIRM_WRITES": "elicit",
        "NULA_DEFAULT_PROFILE": "<VALUE>",
        "NULA_MAX_CONCURRENCY": "4",
        "NULA_DEFAULT_CURRENCY": "EUR",
        "NULA_DEFAULT_LANGUAGE": "bg",
        "NULA_BILL_CALLBACK_URL": "https://nula.bg/",
        "NULA_DEFAULT_INVOICE_CATEGORY": "<VALUE>"
      }
    }
  }
}

Cursor usually picks up config changes automatically; if the server does not appear, reload the window.

Add to .mcp.json (project) or ~/.claude.json (global)

Windows / Linux path
Windows: .mcp.json (project) or %USERPROFILE%\.claude.json (global)
Linux: .mcp.json (project) or ~/.claude.json (global)
{
  "mcpServers": {
    "io-github-encorp-io-nulabg-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "nulabg-mcp"
      ],
      "env": {
        "NULA_API_KEY": "<YOUR_VALUE>",
        "NULA_READ_ONLY": "true",
        "NULA_PROFILES": "<YOUR_VALUE>",
        "NULA_BASE_URL": "https://nula.bg",
        "NULA_TOOLSETS": "core,invoices,bills,ocr,customers,inventory,banking,insights",
        "NULA_LOG_LEVEL": "info",
        "NULA_FILE_ROOTS": "~",
        "NULA_TIMEOUT_MS": "30000",
        "NULA_DOWNLOAD_DIR": "~/Downloads/nula",
        "NULA_CONFIRM_WRITES": "elicit",
        "NULA_DEFAULT_PROFILE": "<VALUE>",
        "NULA_MAX_CONCURRENCY": "4",
        "NULA_DEFAULT_CURRENCY": "EUR",
        "NULA_DEFAULT_LANGUAGE": "bg",
        "NULA_BILL_CALLBACK_URL": "https://nula.bg/",
        "NULA_DEFAULT_INVOICE_CATEGORY": "<VALUE>"
      }
    }
  }
}

The server will be available in the next Claude Code session.

Add to .vscode/mcp.json

Windows / Linux path
Windows: .vscode\mcp.json
Linux: .vscode/mcp.json
{
  "servers": {
    "io-github-encorp-io-nulabg-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "nulabg-mcp"
      ],
      "env": {
        "NULA_API_KEY": "<YOUR_VALUE>",
        "NULA_READ_ONLY": "true",
        "NULA_PROFILES": "<YOUR_VALUE>",
        "NULA_BASE_URL": "https://nula.bg",
        "NULA_TOOLSETS": "core,invoices,bills,ocr,customers,inventory,banking,insights",
        "NULA_LOG_LEVEL": "info",
        "NULA_FILE_ROOTS": "~",
        "NULA_TIMEOUT_MS": "30000",
        "NULA_DOWNLOAD_DIR": "~/Downloads/nula",
        "NULA_CONFIRM_WRITES": "elicit",
        "NULA_DEFAULT_PROFILE": "<VALUE>",
        "NULA_MAX_CONCURRENCY": "4",
        "NULA_DEFAULT_CURRENCY": "EUR",
        "NULA_DEFAULT_LANGUAGE": "bg",
        "NULA_BILL_CALLBACK_URL": "https://nula.bg/",
        "NULA_DEFAULT_INVOICE_CATEGORY": "<VALUE>"
      }
    }
  }
}

Reload the VS Code window to activate.

Add to ~/.codeium/windsurf/mcp_config.json

Windows / Linux path
Windows: %USERPROFILE%\.codeium\windsurf\mcp_config.json
Linux: ~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "io-github-encorp-io-nulabg-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "nulabg-mcp"
      ],
      "env": {
        "NULA_API_KEY": "<YOUR_VALUE>",
        "NULA_READ_ONLY": "true",
        "NULA_PROFILES": "<YOUR_VALUE>",
        "NULA_BASE_URL": "https://nula.bg",
        "NULA_TOOLSETS": "core,invoices,bills,ocr,customers,inventory,banking,insights",
        "NULA_LOG_LEVEL": "info",
        "NULA_FILE_ROOTS": "~",
        "NULA_TIMEOUT_MS": "30000",
        "NULA_DOWNLOAD_DIR": "~/Downloads/nula",
        "NULA_CONFIRM_WRITES": "elicit",
        "NULA_DEFAULT_PROFILE": "<VALUE>",
        "NULA_MAX_CONCURRENCY": "4",
        "NULA_DEFAULT_CURRENCY": "EUR",
        "NULA_DEFAULT_LANGUAGE": "bg",
        "NULA_BILL_CALLBACK_URL": "https://nula.bg/",
        "NULA_DEFAULT_INVOICE_CATEGORY": "<VALUE>"
      }
    }
  }
}

Restart Windsurf (or refresh its MCP servers panel) to activate the new server.

Windsurf Next uses ~/.codeium/windsurf-next/mcp_config.json. Devin Desktop (the Windsurf rebrand) uses ~/.config/devin/mcp_config.json and imports the Windsurf file.

Add to ~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json

Windows / Linux path
Windows: %APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json
Linux: ~/.config/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
{
  "mcpServers": {
    "io-github-encorp-io-nulabg-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "nulabg-mcp"
      ],
      "env": {
        "NULA_API_KEY": "<YOUR_VALUE>",
        "NULA_READ_ONLY": "true",
        "NULA_PROFILES": "<YOUR_VALUE>",
        "NULA_BASE_URL": "https://nula.bg",
        "NULA_TOOLSETS": "core,invoices,bills,ocr,customers,inventory,banking,insights",
        "NULA_LOG_LEVEL": "info",
        "NULA_FILE_ROOTS": "~",
        "NULA_TIMEOUT_MS": "30000",
        "NULA_DOWNLOAD_DIR": "~/Downloads/nula",
        "NULA_CONFIRM_WRITES": "elicit",
        "NULA_DEFAULT_PROFILE": "<VALUE>",
        "NULA_MAX_CONCURRENCY": "4",
        "NULA_DEFAULT_CURRENCY": "EUR",
        "NULA_DEFAULT_LANGUAGE": "bg",
        "NULA_BILL_CALLBACK_URL": "https://nula.bg/",
        "NULA_DEFAULT_INVOICE_CATEGORY": "<VALUE>"
      }
    }
  }
}

Cline reloads cline_mcp_settings.json automatically; if the server does not appear, reload the VS Code window.

Open it from Cline's MCP Servers panel → Configure. Roo Code uses a different file and format.

Configuration

Environment variables this server reads. Secrets stay on your machine.

NameRequiredDescription
NULA_API_KEY secret Yes API ключ (задължителен, освен ако не ползвате NULA_PROFILES)
NULA_READ_ONLY No Само четене. Промени в nula.bg се разрешават само с изрично false (0, no, off). Всяка друга стойност оставя режима само за четене. Default: true
NULA_PROFILES secret No Няколко фирми: `{"firma-a":"ключ1","firma-b":"ключ2"}` или път до JSON файл.
NULA_BASE_URL No Базов URL на API. Default: https://nula.bg
NULA_TOOLSETS No Кои модули да са активни; `all` включва и `nra`, `noi`. Default: core,invoices,bills,ocr,customers,inventory,banking,insights
NULA_LOG_LEVEL No Ниво на логване (debug, info, warn, error). Default: info
NULA_FILE_ROOTS No Папки, от които може да се качват файлове (разделени с `:`, на Windows с `;`). Default: ~
NULA_TIMEOUT_MS No Таймаут на заявките в милисекунди. Default: 30000
NULA_DOWNLOAD_DIR No Къде се записват PDF и XML. Default: ~/Downloads/nula
NULA_CONFIRM_WRITES No Потвърждение в клиента преди създаване, изпращане и изтриване (ако клиентът поддържа elicitation); `never` го изключва. Default: elicit
NULA_DEFAULT_PROFILE No Фирма по подразбиране при `NULA_PROFILES`.
NULA_MAX_CONCURRENCY No Максимален брой едновременни заявки. Default: 4
NULA_DEFAULT_CURRENCY No Валута за нови документи. Default: EUR
NULA_DEFAULT_LANGUAGE No Език на PDF и имейл (`bg` / `en`). Default: bg
NULA_BILL_CALLBACK_URL No Адрес, който nula.bg уведомява след създаване на покупка. Default: https://nula.bg/
NULA_DEFAULT_INVOICE_CATEGORY No Категория за нови фактури (nula.bg изисква поне една).

Similar servers