{"_id":"@cashfreepayments/cashfree-mcp","_rev":"3-260a4e1986f594b16a87451f33000964","name":"@cashfreepayments/cashfree-mcp","dist-tags":{"latest":"1.0.1"},"versions":{"1.0.0":{"name":"@cashfreepayments/cashfree-mcp","version":"1.0.0","author":{"name":"Cashfree"},"_id":"@cashfreepayments/cashfree-mcp@1.0.0","maintainers":[{"name":"cashfree-payments","email":"raj@cashfree.com"},{"name":"kishan.cashfree","email":"kishan.maurya@cashfree.com"},{"name":"nikhilkushwah18","email":"nikhil.kushwah@cashfree.com"}],"bin":{"cashfree-mcp":"src/index.js"},"dist":{"shasum":"b0c6ee5432b13171dca837d6bd2868d77b082633","tarball":"https://registry.npmjs.org/@cashfreepayments/cashfree-mcp/-/cashfree-mcp-1.0.0.tgz","fileCount":28,"integrity":"sha512-K5Biu0Pw0d7ASI1QEpr6sQ1CDdwnl3EEEuMUxMGEGlzPonimBrbbhtWDX6t3Mz+IQZotGI8d9eS5iHeVzDoxcA==","signatures":[{"sig":"MEUCIHxB/OoseMp4uPvAJM02Xra7x24glfUcr6THyLI5y5jiAiEA31sRauzY2SWic3qHchr85zIEY0uUMKCll999AFBXQBo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1466423},"main":"src/index.js","type":"module","types":"./src/index.d.ts","engines":{"node":">=18.0.0"},"scripts":{"lint":"echo 'No linting configured'","build":"echo 'No build step required'","check":"echo 'No type checking configured'","start":"node src/index.js"},"_npmUser":{"name":"cashfree-payments","email":"raj@cashfree.com"},"reference":"Mintlify mcp","_npmVersion":"10.8.2","description":"Cashfree MCP server for cashfree docs and APIs","directories":{},"_nodeVersion":"18.20.8","dependencies":{"uuid":"^11.1.0","axios":"^1.8.1","dashify":"^2.0.0","js-yaml":"^4.1.0","trieve-ts-sdk":"^0.0.62","@mintlify/validation":"^0.1.320","@mintlify/openapi-types":"^0.0.0","@mintlify/openapi-parser":"^0.0.7","@modelcontextprotocol/sdk":"^1.6.1"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/cashfree-mcp_1.0.0_1747736850204_0.19877666399394034","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@cashfreepayments/cashfree-mcp","version":"1.0.1","author":{"name":"Cashfree"},"_id":"@cashfreepayments/cashfree-mcp@1.0.1","maintainers":[{"name":"cashfree-payments","email":"raj@cashfree.com"},{"name":"kishan.cashfree","email":"kishan.maurya@cashfree.com"},{"name":"nikhilkushwah18","email":"nikhil.kushwah@cashfree.com"}],"bin":{"cashfree-mcp":"dist/index.js"},"dist":{"shasum":"2a0f2ef883676a83e36a0077d8d10cf53d458cf6","tarball":"https://registry.npmjs.org/@cashfreepayments/cashfree-mcp/-/cashfree-mcp-1.0.1.tgz","fileCount":4,"integrity":"sha512-un4UkzEe1XG6vPOBzqvCL6XrIsdI/56JDGeU0cD1kZQzxcOXDAXNwYI2bx2JARnPEueOucNcyCNzliivNmxItQ==","signatures":[{"sig":"MEYCIQDYNiiQYczdSYfolI/ZwbswLJOi4eNwbrlNnHQUNOUxlQIhAMe9av7+tlTVWZtfqDXimYJv3PM0TCaYlzeCd2uEtuzf","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":13309},"main":"dist/index.js","type":"module","engines":{"node":">=18.0.0"},"mcpName":"io.github.cashfree/cashfree-mcp","scripts":{"dev":"ts-node src/index.ts","lint":"echo 'No linting configured'","build":"tsc && node scripts/copy-openapi-json.cjs","check":"tsc --noEmit","start":"npm run build && node dist/index.js"},"_npmUser":{"name":"cashfree-payments","email":"raj@cashfree.com"},"reference":"Mintlify mcp","_npmVersion":"10.8.2","description":"Cashfree MCP server for cashfree docs and APIs","directories":{},"_nodeVersion":"18.20.8","dependencies":{"uuid":"^11.1.0","axios":"^1.8.1","dashify":"^2.0.0","js-yaml":"^4.1.0","trieve-ts-sdk":"^0.0.62","semantic-ui-react":"^2.1.5","@mintlify/validation":"^0.1.320","@mintlify/openapi-types":"^0.0.0","@mintlify/openapi-parser":"^0.0.7","@modelcontextprotocol/sdk":"^1.6.1"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^9.27.0","ts-node":"^10.9.2","typescript":"^5.8.3","@types/node":"^22.15.21","@types/uuid":"^10.0.0","@types/react":"^19.1.4","@types/dashify":"^1.0.3","@types/js-yaml":"^4.0.9","@typescript-eslint/parser":"^8.32.1","@typescript-eslint/eslint-plugin":"^8.32.1"},"_npmOperationalInternal":{"tmp":"tmp/cashfree-mcp_1.0.1_1761108789202_0.6048557875142522","host":"s3://npm-registry-packages-npm-production"}}},"time":{"created":"2025-05-20T10:27:30.118Z","modified":"2026-01-08T12:35:55.709Z","1.0.0":"2025-05-20T10:27:30.423Z","1.0.1":"2025-10-22T04:53:09.388Z"},"author":{"name":"Cashfree"},"description":"Cashfree MCP server for cashfree docs and APIs","maintainers":[{"email":"raj@cashfree.com","name":"cashfree-payments"},{"email":"kishan.maurya@cashfree.com","name":"kishan.cashfree"},{"email":"vibhor.jain@cashfree.com","name":"vibhorohbiv"}],"readme":"# Cashfree MCP Server\n\nCashfree MCP server allows AI tools and agents to integrate with [Cashfree](https://www.cashfree.com/) APIs (Payment Gateway, Payouts, and SecureID) using the [Model Context Protocol (MCP)](https://modelcontextprotocol.io/introduction).\n\n## Setup\n\n### Clone the Repository\n\n```bash\ngit clone https://github.com/cashfree/cashfree-mcp.git\ncd cashfree-mcp\n```\n\n### Install Dependencies\n\nBefore installing, ensure you have **Node.js v14.x or higher** installed. If you're using `nvm` or `brew`, make sure the correct version is active:\n\n```bash\nnode -v\n# Should output v14.x or higher\n```\n\n#### Step 1: Install project dependencies\n\n```bash\nnpm install\n```\n\nThis will install all required packages listed in `package.json`.\n\n> 💡 If you're using `Node.js >=18`, you might face peer dependency issues with packages like `undici`. In that case, upgrade Node.js to `>=20.18.1` or adjust the package version if needed.\n\n#### Step 2: Build the project\n\n```bash\nnpm run build\n```\n\nThis compiles the source files to the `dist/` directory, which is required to run the MCP server.\n\n> 🛠️ If you see errors related to missing files in `/dist`, ensure you've run the build step successfully.\n\n\n## Configuration\n\nYou will need a Cashfree account with API credentials (we support both sandbox and production keys). You can use Cashfree MCP in your favorite client, some sample configurations are shown below:\n\n### Claude\n\nAdd the following configuration block to your `claude_desktop_config.json`\n\n```json\n{\n  \"mcpServers\": {\n    \"cashfree\": {\n      \"command\": \"node\",\n      \"args\": [\"/path/to/cashfree-mcp/dist/index.js\"],\n      \"env\": {\n        \"PAYMENTS_APP_ID\": \"YOUR_PG_CLIENT_ID\",\n        \"PAYMENTS_APP_SECRET\": \"YOUR_PG_CLIENT_SECRET\",\n        \"PAYOUTS_APP_ID\": \"YOUR_PAYOUTS_CLIENT_ID\",\n        \"PAYOUTS_APP_SECRET\": \"YOUR_PAYOUTS_CLIENT_SECRET\",\n        \"TWO_FA_PUBLIC_KEY_PEM_PATH\": \"/path/to/public_key.pem\",\n        \"SECUREID_APP_ID\": \"YOUR_SECUREID_CLIENT_ID\",\n        \"SECUREID_APP_SECRET\": \"YOUR_SECUREID_CLIENT_SECRET\",\n        \"TOOLS\": \"pg,payouts,secureid\",\n        \"ENV\": \"sandbox\"\n      }\n    }\n  }\n}\n```\n\n### VS Code\n\nAdd the following configuration block to your VS Code settings\n\n```json\n{\n  \"mcp\": {\n    \"inputs\": [],\n    \"servers\": {\n      \"cashfree\": {\n        \"command\": \"node\",\n        \"args\": [\"/path/to/cashfree-mcp/dist/index.js\"],\n        \"env\": {\n          \"PAYMENTS_APP_ID\": \"YOUR_PG_CLIENT_ID\",\n          \"PAYMENTS_APP_SECRET\": \"YOUR_PG_CLIENT_SECRET\",\n          \"PAYOUTS_APP_ID\": \"YOUR_PAYOUTS_CLIENT_ID\",\n          \"PAYOUTS_APP_SECRET\": \"YOUR_PAYOUTS_CLIENT_SECRET\",\n          \"TWO_FA_PUBLIC_KEY_PEM_PATH\": \"/path/to/public_key.pem\",\n          \"SECUREID_APP_ID\": \"YOUR_SECUREID_CLIENT_ID\",\n          \"SECUREID_APP_SECRET\": \"YOUR_SECUREID_CLIENT_SECRET\",\n          \"TOOLS\": \"pg,payouts,secureid\",\n          \"ENV\": \"sandbox\"\n        }\n      }\n    }\n  }\n}\n```\n\n### API Credentials\n\nSet the following environment variables for each service:\n**Payment Gateway:**\n\n- `PAYMENTS_APP_ID`: Your Payment Gateway client ID\n- `PAYMENTS_APP_SECRET`: Your Payment Gateway client secret\n\n**Payouts:**\n\n- `PAYOUTS_APP_ID`: Your Payouts client ID\n- `PAYOUTS_APP_SECRET`: Your Payouts client secret\n- `TWO_FA_PUBLIC_KEY_PEM_PATH`: Path to your 2FA public key (required only if 2FA is enabled)\n\n**SecureID:**\n\n- `SECUREID_APP_ID`: Your SecureID client ID\n- `SECUREID_APP_SECRET`: Your SecureID client secret\n- `TWO_FA_PUBLIC_KEY_PEM_PATH`: Path to your 2FA public key (required only if 2FA is enabled)\n\n### Environment\n\n`ENV`: Set to `production` for production environment, `sandbox` for sandbox (default: `sandbox`)\n\n### Tools Configuration\n\n`TOOLS`: Comma-separated list of modules to enable. Available options:\n\n- `pg`: Payment Gateway APIs\n- `payouts`: Payouts APIs\n- `secureid`: SecureID APIs\n\n## Tools\n\nCashfree MCP has the following tools available, grouped by the product category\n\n### Payment Gateway (PG)\n\n| Tool Name                                                | Description                                                                                        |\n| -------------------------------------------------------- | -------------------------------------------------------------------------------------------------- |\n| **search**                                               | Search across the Cashfree Payments Developer Documentation.                                       |\n| **create-payment-link**                                  | Create a new payment link.                                                                         |\n| **fetch-payment-link-details**                           | View all details and status of a payment link.                                                     |\n| **cancel-payment-link**                                  | Cancel an active payment link. No further payments can be done against cancelled links             |\n| **get-orders-for-a-payment-link**                        | View all order details for a payment link.                                                         |\n| **create-order**                                         | Create orders with Cashfree to get a payment_sessions_id for transactions                          |\n| **get-order**                                            | Fetch order details using order_id                                                                 |\n| **get-order-extended**                                   | Get extended order data like address, cart, offers, customer details etc                           |\n| **get-eligible-payment-methods**                         | Get eligible payment methods for a given order amount and ID                                       |\n| **get-payments-for-an-order**                            | View all payment details for an order.                                                             |\n| **get-payment-by-id**                                    | View payment details of an order for a Payment ID.                                                 |\n| **create-refund**                                        | Initiate refunds.                                                                                  |\n| **get-all-refunds-for-an-order**                         | Fetch all refunds processed against an order.                                                      |\n| **get-refund**                                           | Fetch a specific refund processed on your Cashfree Account.                                        |\n| **get-all-settlements**                                  | Get all settlement details by specifying the settlement ID, settlement UTR, or date range.         |\n| **get-split-and-settlement-details-by-order-id-v2-0**    | Get split and settlement details, including settled/unsettled transactions for vendors in an order |\n| **get-settlements-by-order-id**                          | View all the settlements of a particular order.                                                    |\n| **get-disputes-by-order-id**                             | Get all dispute details by Order ID                                                                |\n| **get-disputes-by-payment-id**                           | Get all dispute details by Payment ID                                                              |\n| **get-disputes-by-dispute-id**                           | Get dispute details by Dispute ID                                                                  |\n| **accept-dispute-by-dispute-id**                         | Accept a dispute by its Dispute ID                                                                 |\n| **submit-evidence-to-contest-the-dispute-by-dispute-id** | Submit evidence to contest a dispute                                                               |\n| **simulate-payment**                                     | Simulate payment for testing. Requires prior order creation                                        |\n| **fetch-simulation**                                     | Fetch simulated payment details                                                                    |\n\n### Payouts\n\n| Tool Name                        | Description                                                                      |\n| -------------------------------- | -------------------------------------------------------------------------------- |\n| **standard-transfer-v2**         | Initiate an amount transfer at Cashfree Payments.                                |\n| **get-transfer-status-v2**       | Get the status of an initiated transfer.                                         |\n| **batch-transfer-v2**            | Initiate a batch transfer request at Cashfree Payments.                          |\n| **get-batch-transfer-status-v2** | Get the status of an initiated batch transfer.                                   |\n| **authorize**                    | Authenticate with the Cashfree system and obtain the authorization bearer token. |\n| **create-cashgram**              | Create a Cashgram.                                                               |\n| **deactivate-cashgram**          | Deactivate a Cashgram.                                                           |\n| **get-cashgram-status**          | Get the status of a created Cashgram.                                            |\n\n### SecureID\n\n| Tool Name                      | Description                                       |\n| ------------------------------ | ------------------------------------------------- |\n| **verify-name-match**          | Verify names with variations.                     |\n| **generate-kyc-link**          | Generate a verification form for KYC information. |\n| **get-kyc-link-status**        | Get the status of a KYC verification form.        |\n| **generate-static-kyc-link**   | Generate a static KYC link.                       |\n| **deactivate-static-kyc-link** | Deactivate a static KYC link.                     |\n\n## License\n\nThis project is licensed under the terms of the MIT open source license. Please refer to LICENSE for the full terms.\n\n## Documentation\n\nFor detailed API documentation, visit the [Cashfree API Documentation](https://docs.cashfree.com/reference/).\n\n## Support\n\nFor support, contact [care@cashfree.com](mailto:care@cashfree.com) or raise an issue in the [GitHub repository](https://github.com/cashfree/cashfree-mcp).\n","readmeFilename":"README.md"}