{"_id":"@0xagmaso/blockscout-mcp","_rev":"2-eee05e5bd9c42aea3211c5441fa6aee1","name":"@0xagmaso/blockscout-mcp","dist-tags":{"latest":"1.0.1"},"versions":{"1.0.0":{"name":"@0xagmaso/blockscout-mcp","version":"1.0.0","license":"MIT","_id":"@0xagmaso/blockscout-mcp@1.0.0","maintainers":[{"name":"0xagmaso","email":"agmguindo@gmail.com"}],"bin":{"blockscout-mcp":"dist/index.js"},"dist":{"shasum":"b4cb99750d485541c9a355d4bf8412e1150d652d","tarball":"https://registry.npmjs.org/@0xagmaso/blockscout-mcp/-/blockscout-mcp-1.0.0.tgz","fileCount":5,"integrity":"sha512-JKa5HhB/GaP2Qlp+hk8LRayu03hEAlHeVpypBTRIeeDCRGbM+Cyq89TGQY7EviHGJ+SZMGWD2FptZTaa3mZUPA==","signatures":[{"sig":"MEQCIH62HgOhnb4PsTKyzSlHzsMhT/FbXhbx/kmeGQNnB3soAiAxqCdkY3w1n3+nXwtPMR1oSLsUk8J8NM1XDBeCEPXYnw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":35061},"main":"dist/index.js","type":"module","gitHead":"d108b27dbaf426b10c65845d6bb4615d6df322a2","scripts":{"dev":"tsx src/index.ts","build":"tsc && shx chmod +x dist/*.js","watch":"tsc --watch","prepare":"npm run build"},"_npmUser":{"name":"0xagmaso","email":"agmguindo@gmail.com"},"_npmVersion":"11.4.1","description":"Fork of blockscout-mcp for MCP access in n8n Cloud","directories":{},"_nodeVersion":"20.18.0","dependencies":{"zod":"^3.24.2","dotenv":"^16.4.7","node-fetch":"^3.3.2","@types/node":"^22","@types/node-fetch":"^2.6.12","zod-to-json-schema":"^3.24.5","universal-user-agent":"^7.0.2","@modelcontextprotocol/sdk":"^1.0.1"},"_hasShrinkwrap":false,"devDependencies":{"shx":"^0.3.4","tsx":"^4.19.3","typescript":"^5.6.2"},"_npmOperationalInternal":{"tmp":"tmp/blockscout-mcp_1.0.0_1748259569411_0.6800471170766247","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@0xagmaso/blockscout-mcp","version":"1.0.1","description":"Fork of blockscout-mcp for MCP access in n8n Cloud","license":"MIT","main":"dist/index.js","type":"module","bin":{"blockscout-mcp":"dist/index.js"},"scripts":{"build":"tsc && shx chmod +x dist/*.js","prepare":"npm run build","watch":"tsc --watch","dev":"tsx src/index.ts"},"dependencies":{"@modelcontextprotocol/sdk":"^1.0.1","@types/node":"^22","@types/node-fetch":"^2.6.12","dotenv":"^16.4.7","node-fetch":"^3.3.2","universal-user-agent":"^7.0.2","zod":"^3.24.2","zod-to-json-schema":"^3.24.5"},"devDependencies":{"shx":"^0.3.4","tsx":"^4.19.3","typescript":"^5.6.2"},"_id":"@0xagmaso/blockscout-mcp@1.0.1","gitHead":"d108b27dbaf426b10c65845d6bb4615d6df322a2","_nodeVersion":"20.18.0","_npmVersion":"11.4.1","dist":{"integrity":"sha512-/yhTUXXHwP4XGck7p1XEvya6Na5kEi+u741f8aNcUdmMN85WW288wYxrXT5MxqPjKzmkoEN3MD+mSf8pe/V13Q==","shasum":"161974ae3f22e0fd080d5d4dec4992971d8ad6f0","tarball":"https://registry.npmjs.org/@0xagmaso/blockscout-mcp/-/blockscout-mcp-1.0.1.tgz","fileCount":5,"unpackedSize":35266,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCICEosU2Snn8j6uDtXLTBYc4n5WnBhXocQY498KbhDoq0AiBnIwuVkLiDC4HAg4p+d538sedxsS5rq3hQYxfAPKFp0A=="}]},"_npmUser":{"name":"0xagmaso","email":"agmguindo@gmail.com"},"directories":{},"maintainers":[{"name":"0xagmaso","email":"agmguindo@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/blockscout-mcp_1.0.1_1748260567820_0.7942012420735853"},"_hasShrinkwrap":false}},"time":{"created":"2025-05-26T11:39:29.349Z","modified":"2025-05-26T11:56:08.177Z","1.0.0":"2025-05-26T11:39:29.566Z","1.0.1":"2025-05-26T11:56:08.003Z"},"license":"MIT","description":"Fork of blockscout-mcp for MCP access in n8n Cloud","maintainers":[{"name":"0xagmaso","email":"agmguindo@gmail.com"}],"readme":"# Blockscout MCP Server\n\nThis is a Model Context Protocol (MCP) server implementation for interacting with the Blockscout API. It provides a standardized interface for AI models to interact with the Blockscout API.\n\n## Features\n\n- Support for any Blockscout API endpoint\n- Get current block number\n- Check account balances\n- Get transaction counts (nonces)\n- Retrieve block information\n- Get transaction details\n- Make contract calls\n\n## Prerequisites\n\n- Node.js (v16 or higher)\n- npm (Node Package Manager)\n\n## Installation\n\n1. Clone the repository:\n```bash\ngit clone <repository-url>\ncd blockscout-mcp\n```\n\n2. Install dependencies:\n```bash\nnpm install\n```\n\n3. Build the project:\n```bash\nnpm run build\n```\n\n4. Install globally:\n```bash\nnpm install -g .\n```\n\nThis global installation makes the `blockscout-mcp` command available system-wide, which is required for Cursor to find and execute the MCP server.\n\n## Configuration\n\nThe server uses the following environment variable:\n\n- `BLOCKSCOUT_API_URL`: The Blockscout API endpoint URL to connect to (e.g., 'https://mainnet.game7.io/api' or 'https://testnet.game7.io/api')\n\n### Cursor MCP Configuration\n\nAdd the following to your `mcp.json` file in your Cursor (Settings > MCP > Add New Global Server):\n\n```json\n{\n  \"mcpServers\": {\n    \"blockscout-mcp\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"blockscout-mcp\"],\n      \"env\": {\n        \"BLOCKSCOUT_API_URL\": \"YOUR_API_ENDPOINT\"\n      }\n    }\n  } \n}\n```\n\nThis configuration will make the following tools available in Cursor:\n\n- `search`\n- `get_transactions`\n- `get_blocks`\n- `get_token_transfers`\n- `get_stats`\n- `get_transaction_info`\n- `get_transaction_token_transfers`\n- `get_transaction_internal_txs`\n- `get_transaction_logs`\n- `get_block_info`\n- `get_block_transactions`\n- `get_address_info`\n- `get_address_token_transfers`\n- `get_token_info`\n- `get_token_holders`\n- `get_internal_transactions`\n- `get_main_page_transactions`\n- `get_main_page_blocks`\n- `get_indexing_status`\n- `get_transaction_chart`\n- `get_market_chart`\n- `get_transaction_raw_trace`\n- `get_transaction_state_changes`\n- `get_transaction_summary`\n- `get_block_withdrawals`\n- `get_address_counters`\n- `get_address_internal_transactions`\n- `get_address_logs`\n- `get_address_blocks_validated`\n- `get_address_coin_balance_history`\n- `get_address_coin_balance_history_by_day`\n- `get_smart_contracts`\n- `get_smart_contract_counters`\n- `get_smart_contract`\n- `get_json_rpc_url`\n- `get_account_abstraction_status`\n- `get_addresses`\n- `get_address_transactions`\n- `get_address_token_balances`\n- `get_address_tokens`\n- `get_address_withdrawals`\n- `get_address_nfts`\n- `get_address_nft_collections`\n- `get_tokens`\n- `get_token_transfers_list`\n- `get_token_counters`\n- `get_token_instances`\n- `get_token_instance_by_id`\n- `get_token_instance_transfers`\n- `get_token_instance_holders`\n- `get_token_instance_transfers_count`\n- `refetch_token_instance_metadata`\n- `get_withdrawals`\n- `search_redirect`\n","readmeFilename":"README.md"}