home / mcp / nicepay mcp server

NicePay MCP Server

MCP server that indexes NicePay guidance and provides search, endpoint viewing, code samples, and SDK method guidance.

Installation
Add the following to your MCP client configuration file.

Configuration

View docs
{
  "mcpServers": {
    "faithcoderlab-nicepay-mcp": {
      "command": "node",
      "args": [
        "/path/to/mcp-server/dist/index.js"
      ]
    }
  }
}

You run a dedicated MCP server that lets you search and view NicePay developer guides, inspect API endpoints, view code samples, and learn how to use the JavaScript SDK. This server makes it easy to work with NicePay documentation from within your MCP-enabled IDEs and tools.

How to use

You connect an MCP client to this server to search documents, view API details, fetch code samples, and explore SDK methods. Use clear keywords to locate content such as payment window, cancellation, webhooks, or API references. When you want to see a specific APIโ€™s details, request the endpointโ€™s method, URL, parameters, and a sampleโ€”then review corresponding code samples in your preferred language. For JS SDK guidance, look up method names like requestPay, cancelPay, or AUTHNICE.requestPay to understand usage and parameters.

Configure Cursor IDE integration

{
  "mcpServers": {
    "nicepay": {
      "command": "node",
      "args": ["/path/to/mcp-server/dist/index.js"]
    }
  }
}

Using the server in development

During development you can run the server locally to test changes. Start the server in development mode to enable live updates and faster iteration.

Running in production

Build and start the server for production use. First build the TypeScript sources, then start the built application.

Notes on features

  • Search NicePay developer docs with keyword queries.
  • Inspect API endpoints with details like HTTP method, URL, parameters, and sample code.
  • Fetch topic-specific code samples in your preferred language.
  • Explore JS SDK methods and their required parameters.

Available tools

search_nicepay_docs

Searches NicePay developer guides by keyword to locate relevant documents.

get_api_endpoint

Retrieves detailed information about a specific API endpoint, including method, URL, parameters, and samples.

get_code_sample

Provides code samples for a given topic and language.

get_sdk_method

Shows usage and parameter information for JS SDK methods.