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

@surfboardpayments/surf-mcp

v1.2.1

Published

MCP server that exposes Surfboard Payments API documentation as searchable tools

Readme

@surfboardpayments/surf-mcp

MCP server for the Surfboard Payments API. Gives your AI assistant direct, searchable access to the complete API reference, webhook event catalog, integration guides, and web guides — so it can answer questions and write integration code without you having to paste docs into the chat.

What you can ask your AI

Once installed, your assistant has tools to look up payments docs on demand. Examples:

  • "How do I create a recurring payment with Surfboard?"
  • "Show me the request body for the create-order endpoint."
  • "Which webhook fires when a payment is captured? What's the payload?"
  • "Walk me through onboarding a new merchant via the API."
  • "What's the difference between client-auth-tokens and the server-to-server API?"

The model uses search_api_docs, search_webhook_docs, search_guides, and read_doc to find and read the relevant docs, then answers grounded in the actual specification.

Install

Claude Code / Claude Desktop

Add to .mcp.json in your project root (Claude Code) or to the MCP config in Claude Desktop:

{
  "mcpServers": {
    "surfboard-docs": {
      "command": "npx",
      "args": ["@surfboardpayments/surf-mcp"]
    }
  }
}

Cursor

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

{
  "mcpServers": {
    "surfboard-docs": {
      "command": "npx",
      "args": ["@surfboardpayments/surf-mcp"]
    }
  }
}

Windsurf

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

{
  "mcpServers": {
    "surfboard-docs": {
      "command": "npx",
      "args": ["@surfboardpayments/surf-mcp"]
    }
  }
}

Any other MCP-compatible client

The server is a standard stdio MCP server. Point your client at:

npx @surfboardpayments/surf-mcp

After installing, restart your AI client so it picks up the new server.

Tools

| Tool | Description | |------|-------------| | search_api_docs | Search API endpoints by keyword | | search_webhook_docs | Search webhook events by keyword | | search_guides | Search all guides — payment methods, SDKs, checkout flows, lifecycle, onboarding | | read_doc | Read the full content of any doc file | | list_api_sections | List all API sections with endpoint counts |

What's bundled

| Content | Coverage | |---------|----------| | API endpoints | 130+ endpoints across orders, payments, terminals, merchants, stores, webhooks, branding, billing, gift cards, product catalog, NFC, AI tools | | Webhook events | 20+ events covering merchant lifecycle, order status, payment status, terminal events | | Integration guides | In-store payments, online payments, SDK setup (Android/iOS), checkout flows, terminal handling, post-payment ops | | Web guides | 30+ task-oriented walkthroughs (recurring payments, partial captures, refunds, gift cards, onboarding, etc.) |

The bundle is a snapshot of the latest published documentation at the version you install. Updating to a newer package version pulls in newer docs.

Custom docs path

If you want to point the server at a local checkout of the docs repo (e.g., to test changes before they're published), set SURFBOARD_DOCS_PATH:

{
  "mcpServers": {
    "surfboard-docs": {
      "command": "npx",
      "args": ["@surfboardpayments/surf-mcp"],
      "env": { "SURFBOARD_DOCS_PATH": "/path/to/your/docs" }
    }
  }
}

Versioning

Follows SemVer. See CHANGELOG.md for what changed in each release. Doc-only updates from upstream are patch releases; new MCP tools or doc categories are minor; breaking tool-API changes are major.

Troubleshooting

  • Tools don't appear in the AI client. Restart the client after editing the MCP config. Verify the JSON parses (no trailing commas).
  • npx is slow on first run. It downloads the package the first time; subsequent runs are cached.
  • The docs feel out of date. Bump the package: npm i -g @surfboardpayments/surf-mcp@latest, or just re-run npx (it pulls latest by default).
  • Want to file an issue? Open one at the GitHub repo.

Links