Setu KYC Verification
STDIOMCP server providing verification tools for PAN, GST, and name matching.
MCP server providing verification tools for PAN, GST, and name matching.
A MCP server project for Setu KYC APIs that provides verification tools for PAN, GST, and name matching.
The server implements three verification tools using Setu's Digital Gateway APIs:
verify-pan: Verify PAN card details
pan
: PAN card numberreason
: Purpose of verificationverify-gst: Verify GST registration
gstin
: GST identification numbermatch-names: Compare two names for similarity
name1
: First name to comparename2
: Second name to compareThe server requires the following environment variables:
# Setu Digital Gateway Credentials SETU_DG_CLIENT_ID=your-client-id SETU_DG_CLIENT_SECRET=your-client-secret # Product Instance IDs for different services SETU_DG_PAN_PRODUCT_INSTANCE_ID=your-pan-instance-id SETU_DG_GST_PRODUCT_INSTANCE_ID=your-gst-instance-id SETU_DG_NAME_MATCH_PRODUCT_INSTANCE_ID=your-name-match-instance-id
pip install setu_mcp_kyc
On MacOS: ~/Library/Application\ Support/Claude/claude_desktop_config.json
On Windows: %APPDATA%/Claude/claude_desktop_config.json
"mcpServers": { "setu_mcp_kyc": { "command": "uv", "args": [ "--directory", "/path/to/setu_mcp_kyc", "run", "setu_mcp_kyc" ], "env": { "SETU_DG_CLIENT_ID": "your-client-id", "SETU_DG_CLIENT_SECRET": "your-client-secret", "SETU_DG_PAN_PRODUCT_INSTANCE_ID": "your-pan-instance-id", "SETU_DG_GST_PRODUCT_INSTANCE_ID": "your-gst-instance-id", "SETU_DG_NAME_MATCH_PRODUCT_INSTANCE_ID": "your-name-match-instance-id" } } }
"mcpServers": { "setu_mcp_kyc": { "command": "uvx", "args": [ "setu_mcp_kyc" ], "env": { "SETU_DG_CLIENT_ID": "your-client-id", "SETU_DG_CLIENT_SECRET": "your-client-secret", "SETU_DG_PAN_PRODUCT_INSTANCE_ID": "your-pan-instance-id", "SETU_DG_GST_PRODUCT_INSTANCE_ID": "your-gst-instance-id", "SETU_DG_NAME_MATCH_PRODUCT_INSTANCE_ID": "your-name-match-instance-id" } } }
uv sync
uv build
uv publish
For debugging, use the MCP Inspector:
npx @modelcontextprotocol/inspector uv --directory /path/to/setu_mcp_kyc run setu_mcp_kyc
Upon launching, the Inspector will display a URL that you can access in your browser to begin debugging.