StampMitraDevelopers
Integrations

MCP Integration

Give Claude or Cursor the Verification and e-Stamp API as structured tools. Connect with login, no key to copy, or run the open-source server with an API key.

Open tier

Docs search and endpoint reference, no login

Point your assistant at https://mcp.stampmitra.in/mcp and it can search these docs and look up endpoint references straight away, without signing in. Calling the live API on your behalf needs the login step below.

Connect with login

Sign in once, no API key to copy

Your assistant sends you to a StampMitra consent page. You sign in there (never inside the assistant), choose Sandbox or Live, and approve.

Claude

  1. Open Settings, then Connectors.
  2. Choose Add custom connector.
  3. Enter https://mcp.stampmitra.in/mcp and connect.
  4. Sign in to StampMitra and approve.

Cursor: add to mcp.json, then approve in the browser

mcp.json
{
  "mcpServers": {
    "stampmitra": {
      "url": "https://mcp.stampmitra.in/mcp"
    }
  }
}
Security. Access is limited to the Developer Suite (verification, e-Stamp, usage, webhooks). It cannot change your account, team, keys, wallets or billing. Your API key is never shown to the assistant or to you. Revoke any connection from Dashboard, API keys, Connected AI apps.
Manual setup

The API as tools your assistant can call

The Model Context Protocol (MCP) lets AI coding assistants like Claude and Cursor call an external API as a set of structured tools, instead of you hand-writing the HTTP calls yourself.

We publish an open-source MCP server that wraps this API's Verification and e-Stamp endpoints as MCP tools.

View on GitHub

github.com/Bani-Global-Industries-LLP/stampmitra-mcp-server

Fallback, step 1

Or use an API key

Create an API key from your dashboard. Keys look like sk_live_... / sk_test_.... The MCP server reads it from an environment variable in your MCP client's own config - it is never sent anywhere but StampMitra's API, and never typed into a chat with the assistant.

Use a sandbox key. The examples below use a sk_test_... key; swap in a sk_live_... key only when you go to production.
Fallback, step 2

Configure your client

Claude Desktop and Cursor use the same config. Add it to claude_desktop_config.json (Claude Desktop), .cursor/mcp.json (Cursor project) or your global Cursor MCP settings.

Claude Desktop and Cursor
{
  "mcpServers": {
    "stampmitra": {
      "command": "npx",
      "args": ["-y", "@stampmitra/mcp-server"],
      "env": {
        "STAMPMITRA_API_KEY": "sk_test_your_key_here"
      }
    }
  }
}

Any other MCP client (via npx)

Terminal
STAMPMITRA_API_KEY=sk_test_your_key_here npx -y @stampmitra/mcp-server

Prefer a ready-made prompt?

Paste a tested integration prompt into Claude, Cursor, Lovable or AI Studio.

Copy a ready-made prompt

Writing the integration yourself instead? Use an official SDK: Node.js, Python, PHP, Java, Go, .NET or Ruby (all SDKs).

Tools

Verification

+ 6 more
  • verify_driving_license

    Verify a driving licence by number + DOB.

  • verify_passport

    Verify a passport by file number + DOB.

  • verify_cin

    Verify a company's Corporate Identification Number.

  • verify_udyam

    Verify an MSME Udyam Registration Number.

  • verify_pan_to_gstin

    Resolve the GSTIN(s) linked to a PAN.

  • verify_pan_to_udyam

    Resolve the Udyam registration(s) linked to a PAN.

Tools

e-Stamp catalog & orders

+ 6 more
  • get_order_status

    Fetch just an order's status.

  • get_order_payment

    Fetch payment details for an order.

  • get_order_documents

    List documents generated for an order.

  • download_order_document

    Get a download reference for one order document.

  • create_payment_intent

    Create a payment intent to pay for an order.

  • get_payment_intent

    Fetch a payment intent by id.

Security note and planned tools

Connect with login only grants Developer Suite access and never reveals a key. With the manual fallback, keep your key in the client's env block only, and use a sandbox key while testing. e-Stamp schema/options lookup, state/instrument/article lookup, duty/value calculation and party attachment are listed as planned products but have no real backend endpoint yet, so they are not exposed as MCP tools - they'll be added once the corresponding stampmitra-b2b-platform endpoints ship.