npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@sparkdesk/mcp-server

v1.3.1

Published

MCP server for SparkDesk — CRM, project management, time tracking, and finance

Readme

@sparkdesk/mcp-server

MCP server for SparkDesk — full CRUD and search across CRM, Work, Expenses, and read-only Analytics, exposed as tools for Claude, ChatGPT, and any MCP client.

It runs in two ways from the same package:

  • Local (stdio): npx @sparkdesk/mcp-server with a SPARKDESK_API_KEY env var.
  • Remote (Streamable HTTP): the hosted mcp Supabase Edge Function imports this package and serves it at a URL, so no local process is required.

Both talk to the org-scoped public-api gateway; every operation is scoped to the org that owns the API key.

Getting an API key

An org Owner/Admin mints a key in SparkDesk (Settings → API Keys), which calls the api-keys Edge Function. Keys look like sk_live_... and are shown once. Scope: all tool calls made with a key act on that key's organization.

Connecting

Remote URL (recommended — works on any device)

https://tzxhxezupualwekwhuct.supabase.co/functions/v1/mcp?api_key=sk_live_YOUR_KEY
  • Claude.ai → Settings → Integrations → Add custom integration: paste the URL above.
  • ChatGPT → Settings → Connectors → Add: paste the URL above.
  • Claude Desktop (claude_desktop_config.json):
    {
      "mcpServers": {
        "sparkdesk": {
          "command": "npx",
          "args": ["-y", "mcp-remote", "https://tzxhxezupualwekwhuct.supabase.co/functions/v1/mcp?api_key=sk_live_YOUR_KEY"]
        }
      }
    }

The key may also be sent as an X-API-Key header or Authorization: Bearer for clients that support custom headers.

Local stdio (Claude Desktop)

{
  "mcpServers": {
    "sparkdesk": {
      "command": "npx",
      "args": ["-y", "@sparkdesk/mcp-server"],
      "env": { "SPARKDESK_API_KEY": "sk_live_YOUR_KEY" }
    }
  }
}

Optional env: SPARKDESK_API_URL to point at a non-default gateway (e.g. a local supabase functions serve instance).

Tools

Naming is entity_action. Standard CRUD entities expose _search, _get, _create, _update, _delete (search takes query, page, limit plus entity filters).

  • CRM: account_*, contact_*, lead_*, opportunity_*, case_*, note_*, activity_list, customfield_list_defs / customfield_get_values / customfield_set_value
  • Work: project_*, task_*, timeentry_*
  • Finance/Expenses: expense_*, expensecategory_list, expensereport_*, invoice_*, contract_*, budget_*, timesheet_*
  • Analytics (read-only): analytics_lead_pipeline, analytics_revenue_by_account, analytics_time_by_project, analytics_expense_by_category (optional from/to)
  • Utility: search_global, lookup, context_whoami
  • Reports: report_list, report_get

Development

npm install
npm run build      # tsc -> dist/
npm run typecheck
npm run dev        # tsx src/index.ts (stdio)

Inspect tools with the MCP Inspector:

# stdio
SPARKDESK_API_KEY=sk_live_... npx @modelcontextprotocol/inspector node dist/index.js
# remote
npx @modelcontextprotocol/inspector   # then connect to the /functions/v1/mcp?api_key=... URL

Versioning

0.3.x added entity_action naming, _get tools, notes, custom fields, analytics, global search, context_whoami, and the remote Streamable HTTP transport. Tool names changed from the 0.2.x action_entity form (e.g. create_contact → contact_create).