Home · Setup · Cursor

MCP Payroll in Cursor

Gross-to-net for hourly staff, computed in the conversation. payroll_run turns hours worked, hourly rate and a tax rate into gross pay, tax withheld and net pay, and payroll_invoice_total folds a payroll run into an invoice-ready total; the arithmetic is exact integer cents under the shared money formatter, so a run for three people agrees with a calculator to the cent.

Exact integer cents means the estimate agrees with your accountant to the cent; ask for the run in the same chat where the timesheet numbers already are.

What you get in Cursor

You sayTool
Run payroll: Ana 38h at 24, tax 22%.payroll_run
Run the team: Ana 38h, Bo 40h, Cy 12h, all at 24, 22%.payroll_run, three calls
What is the total to invoice for this run?payroll_invoice_total

The contract suite runs real stdio cases: 38 hours at 24.00 with a 22% tax rate returns gross 912.00, tax 200.64 and net 711.36 exactly, a second employee's run is independent of the first, and payroll_invoice_total equals the sum of the runs it was given.

Install it in Cursor

The file is .cursor/mcp.json, and the key inside it is mcpServers.

ScopePath
This project only<project>/.cursor/mcp.json
Every project~/.cursor/mcp.json

If you also run Claude Desktop, the shortest path there is one click: payroll.mcpb from the latest release opens as an extension, with no JSON and no terminal. Cursor reads its own config, so here it is:

The config block:

{
  "mcpServers": {
    "payroll": {
      "type": "stdio",
      "command": "node",
      "args": ["/absolute/path/to/mcp-servers/servers/payroll/dist/index.js"]
    }
  }
}

The node command above wants a built file. From a clone, once:

git clone https://github.com/theluckystrike/mcp-servers.git
cd mcp-servers && npm install
npm run build -w packages/mcp-license -w servers/payroll

That writes servers/payroll/dist/index.js, and its absolute path is the one argument the config needs.

The npm packages are not published yet, so the form below returns a 404 today. It is here because it is what the entry becomes the day the publish lands, with nothing else changed:

{
  "mcpServers": {
    "payroll": {
      "command": "npx",
      "args": ["-y", "@theluckystrike/mcp-payroll"]
    }
  }
}

The Customize page shows the server and its tools once it has started.

Nothing is published to npm yet, so the working install paths are the ones above: the .mcpb bundle from the latest release, a clone and build, or the hosted URL.

No install: the hosted endpoint

There is no hosted endpoint for this one yet. MCP Payroll runs locally over stdio with the config above, which is also the only form in which it reads and writes files on your own disk. Thirty of the servers in this collection are served at https://mcp.zovo.one/mcp/<name> over MCP streamable HTTP; https://mcp.zovo.one/mcp/connect lists them and prints a ready URL for each.

Cursor notes worth knowing first

The current field table marks `type` as required, with `stdio` for a locally launched server, so write it out rather than relying on command and args alone. The other documented restriction is that `envFile` is stdio-only: a remote HTTP or SSE server does not read it, and its headers belong in the config.

Free: Everything: two tools, no metering, no key. Pro is $19 once, verified offline.

Questions

Project config or global config?

<project>/.cursor/mcp.json applies to that project and can be committed, which suits a server tied to one client. ~/.cursor/mcp.json applies everywhere. Both are managed from the Customize page.

Why does my stdio entry not start?

The current field table marks type as required, with stdio for a locally launched server, so include it. Pointing at a remote endpoint, envFile is documented as stdio-only and is not read.

Is there a one-click install link?

Servers in Cursor's marketplace get an Add to Cursor button. The deeplink reference currently documents prompt, command and rule links only, so for MCP Payroll pasting the config block above is the supported route.

Related

MCP Payroll in detail · The same server in Claude Code and VS Code · Every server in Cursor · Guides · Cursor docs · Buy Pro