{"_id":"@alouhaou/3elements-mcp-server","_rev":"5-7857c68d400db35ca1390111a40f3907","name":"@alouhaou/3elements-mcp-server","dist-tags":{"latest":"0.1.4"},"versions":{"0.1.0":{"name":"@alouhaou/3elements-mcp-server","version":"0.1.0","_id":"@alouhaou/3elements-mcp-server@0.1.0","maintainers":[{"name":"alouhaou","email":"xwhan2008@gmail.com"}],"bin":{"3elements-mcp-server":"build/index.js"},"dist":{"shasum":"3842d15df6d24b9ae70422595ce3c5b571c69e82","tarball":"https://registry.npmjs.org/@alouhaou/3elements-mcp-server/-/3elements-mcp-server-0.1.0.tgz","fileCount":4,"integrity":"sha512-gY0qNkBnUfBk2TiUYxlyZ+5DJhBsBMSUXqn9WOtuWzFwtgsIGsXZwScv8KXfx0f3kgeQJhdFn8JXJSxjM7doog==","signatures":[{"sig":"MEYCIQDW094wgjlDtF7PQyXzveOz0Z10+nay7l9lRlCQ9n2MVQIhAI6gwfhAAt1Q8NUhLsU4wIlfGbkvc94wikps/pkf5sHD","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":14238},"type":"module","tools":{"name":"ping","description":"Health check","input_schema":{"type":"object","required":[],"properties":{}}},"private":false,"scripts":{"build":"tsc && node -e \"require('fs').chmodSync('build/index.js', '755')\"","start":"node build/index.js","watch":"tsc --watch","prepare":"npm run build","inspector":"npx @modelcontextprotocol/inspector build/index.js"},"_npmUser":{"name":"alouhaou","email":"xwhan2008@gmail.com"},"_npmVersion":"10.9.2","description":"一个基于 ModelScope 的 MCP (Model Context Protocol) 服务器，提供银行卡三要素和运营商三要素验证功能。","directories":{},"_nodeVersion":"22.15.1","dependencies":{"axios":"^1.11.0","express":"^5.1.0","body-parser":"^2.2.0","@modelcontextprotocol/sdk":"^1.17.3"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.9.2","@types/node":"^20.19.10","@types/express":"^5.0.3","@modelcontextprotocol/inspector":"^0.16.4"},"_npmOperationalInternal":{"tmp":"tmp/3elements-mcp-server_0.1.0_1758271041804_0.6004389953263902","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@alouhaou/3elements-mcp-server","version":"0.1.1","_id":"@alouhaou/3elements-mcp-server@0.1.1","maintainers":[{"name":"alouhaou","email":"xwhan2008@gmail.com"}],"bin":{"3elements-mcp-server":"build/index.js"},"dist":{"shasum":"db3edd3f2bc471426949225e63a546799c6b5de3","tarball":"https://registry.npmjs.org/@alouhaou/3elements-mcp-server/-/3elements-mcp-server-0.1.1.tgz","fileCount":4,"integrity":"sha512-iwriC3m1w+kO9AG2w+hCh6ZUiKCUkqsXv95iwrBD0Ngq5jyeq0bGm2pOKfIANlDS0TWdzXshWcOm2T1+SRxOdg==","signatures":[{"sig":"MEUCIQDCZ7MSKXy5O/IBiNoq73i5AHtCcLl7pHEfLYpXGDsDwQIgAaRojOcdkDx0Hori1Lj/rVGQWYs4E2V4yr9Ll8AGuJc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":14244},"type":"module","tools":{"name":"ping","description":"Health check","input_schema":{"type":"object","required":[],"properties":{}}},"private":false,"scripts":{"build":"tsc && node -e \"require('fs').chmodSync('build/index.js', '755')\"","start":"node build/index.js","watch":"tsc --watch","prepare":"npm run build","inspector":"npx @modelcontextprotocol/inspector build/index.js"},"_npmUser":{"name":"alouhaou","email":"xwhan2008@gmail.com"},"_npmVersion":"10.9.2","description":"一个基于 ModelScope 的 MCP (Model Context Protocol) 服务器，提供银行卡三要素和运营商三要素验证功能。","directories":{},"_nodeVersion":"22.15.1","dependencies":{"axios":"^1.11.0","express":"^5.1.0","body-parser":"^2.2.0","@modelcontextprotocol/sdk":"^1.17.3"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.9.2","@types/node":"^20.19.10","@types/express":"^5.0.3","@modelcontextprotocol/inspector":"^0.16.4"},"_npmOperationalInternal":{"tmp":"tmp/3elements-mcp-server_0.1.1_1758271999452_0.3224862577201333","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"name":"@alouhaou/3elements-mcp-server","version":"0.1.2","_id":"@alouhaou/3elements-mcp-server@0.1.2","maintainers":[{"name":"alouhaou","email":"xwhan2008@gmail.com"}],"bin":{"3elements-mcp-server":"build/index.js"},"dist":{"shasum":"b3cde96ea848127f357c509c524e34e35625cea8","tarball":"https://registry.npmjs.org/@alouhaou/3elements-mcp-server/-/3elements-mcp-server-0.1.2.tgz","fileCount":4,"integrity":"sha512-0IgdG67yR+rU66XWsfY79UBS65Pcxo6Gh5YlwYGtvtWZOJAUNV4IGCbuAFMDQyU2ygkGX5f09cOe4h/jKg4oSQ==","signatures":[{"sig":"MEUCIAFsXM9mljPrdONUmU8oil9M8vD1hJ379Gi71RvrofhwAiEAwabzQxiAx3DULbFcj6nH9DFIpLIJk71JYHaZNhYi/Q8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":13901},"type":"module","tools":{"name":"ping","description":"Health check","input_schema":{"type":"object","required":[],"properties":{}}},"private":false,"scripts":{"build":"tsc && node -e \"require('fs').chmodSync('build/index.js', '755')\"","start":"node build/index.js","watch":"tsc --watch","prepare":"npm run build","inspector":"npx @modelcontextprotocol/inspector build/index.js"},"_npmUser":{"name":"alouhaou","email":"xwhan2008@gmail.com"},"_npmVersion":"10.9.2","description":"一个提供银行卡三要素和运营商三要素验证服务的 MCP (Model Context Protocol) 服务器。","directories":{},"_nodeVersion":"22.15.1","dependencies":{"axios":"^1.11.0","express":"^5.1.0","body-parser":"^2.2.0","@modelcontextprotocol/sdk":"^1.17.3"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.9.2","@types/node":"^20.19.10","@types/express":"^5.0.3","@modelcontextprotocol/inspector":"^0.16.4"},"_npmOperationalInternal":{"tmp":"tmp/3elements-mcp-server_0.1.2_1758272694614_0.1025973002801599","host":"s3://npm-registry-packages-npm-production"}},"0.1.3":{"name":"@alouhaou/3elements-mcp-server","version":"0.1.3","_id":"@alouhaou/3elements-mcp-server@0.1.3","maintainers":[{"name":"alouhaou","email":"xwhan2008@gmail.com"}],"bin":{"3elements-mcp-server":"build/index.js"},"dist":{"shasum":"63e07275eb32edf989fd8788b79bdc3964d81d0c","tarball":"https://registry.npmjs.org/@alouhaou/3elements-mcp-server/-/3elements-mcp-server-0.1.3.tgz","fileCount":4,"integrity":"sha512-86yXU0uMOOJVEzCfbmjYqYqz1j8jeba3s/aDuKcoMqto+aniBMsax0XwBfdcVWJHWPlSHIf3Cfi/PJqAEtOplw==","signatures":[{"sig":"MEUCIQD+W3unLLjq33r79h+z9oQBxhcnJRnh8P0NjK3Vr0vU5AIgMgwRfPwWuWmR0myhAu4hBoNdmsmw6qB32odhO+0XxZA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":13950},"type":"module","tools":{"name":"ping","description":"Health check","input_schema":{"type":"object","required":[],"properties":{}}},"private":false,"scripts":{"build":"tsc && node -e \"require('fs').chmodSync('build/index.js', '755')\"","start":"node build/index.js","watch":"tsc --watch","prepare":"npm run build","inspector":"npx @modelcontextprotocol/inspector build/index.js"},"_npmUser":{"name":"alouhaou","email":"xwhan2008@gmail.com"},"_npmVersion":"10.9.2","description":"一个提供银行卡三要素和运营商三要素验证服务的 MCP (Model Context Protocol) 服务器。","directories":{},"_nodeVersion":"22.15.1","dependencies":{"axios":"^1.11.0","express":"^5.1.0","body-parser":"^2.2.0","@modelcontextprotocol/sdk":"^1.17.3","@alouhaou/3elements-mcp-server":"^0.1.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.9.2","@types/node":"^20.19.10","@types/express":"^5.0.3","@modelcontextprotocol/inspector":"^0.16.4"},"_npmOperationalInternal":{"tmp":"tmp/3elements-mcp-server_0.1.3_1758537455933_0.5009709442135386","host":"s3://npm-registry-packages-npm-production"}},"0.1.4":{"name":"@alouhaou/3elements-mcp-server","version":"0.1.4","private":false,"publishConfig":{"access":"public"},"type":"module","bin":{"3elements-mcp-server":"build/index.js"},"scripts":{"build":"tsc && node -e \"require('fs').chmodSync('build/index.js', '755')\"","prepare":"npm run build","watch":"tsc --watch","inspector":"npx @modelcontextprotocol/inspector build/index.js","start":"node build/index.js"},"dependencies":{"@alouhaou/3elements-mcp-server":"^0.1.2","@modelcontextprotocol/sdk":"^1.17.3","axios":"^1.11.0","body-parser":"^2.2.0","express":"^5.1.0"},"devDependencies":{"@modelcontextprotocol/inspector":"^0.16.4","@types/express":"^5.0.3","@types/node":"^20.19.10","typescript":"^5.9.2"},"tools":{"name":"ping","description":"Health check","input_schema":{"type":"object","properties":{},"required":[]}},"_id":"@alouhaou/3elements-mcp-server@0.1.4","description":"一个提供银行卡三要素和运营商三要素验证服务的 MCP (Model Context Protocol) 服务器。","_nodeVersion":"22.15.1","_npmVersion":"10.9.2","dist":{"integrity":"sha512-KtZdWa4Z2Tu0pZoMbnqhEkH5ZyuAcN2i11TR31pmiLUilKxw6TLvXGF4eVLu7KiIV/jk3ZwJViPNZu3gJ0NGQw==","shasum":"de1ea37a2ef05b63ece3d0e3c9989f3fa5eb7823","tarball":"https://registry.npmjs.org/@alouhaou/3elements-mcp-server/-/3elements-mcp-server-0.1.4.tgz","fileCount":4,"unpackedSize":13947,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIG2qF4hk9MNxeD99231+nyAI2z8vbfUuWRxMKYwESB+YAiB0OpDZGUNwvNZoUpHZ7GHGXL+5sZj2W5opTW4eZJA32Q=="}]},"_npmUser":{"name":"alouhaou","email":"xwhan2008@gmail.com"},"directories":{},"maintainers":[{"name":"alouhaou","email":"xwhan2008@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/3elements-mcp-server_0.1.4_1758538000308_0.15834334984889775"},"_hasShrinkwrap":false}},"time":{"created":"2025-09-19T08:37:21.691Z","modified":"2025-09-22T10:46:40.665Z","0.1.0":"2025-09-19T08:37:21.998Z","0.1.1":"2025-09-19T08:53:19.622Z","0.1.2":"2025-09-19T09:04:54.804Z","0.1.3":"2025-09-22T10:37:36.100Z","0.1.4":"2025-09-22T10:46:40.482Z"},"description":"一个提供银行卡三要素和运营商三要素验证服务的 MCP (Model Context Protocol) 服务器。","maintainers":[{"name":"alouhaou","email":"xwhan2008@gmail.com"}],"readme":"# 3elements-mcp-server\n\n一个提供银行卡三要素和运营商三要素验证服务的 MCP (Model Context Protocol) 服务器。\n\n## 🚀 快速开始\n\n### 安装\n\n```bash\nnpm install -g @alouhaou/3elements-mcp-server\n```\n\n### 配置环境变量\n\n在使用前，你需要配置以下环境变量：\n\n```bash\nexport CHENGHE_APPID=\"your_app_id\"\nexport CHENGHE_SECRET=\"your_secret_key\"\n```\n\n### 启动服务\n\n```bash\n3elements-mcp-server\n```\n\n## 📋 功能说明\n\n### 银行卡三要素验证\n\n验证银行卡号、身份证号和姓名是否匹配。\n\n**使用场景：**\n- 银行卡开户验证\n- 支付安全验证\n- 金融风控\n\n### 运营商三要素验证\n\n验证手机号、身份证号和姓名是否匹配。\n\n**使用场景：**\n- 手机号实名认证\n- 运营商业务办理\n- 身份信息核验\n\n### 笔记管理\n\n创建和管理文本笔记。\n\n**使用场景：**\n- 临时信息记录\n- 测试和演示\n\n## 🔧 工具调用\n\n### 银行卡三要素验证\n\n```json\n{\n  \"tool\": \"verifyBankCard3\",\n  \"arguments\": {\n    \"name\": \"张三\",\n    \"idcard\": \"110101199001011234\",\n    \"bankcard\": \"6222021234567890123\"\n  }\n}\n```\n\n**参数说明：**\n- `name` (string): 持卡人姓名\n- `idcard` (string): 身份证号码\n- `bankcard` (string): 银行卡号\n\n### 运营商三要素验证\n\n```json\n{\n  \"tool\": \"verifyMobileThree\",\n  \"arguments\": {\n    \"name\": \"张三\",\n    \"idcard\": \"110101199001011234\",\n    \"mobile\": \"13800138000\"\n  }\n}\n```\n\n**参数说明：**\n- `name` (string): 机主姓名\n- `idcard` (string): 身份证号码\n- `mobile` (string): 手机号码\n\n### 创建笔记\n\n```json\n{\n  \"tool\": \"create_note\",\n  \"arguments\": {\n    \"title\": \"测试笔记\",\n    \"content\": \"这是一个测试笔记的内容\"\n  }\n}\n```\n\n**参数说明：**\n- `title` (string): 笔记标题\n- `content` (string): 笔记内容\n\n## 📊 返回结果\n\n服务会返回橙禾 API 的原始响应数据，格式为 JSON 字符串。具体返回格式取决于橙禾 API 的响应结构。\n\n### 示例响应\n\n```json\n{\n  \"content\": [\n    {\n      \"type\": \"text\",\n      \"text\": \"{\\n  \\\"code\\\": 200,\\n  \\\"message\\\": \\\"验证成功\\\",\\n  \\\"data\\\": {\\n    \\\"result\\\": \\\"1\\\",\\n    \\\"message\\\": \\\"验证通过\\\",\\n    \\\"name\\\": \\\"张三\\\",\\n    \\\"idcard\\\": \\\"110101199001011234\\\",\\n    \\\"bankcard\\\": \\\"6222021234567890123\\\"\\n  }\\n}\"\n    }\n  ]\n}\n```\n\n**注意：** 返回的 `text` 字段包含的是 JSON 字符串，需要解析后才能获取具体的验证结果。\n\n## ⚠️ 注意事项\n\n### 数据安全\n- 🔒 所有验证数据均通过加密传输\n- 🛡️ 不会存储任何用户个人信息\n- 🔐 建议在 HTTPS 环境下使用\n\n### 使用限制\n- 📊 请确保输入的数据格式正确\n- ⏱️ 单次验证响应时间通常在 1-3 秒\n- 🔄 建议实现适当的重试机制\n\n### 错误处理\n- ❌ 网络异常：检查网络连接\n- 🔑 认证失败：检查 AppID 和 Secret 配置\n- 📝 参数错误：检查输入参数格式\n\n## 🌐 集成示例\n\n### 在 Claude Desktop 中使用\n\n在 Claude Desktop 的配置文件中添加：\n\n```json\n{\n  \"mcpServers\": {\n    \"3elements-mcp-server\": {\n      \"command\": \"npx\",\n      \"args\": [\"@alouhaou/3elements-mcp-server\"],\n      \"env\": {\n        \"CHENGHE_APPID\": \"your_app_id\",\n        \"CHENGHE_SECRET\": \"your_secret_key\"\n      }\n    }\n  }\n}\n```\n\n### 在 Cursor 中使用\n\n在 Cursor 的 MCP 配置中添加：\n\n```json\n{\n  \"mcpServers\": {\n    \"3elements-mcp-server\": {\n      \"command\": \"npx\",\n      \"args\": [\"@alouhaou/3elements-mcp-server\"],\n      \"env\": {\n        \"CHENGHE_APPID\": \"your_app_id\",\n        \"CHENGHE_SECRET\": \"your_secret_key\"\n      }\n    }\n  }\n}\n```\n\n## 🆘 常见问题\n\n### Q: 如何获取 AppID 和 Secret？\nA: 请联系橙禾 API 服务提供商获取相应的认证信息。\n\n### Q: 验证失败的原因有哪些？\nA: 常见原因包括：\n- 姓名与身份证不匹配\n- 银行卡号与身份证不匹配\n- 手机号与身份证不匹配\n- 输入信息格式错误\n\n### Q: 服务支持哪些银行卡？\nA: 支持国内主要银行的储蓄卡和信用卡。\n\n### Q: 如何提高验证成功率？\nA: 确保输入的信息准确无误，特别是姓名要与身份证上的完全一致。\n\n## 📞 技术支持\n\n如果你在使用过程中遇到问题，可以：\n\n1. 检查环境变量配置是否正确\n2. 确认网络连接是否正常\n3. 验证输入参数格式是否正确\n4. 联系技术支持团队\n\n## 📚 开发者文档\n\n如果你是开发者，想要了解如何部署、开发或贡献代码，请查看 [DEVELOPMENT.md](./DEVELOPMENT.md) 文档。\n\n## 📄 许可证\n\nMIT License\n\n---\n\n**免责声明：** 本服务仅提供信息验证功能，不承担因验证结果产生的任何法律责任。请在使用前确保符合相关法律法规要求。","readmeFilename":"README.md"}