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.
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.
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
- Open Settings, then Connectors.
- Choose Add custom connector.
- Enter
https://mcp.stampmitra.in/mcpand connect. - Sign in to StampMitra and approve.
Cursor: add to mcp.json, then approve in the browser
{
"mcpServers": {
"stampmitra": {
"url": "https://mcp.stampmitra.in/mcp"
}
}
}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 GitHubgithub.com/Bani-Global-Industries-LLP/stampmitra-mcp-server
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.
sk_test_... key; swap in a sk_live_... key only when you go to production.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.
{
"mcpServers": {
"stampmitra": {
"command": "npx",
"args": ["-y", "@stampmitra/mcp-server"],
"env": {
"STAMPMITRA_API_KEY": "sk_test_your_key_here"
}
}
}
}Any other MCP client (via npx)
STAMPMITRA_API_KEY=sk_test_your_key_here npx -y @stampmitra/mcp-serverPrefer a ready-made prompt?
Paste a tested integration prompt into Claude, Cursor, Lovable or AI Studio.
Writing the integration yourself instead? Use an official SDK: Node.js, Python, PHP, Java, Go, .NET or Ruby (all SDKs).
Verification
verify_panVerify a PAN card, optionally matching a name.
verify_gstinVerify a GSTIN, optionally matching a business name.
verify_rcVerify a vehicle Registration Certificate (RC).
verify_voter_idVerify a Voter ID (EPIC number).
+ 6 moreShow fewer
verify_driving_licenseVerify a driving licence by number + DOB.
verify_passportVerify a passport by file number + DOB.
verify_cinVerify a company's Corporate Identification Number.
verify_udyamVerify an MSME Udyam Registration Number.
verify_pan_to_gstinResolve the GSTIN(s) linked to a PAN.
verify_pan_to_udyamResolve the Udyam registration(s) linked to a PAN.
e-Stamp catalog & orders
list_servicesList services (verification + e-Stamp) your key is entitled to.
get_serviceGet details for one service by its service code.
create_orderCreate an order for an entitled service (e.g. an e-Stamp instrument).
get_orderFetch full order details.
+ 6 moreShow fewer
get_order_statusFetch just an order's status.
get_order_paymentFetch payment details for an order.
get_order_documentsList documents generated for an order.
download_order_documentGet a download reference for one order document.
create_payment_intentCreate a payment intent to pay for an order.
get_payment_intentFetch 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.