SQL Account (read-only)

v0.1.0
io.github.z9systems/sql-account-mcp Checked 2 days ago Published 7 days ago

Read-only SQL Account (SQL Accounting) data: customers, stock, invoices and payments.

Values you need

VariableWhat it is
SQLACC_ACCESS_KEYrequired secret Access key of your SQL Account API user
SQLACC_SECRET_KEYrequired secret Secret key of your SQL Account API user
SQLACC_BASE_URLoptional SQL Account API address (default https://api.sql.my)

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add sql-account-mcp -e 'SQLACC_ACCESS_KEY=<SQLACC_ACCESS_KEY>' -e 'SQLACC_SECRET_KEY=<SQLACC_SECRET_KEY>' -- npx -y sql-account-mcp@0.1.0
Add to claude_desktop_config.json
{
  "mcpServers": {
    "sql-account-mcp": {
      "args": [
        "-y",
        "sql-account-mcp@0.1.0"
      ],
      "command": "npx",
      "env": {
        "SQLACC_ACCESS_KEY": "<SQLACC_ACCESS_KEY>",
        "SQLACC_SECRET_KEY": "<SQLACC_SECRET_KEY>"
      }
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "sql-account-mcp": {
      "args": [
        "-y",
        "sql-account-mcp@0.1.0"
      ],
      "command": "npx",
      "env": {
        "SQLACC_ACCESS_KEY": "<SQLACC_ACCESS_KEY>",
        "SQLACC_SECRET_KEY": "<SQLACC_SECRET_KEY>"
      }
    }
  }
}
Add to .vscode/mcp.json
{
  "inputs": [
    {
      "description": "SQLACC_ACCESS_KEY",
      "id": "sqlacc-access-key",
      "password": true,
      "type": "promptString"
    },
    {
      "description": "SQLACC_SECRET_KEY",
      "id": "sqlacc-secret-key",
      "password": true,
      "type": "promptString"
    }
  ],
  "servers": {
    "sql-account-mcp": {
      "args": [
        "-y",
        "sql-account-mcp@0.1.0"
      ],
      "command": "npx",
      "env": {
        "SQLACC_ACCESS_KEY": "${input:sqlacc-access-key}",
        "SQLACC_SECRET_KEY": "${input:sqlacc-secret-key}"
      },
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.sql-account-mcp]
command = "npx"
args = ["-y", "sql-account-mcp@0.1.0"]
env = { "SQLACC_ACCESS_KEY" = "<SQLACC_ACCESS_KEY>", "SQLACC_SECRET_KEY" = "<SQLACC_SECRET_KEY>" }

For AI agents

  1. Ask the user for: SQLACC_ACCESS_KEY, SQLACC_SECRET_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: list_customers, get_customer, list_stock_items, get_stock_item, list_sales_invoices, get_sales_invoice, list_purchase_invoices, get_purchase_invoice, ….
  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