{"_id":"@dbotx/limit-order-mcp-server","_rev":"3-945e06aab5a7b6347e262d2a6f38b632","name":"@dbotx/limit-order-mcp-server","dist-tags":{"latest":"1.0.2"},"versions":{"1.0.0":{"name":"@dbotx/limit-order-mcp-server","version":"1.0.0","keywords":["mcp","dbot","limit-order","trading","crypto","blockchain","DEX","DeFi","cross-chain","solana","ethereum","bsc","web3"],"author":{"name":"dbotx"},"license":"MIT","_id":"@dbotx/limit-order-mcp-server@1.0.0","maintainers":[{"name":"dbotx","email":"team@dbotx.com"}],"homepage":"https://github.com/dbotx/dbot-mcp-servers/tree/main/limit-order-mcp-server","bugs":{"url":"https://github.com/dbotx/dbot-mcp-servers/issues"},"bin":{"limit-order-mcp-server":"dist/index.js"},"dist":{"shasum":"76404110ae6b2c7f6c861495ba9a484e2638a347","tarball":"https://registry.npmjs.org/@dbotx/limit-order-mcp-server/-/limit-order-mcp-server-1.0.0.tgz","fileCount":15,"integrity":"sha512-cH4tDdJG9YJdUPw2hUzfVFBmtXNq7zG/PfhwdRQFSbRDc4n+KMRAzjpE/8afnyyQlcGSDbJPTQ3jrP/a/rLAdg==","signatures":[{"sig":"MEQCIHQeS1P1C4grghCpWam/BA6UkSodJdKR86r4+mvPQFx7AiB2mdDgvbP2Spvu6TASju/s0H0q9T0lYHj7fHbildgR1Q==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":99124},"main":"dist/index.js","types":"./dist/index.d.ts","engines":{"node":">=18"},"gitHead":"307e67bc75ae5a790bb27bd46ab914b506916dea","scripts":{"dev":"tsx src/index.ts","build":"tsc","prepublishOnly":"npm run build"},"_npmUser":{"name":"dbotx","actor":{"name":"dbotx","type":"user","email":"team@dbotx.com"},"email":"team@dbotx.com"},"repository":{"url":"git+https://github.com/dbotx/dbot-mcp-servers.git","type":"git","directory":"limit-order-mcp-server"},"_npmVersion":"10.9.2","description":"Limit Order MCP Server - Supporting multi-chain limit orders, precise price triggers, and flexible order management. A professional cross-chain MCP trading service supporting DEX trading on multiple chains including Solana, Ethereum, BSC and more.","directories":{},"_nodeVersion":"22.15.0","dependencies":{"zod":"^3.22.0","axios":"^1.6.0","@modelcontextprotocol/sdk":"^1.13.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.7.0","typescript":"^5.8.3","@types/node":"^20.0.0"},"_npmOperationalInternal":{"tmp":"tmp/limit-order-mcp-server_1.0.0_1751593613626_0.6532791044239317","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@dbotx/limit-order-mcp-server","version":"1.0.1","keywords":["mcp","dbot","limit-order","trading","crypto","blockchain","DEX","DeFi","cross-chain","solana","ethereum","bsc","web3"],"author":{"name":"dbotx"},"license":"MIT","_id":"@dbotx/limit-order-mcp-server@1.0.1","maintainers":[{"name":"dbotx","email":"team@dbotx.com"}],"homepage":"https://github.com/dbotx/dbot-mcp-servers/tree/main/limit-order-mcp-server","bugs":{"url":"https://github.com/dbotx/dbot-mcp-servers/issues"},"bin":{"limit-order-mcp-server":"dist/index.js"},"dist":{"shasum":"647a62e4a61f9471abe2594b9d353c61175c9586","tarball":"https://registry.npmjs.org/@dbotx/limit-order-mcp-server/-/limit-order-mcp-server-1.0.1.tgz","fileCount":15,"integrity":"sha512-XgmN16BpfEMwwufsqcB0e9eEIaiUgomsUhFnQT5IXLnmZXIH3rGuEoZUuz4gvjl7O18j5I8LTgCbNq2va5hjew==","signatures":[{"sig":"MEUCIQCbdWqghNm8g3axfSZbkB/FQuLO8d4mypSp5f6cQbuS+QIgHuTqQUQX0bKpBk7GSzzBQPrf2qaJm3EhiZRaaXAr0Ac=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":146288},"main":"dist/index.js","types":"./dist/index.d.ts","engines":{"node":">=18"},"gitHead":"2c05b1454badf03ee083d1219f40231ffa5aaf61","scripts":{"dev":"tsx src/index.ts","build":"tsc","prepublishOnly":"npm run build"},"_npmUser":{"name":"dbotx","email":"team@dbotx.com"},"repository":{"url":"git+https://github.com/dbotx/dbot-mcp-servers.git","type":"git","directory":"limit-order-mcp-server"},"_npmVersion":"10.9.2","description":"Limit Order MCP Server - Supporting multi-chain limit orders, precise price triggers, and flexible order management. A professional cross-chain MCP trading service supporting DEX trading on multiple chains including Solana, Ethereum, BSC and more.","directories":{},"_nodeVersion":"22.15.0","dependencies":{"zod":"^3.22.0","axios":"^1.6.0","@modelcontextprotocol/sdk":"^1.13.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.7.0","typescript":"^5.8.3","@types/node":"^20.0.0"},"_npmOperationalInternal":{"tmp":"tmp/limit-order-mcp-server_1.0.1_1752723935941_0.24619383506797443","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"@dbotx/limit-order-mcp-server","version":"1.0.2","description":"Limit Order MCP Server - Supporting multi-chain limit orders, precise price triggers, and flexible order management. A professional cross-chain MCP trading service supporting DEX trading on multiple chains including Solana, Ethereum, BSC and more.","keywords":["mcp","dbot","limit-order","trading","crypto","blockchain","DEX","DeFi","cross-chain","solana","ethereum","bsc","web3"],"author":{"name":"dbotx"},"license":"MIT","main":"dist/index.js","bin":{"limit-order-mcp-server":"dist/index.js"},"scripts":{"build":"tsc","dev":"tsx src/index.ts","prepublishOnly":"npm run build"},"dependencies":{"@modelcontextprotocol/sdk":"^1.13.0","axios":"^1.6.0","zod":"^3.22.0"},"devDependencies":{"@types/node":"^20.0.0","tsx":"^4.7.0","typescript":"^5.8.3"},"engines":{"node":">=18"},"repository":{"type":"git","url":"git+https://github.com/dbotx/dbot-mcp-servers.git","directory":"limit-order-mcp-server"},"homepage":"https://github.com/dbotx/dbot-mcp-servers/tree/main/limit-order-mcp-server","publishConfig":{"access":"public"},"_id":"@dbotx/limit-order-mcp-server@1.0.2","gitHead":"050adc759b09753a31e08b024eb4981d534058a8","types":"./dist/index.d.ts","bugs":{"url":"https://github.com/dbotx/dbot-mcp-servers/issues"},"_nodeVersion":"22.15.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-dzC3kPe8fPTg5n1Iv6muySz1pQbJeXymYUl+Tysav6Q3Ci7v/EWTQ48i0UNSOTh1AmgwC0gH7nAdqSJtqQtFvA==","shasum":"e802a8fe57b8c71d79691c3a4a162abfbd100d12","tarball":"https://registry.npmjs.org/@dbotx/limit-order-mcp-server/-/limit-order-mcp-server-1.0.2.tgz","fileCount":15,"unpackedSize":148081,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDg8uvwViWukNm8l2+YEaU5t1PZcxduY9f5g7LNIyM3xwIhANcc4JwnfqT35Lm5O50ubylZCvh5nXtyUTx29BaBENQi"}]},"_npmUser":{"name":"dbotx","email":"team@dbotx.com"},"directories":{},"maintainers":[{"name":"dbotx","email":"team@dbotx.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/limit-order-mcp-server_1.0.2_1753329320216_0.31357235198208366"},"_hasShrinkwrap":false}},"time":{"created":"2025-07-04T01:46:53.523Z","modified":"2025-07-24T03:55:20.608Z","1.0.0":"2025-07-04T01:46:53.796Z","1.0.1":"2025-07-17T03:45:36.121Z","1.0.2":"2025-07-24T03:55:20.431Z"},"bugs":{"url":"https://github.com/dbotx/dbot-mcp-servers/issues"},"author":{"name":"dbotx"},"license":"MIT","homepage":"https://github.com/dbotx/dbot-mcp-servers/tree/main/limit-order-mcp-server","keywords":["mcp","dbot","limit-order","trading","crypto","blockchain","DEX","DeFi","cross-chain","solana","ethereum","bsc","web3"],"repository":{"type":"git","url":"git+https://github.com/dbotx/dbot-mcp-servers.git","directory":"limit-order-mcp-server"},"description":"Limit Order MCP Server - Supporting multi-chain limit orders, precise price triggers, and flexible order management. A professional cross-chain MCP trading service supporting DEX trading on multiple chains including Solana, Ethereum, BSC and more.","maintainers":[{"name":"dbotx","email":"team@dbotx.com"}],"readme":"[English](./README.md) | [中文](./README.zh-CN.md)\n\n# 专业的多链 DEX 交易 MCP 服务\n\n限价单 MCP Server - 支持多链限价买卖，精准价格触发，灵活订单管理。专业的跨链 MCP 交易服务，支持 Solana、Ethereum、BSC 等多条主流区块链的 DEX 交易。\n\n由 DBot 强力驱动 - [www.dbotx.com](https://www.dbotx.com)\n\n## 🚀 功能特性\n\n- 🎯 **精准限价**：支持 Solana、Ethereum、Base、BSC、Tron 多链限价买入和卖出\n- ⚡ **灵活触发**：支持高于/低于目标价触发，防插针模式\n- 🔧 **完整管理**：创建、编辑、启用/禁用、删除限价单\n- 📊 **状态查询**：查看限价单执行状态和历史记录\n- 💳 **钱包管理**：按链类型查询用户钱包ID和地址（Solana/EVM） - 为交易操作提供必要的钱包信息，而非余额数据\n- 🔍 **代币安全与市场分析**：全面的代币信息，包括安全因素、价格数据、市值、创建时间、流动性、交易量、持币分布和风险评估\n- ⏰ **到期处理**：可配置任务到期时是否按市价执行\n- 🛡️ **风险控制**：支持滑点、优先费、防夹等参数\n\n\n## 快速开始\n\n在 MCP 客户端配置中添加：\n\n```json\n{\n  \"mcpServers\": {\n    \"limit-order\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"@dbotx/limit-order-mcp-server@latest\"],\n      \"env\": {\n        \"DBOT_API_KEY\": \"your-api-key\",\n        \"DBOT_WALLET_ID_SOLANA\": \"your-solana-wallet-id\",\n        \"DBOT_WALLET_ID_EVM\": \"your-evm-wallet-id\"\n      }\n    }\n  }\n}\n```\n**api-key 与 wallet-id 获取地址 [www.dbotx.com](https://www.dbotx.com)**\n\n## 📚 典型场景\n\n- **高价卖出**：\n  - \"帮我在 solana 上高于 100 美元时卖出代币 {{代币地址}} 50% 仓位\"\n- **低价买入**：\n  - \"帮我在 solana 上低于 0.0001 美元时买入 1 个 {{代币地址}} 代币\"\n- **修改限价单**：\n  - \"帮我把限价单的触发价格改为 20 美元，关闭防夹模式\"\n- **查询限价单**：\n  - \"帮我查看所有限价单\"\n- **管理限价单**：\n  - \"帮我关闭这个限价单\"\n  - \"帮我重新打开这个限价单\"\n  - \"帮我删除这个限价单\"\n\n\n## 🌱 环境变量\n\n以下为环境变量说明：\n\n### 必需的环境变量\n- `DBOT_API_KEY`: DBot API密钥（必需）\n\n### 钱包配置（至少配置一个）\n配置特定链的钱包ID。系统将根据交易链自动选择合适的钱包：\n\n#### 特定链钱包ID（优先级高）\n- `DBOT_WALLET_ID_SOLANA`: Solana 钱包ID\n- `DBOT_WALLET_ID_BASE`: Base 网络钱包ID  \n- `DBOT_WALLET_ID_ARBITRUM`: Arbitrum 网络钱包ID\n- `DBOT_WALLET_ID_BSC`: BSC 网络钱包ID\n\n#### 通用钱包ID（备选）\n- `DBOT_WALLET_ID_EVM`: 通用 EVM 钱包ID（适用于 Ethereum/Base/Arbitrum/BSC）\n- `DBOT_WALLET_ID_TRON`: Tron 钱包ID\n\n**钱包选择优先级：**\n1. 特定链钱包ID（如 Base 使用 `DBOT_WALLET_ID_BASE`）\n2. 通用链类型钱包ID（如 EVM 链使用 `DBOT_WALLET_ID_EVM`）\n3. 必须至少配置一个钱包ID，否则系统将报错\n\n### 可选的默认参数配置\n- 如需更改可根据示例配置，如未更改将使用默认配置。\n- 默认配置可通过与llm模型对话得到，例如 \"请告诉我 限价单 工具的默认配置\"。\n- 所有环境变量默认值均可在对话时被覆盖。例如 系统默认开启防夹模式，对话时可要求将其覆盖，\"创建限价单 ....，请关闭防夹模式。\"\n\n#### 基础配置\n- `DBOT_CHAIN`: 默认链类型 (solana/ethereum/base/bsc/tron)，默认值为 \"solana\"\n- `DBOT_CUSTOM_FEE_AND_TIP`: 是否使用自定义费用，默认值为 false\n- `DBOT_PRIORITY_FEE`: 优先费，默认值为 \"0.0001\"\n- `DBOT_GAS_FEE_DELTA`: gas费用增量，默认值为 5\n- `DBOT_MAX_FEE_PER_GAS`: 最大gas费用，默认值为 100\n- `DBOT_JITO_ENABLED`: 是否启用防夹模式，默认值为 true\n- `DBOT_JITO_TIP`: 防夹小费，默认值为 0.001\n- `DBOT_MAX_SLIPPAGE`: 最大滑点 (0.00-1.00)，默认值为 0.1\n- `DBOT_CONCURRENT_NODES`: 并发节点数 (1-3)，默认值为 2\n- `DBOT_RETRIES`: 重试次数 (0-10)，默认值为 1\n\n**示例：**\n\n```json\n{\n  \"env\": {\n    \"DBOT_API_KEY\": \"your-api-key\",\n    \"DBOT_WALLET_ID_SOLANA\": \"your-solana-wallet-id\",\n    \"DBOT_WALLET_ID_EVM\": \"your-evm-wallet-id\",\n    \"DBOT_CHAIN\": \"solana\",\n    \"DBOT_CUSTOM_FEE_AND_TIP\": \"true\",\n    \"DBOT_PRIORITY_FEE\": \"0.0002\",\n    \"DBOT_GAS_FEE_DELTA\": \"5\",\n    \"DBOT_MAX_FEE_PER_GAS\": \"100\",\n    \"DBOT_JITO_ENABLED\": \"true\",\n    \"DBOT_JITO_TIP\": \"0.001\",\n    \"DBOT_MAX_SLIPPAGE\": \"0.1\",\n    \"DBOT_CONCURRENT_NODES\": \"2\",\n    \"DBOT_RETRIES\": \"1\"\n  }\n}\n```\n\n#### 限价单配置\n- `DBOT_EXPIRE_DELTA`: 任务有效时长（毫秒），默认值为 432000000\n- `DBOT_EXPIRE_EXECUTE`: 任务过期时是否按市价执行，默认值为 false\n- `DBOT_USE_MID_PRICE`: 是否启用防插针模式，默认值为 false\n\n**示例：**\n\n```json\n{\n  \"env\": {\n    \"DBOT_API_KEY\": \"your-api-key\",\n    \"DBOT_WALLET_ID_SOLANA\": \"your-solana-wallet-id\",\n    \"DBOT_WALLET_ID_EVM\": \"your-evm-wallet-id\",\n    \"DBOT_EXPIRE_DELTA\": \"432000000\",\n    \"DBOT_EXPIRE_EXECUTE\": \"false\",\n    \"DBOT_USE_MID_PRICE\": \"true\"\n  }\n}\n```\n\n\n## 🛠️ 可用工具\n\n### create_limit_order\n创建多链限价买入/卖出任务\n\n**主要参数：**\n- `chain` (string)：区块链名称 (solana/ethereum/base/bsc/tron)\n- `pair` (string)：代币地址或交易对地址（必需）\n- `walletId` (string)：钱包 ID（可选）\n- `tradeType` (string)：交易类型 (buy/sell)（必需）\n- `triggerPriceUsd` (number)：触发价格（美元）（必需）\n- `triggerDirection` (string)：触发方向 (up/down)（必需）\n- `currencyAmountUI` (number)：买入金额或卖出比例（必需）\n- 其他：enabled, groupId, customFeeAndTip, priorityFee, gasFeeDelta, maxFeePerGas, jitoEnabled, jitoTip, expireDelta, expireExecute, useMidPrice, maxSlippage, concurrentNodes, retries\n\n**示例：**\n```json\n{\n  \"chain\": \"solana\",\n  \"pair\": \"9BB6NFEcjBCtnNLFko2FqVQBq8HHM13kCyYcdQbgpump\",\n  \"tradeType\": \"sell\",\n  \"triggerPriceUsd\": 10,\n  \"triggerDirection\": \"up\",\n  \"currencyAmountUI\": 1\n}\n```\n\n### edit_limit_order\n编辑限价单\n```json\n{\n  \"id\": \"limit-order-123\",\n  \"triggerPriceUsd\": 20\n}\n```\n\n### switch_limit_order\n启用/禁用限价单\n```json\n{\n  \"id\": \"limit-order-123\",\n  \"enabled\": false\n}\n```\n\n### delete_limit_order\n删除限价单\n```json\n{\n  \"id\": \"limit-order-123\"\n}\n```\n\n### delete_limit_orders\n批量删除限价单\n```json\n{\n  \"ids\": [\"limit-order-123\", \"limit-order-456\"]\n}\n```\n\n### delete_all_limit_order\n删除全部限价单\n```json\n{\n  \"chain\": \"solana\"\n}\n```\n\n### limit_orders\n查询限价单列表\n```json\n{\n  \"page\": 0,\n  \"size\": 10\n}\n```\n\n### get_user_wallets\n按链类型查询用户钱包ID和地址。此功能为交易操作提供必要的钱包信息，而非余额数据。\n```json\n{\n  \"type\": \"solana\",\n  \"page\": 0,\n  \"size\": 20\n}\n```\n\n**参数说明：**\n- `type` (string): 钱包类型 - \"solana\"查询Solana钱包，\"evm\"查询EVM钱包。如果未指定，查询所有类型\n- `page` (number): 页码，从0开始\n- `size` (number): 每页条目数（1-20）\n\n**返回:** 每个钱包的钱包ID、名称、类型和地址。\n\n### get_token_security_info\n获取代币市场与安全信息。\n```json\n{\n  \"pair\": \"9BB6NFEcjBCtnNLFko2FqVQBq8HHM13kCyYcdQbgpump\"\n}\n```\n\n**返回代币市场与安全信息，包括：**\n- 代币和池子创建时间\n- 当前价格和市值\n- 交易量和流动性数据\n- 安全因素（mint/freeze权限、前10持有者集中度）\n- 池子流动性和安全信息\n- 相关链接（Birdeye、Jupiter等）\n\n## ⚠️ 注意事项\n\n1. `walletId` 可选，未提供时自动使用相应链的钱包ID\n2. 价格以美元计价，建议使用合理精度\n3. 默认任务有效期为 432000000 毫秒（5 天）\n4. 触发方向：`up` 为上涨触发，`down` 为下跌触发\n5. 防插针模式可避免瞬时波动误触发\n6. 可配置到期时是否按市价强制执行\n\n\n## 📚 API文档\n\n完整的API文档请参考：[DBot API](https://dbotx.com/docs).\n\n\n## 📄 许可证\n\nMIT\n\n\n## 💡 支持\n\n如有问题或建议，请访问：[GitHub Issues](https://github.com/dbotx/dbot-mcp-servers/issues). ","readmeFilename":"README.zh-CN.md"}