Developer Docs MCP

The NMI Developer Docs MCP connects AI coding assistants directly to NMI's developer documentation. Claude Code, Cursor, VS Code, Windsurf, and Claude Desktop can all query the server during a chat session, which means your AI can search NMI docs, generate working integration code, and answer API questions without you copying in documentation manually.

MCP (Model Context Protocol) is an open standard for connecting AI tools to external data sources. You point your editor at an MCP server, and the AI can query it in real time. No account required, no authentication needed.

Server URL: https://docs.nmi.com/mcp

📘

The NMI Developer Docs MCP provides access to NMI developer documentation only. It does not connect to your NMI account, transaction data, or gateway configuration. To let an assistant read live records from your account, see the NMI MCP.

What you can do with it

Once connected, your AI assistant can:

  • Search the docs for the right guide, endpoint, or recipe
  • Read any page—guides, the NMI REST API reference, and recipes—so its answers are grounded in current documentation
  • Generate integration code (Payment Component + NMI REST API) straight from those docs as you build

Two MCP servers

NMI publishes two MCP servers. They do different jobs and most developers connect both.

Developer Docs MCP (this page)NMI MCP
What it knowsNMI developer documentationLive records in your own account
SetupA URL—nothing to installAn npm package your editor runs locally
AuthenticationNoneYour merchant API key
Best forWriting integration codeTroubleshooting a running integration

Start here if you're building. Add the NMI MCP when you need your assistant to see what your account actually did.

Quick Start Guide

Add the server config to your editor, then verify the connection.

Step 1: Configure your editor

Find your tool below and add the config. Create the file if it doesn't exist.

Run one command—no config file to edit. Claude Code (and other agents that can edit their own MCP config) can even run this themselves once they find this page:

claude mcp add --transport http USER.COMPONENTPREFIXdeveloper-documentation https://docs.nmi.com/mcp

Add --scope user to make it available in every project. Verify with claude mcp list.

Step 2: Verify the connection

Open a new chat in your AI tool and try one of these:

  • How do I tokenize a card using the Payment Component
  • Show me how to set up a recurring transaction via the API.
  • What fields are required for a sale transaction?
  • Walk me through the Hosted Checkout integration.

If the Developer Docs MCP connection is active, the AI will pull answers directly from NMI's documentation. If it's guessing or not citing specifics, check that the config file was saved correctly and restart your editor.


Did this page help you?