{"id":31817676,"url":"https://github.com/crossmint/checkout-mcp-demo","last_synced_at":"2025-10-11T10:23:19.615Z","repository":{"id":297505639,"uuid":"996365748","full_name":"Crossmint/checkout-mcp-demo","owner":"Crossmint","description":null,"archived":false,"fork":false,"pushed_at":"2025-06-05T20:20:17.000Z","size":10222,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-06-05T21:26:38.549Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Crossmint.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-06-04T21:05:21.000Z","updated_at":"2025-06-05T20:20:19.000Z","dependencies_parsed_at":"2025-06-05T21:37:41.033Z","dependency_job_id":null,"html_url":"https://github.com/Crossmint/checkout-mcp-demo","commit_stats":null,"previous_names":["crossmint/checkout-mcp-demo"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Crossmint/checkout-mcp-demo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Crossmint%2Fcheckout-mcp-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Crossmint%2Fcheckout-mcp-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Crossmint%2Fcheckout-mcp-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Crossmint%2Fcheckout-mcp-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Crossmint","download_url":"https://codeload.github.com/Crossmint/checkout-mcp-demo/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Crossmint%2Fcheckout-mcp-demo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279006851,"owners_count":26084204,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-11T02:00:06.511Z","response_time":55,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-10-11T10:23:15.792Z","updated_at":"2025-10-11T10:23:19.611Z","avatar_url":"https://github.com/Crossmint.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Crossmint Checkout MCP Server\n\nA Model Context Protocol (MCP) server implementation for Crossmint Checkout, enabling AI agents to facilitate Amazon purchases using cryptocurrency payments.\n\n## Features\n\n- Search Amazon products with filtering capabilities\n- Create orders with cryptocurrency payments (USDC or CREDIT)\n- Support for multiple chains (Ethereum Sepolia, Base Sepolia)\n- Real-time balance checking\n- Order status tracking and polling\n- Transaction management\n- Comprehensive logging system\n\n## Prerequisites\n\n- Node.js (v16 or higher)\n- npm or yarn\n- Crossmint API key\n- Search API key (for Amazon product search)\n- Agent wallet address with sufficient funds\n\n## Environment Variables\n\nCreate a `.env` file in the root directory with the following variables:\n\n```env\nCROSSMINT_API_KEY=your_crossmint_api_key\nSEARCH_API_KEY=your_search_api_key\nAGENT_WALLET_ADDRESS=your_wallet_address\nRECIPIENT_EMAIL=recipient@email.com\nRECIPIENT_NAME=Recipient Name\nRECIPIENT_ADDRESS_LINE1=123 Main St\nRECIPIENT_ADDRESS_LINE2=Apt 4B\nRECIPIENT_CITY=New York\nRECIPIENT_STATE=NY\nRECIPIENT_POSTAL_CODE=10001\nRECIPIENT_COUNTRY=US\n```\n\n## Installation\n\n1. Clone the repository:\n```bash\ngit clone https://github.com/Crossmint/checkout-mcp-demo.git\ncd checkout-mcp-demo\n```\n\n2. Install dependencies:\n```bash\nnpm install\n```\n\n3. Build the project:\n```bash\nnpm run build\n```\n\n## Usage\n\nStart the MCP server:\n```bash\nnpm start\n```\n\n### Available Tools\n\n1. **Search Amazon Products**\n   - Query: Search term for Amazon products\n   - Returns: Filtered list of products with prices and ASINs\n\n2. **Create Order**\n   - Parameters:\n     - ASIN: Amazon product identifier\n     - Token: Payment token (usdc or credit)\n     - Chain: Blockchain network (ethereum-sepolia or base-sepolia)\n   - Returns: Order details including ID and transaction information\n\n3. **Send Transaction**\n   - Parameters:\n     - SerializedTransaction: Transaction data from order creation\n     - Token: Payment token\n     - Chain: Blockchain network\n   - Returns: Transaction status\n\n4. **Check Order Status**\n   - Parameters:\n     - OrderId: Order identifier\n     - Chain: Blockchain network\n   - Returns: Current order status\n\n5. **Poll Order Status**\n   - Parameters:\n     - OrderId: Order identifier\n     - Chain: Blockchain network\n   - Returns: Final order status (completion, failure, or timeout)\n\n6. **Get Token Balance**\n   - Parameters:\n     - Token: Token to check (usdc or credit)\n     - WalletAddress (optional): Address to check (defaults to agent wallet)\n   - Returns: Token balances across supported chains\n\n## Supported Chains and Tokens\n\n- Ethereum Sepolia:\n  - USDC\n  - CREDIT\n- Base Sepolia:\n  - USDC\n  - CREDIT\n\n## Error Handling\n\nThe server includes comprehensive error handling for:\n- Insufficient funds\n- Invalid payment methods\n- API errors\n- Transaction failures\n- Network issues\n\n## Logging\n\nThe server implements a structured logging system that:\n- Logs all API requests and responses\n- Tracks order creation flow\n- Monitors balance checks\n- Records transaction status\n- Provides detailed error information\n\n## Contributing\n\n1. Fork the repository\n2. Create your feature branch (`git checkout -b feature/amazing-feature`)\n3. Commit your changes (`git commit -m 'Add some amazing feature'`)\n4. Push to the branch (`git push origin feature/amazing-feature`)\n5. Open a Pull Request\n\n## License\n\nThis project is licensed under the MIT License - see the LICENSE file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcrossmint%2Fcheckout-mcp-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcrossmint%2Fcheckout-mcp-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcrossmint%2Fcheckout-mcp-demo/lists"}