{"_id":"@bbigu0898/limit-order-mcp-server","_rev":"3-1e26276fdfd5b747590b323f38324160","name":"@bbigu0898/limit-order-mcp-server","dist-tags":{"latest":"1.0.2"},"versions":{"1.0.0":{"name":"@bbigu0898/limit-order-mcp-server","version":"1.0.0","keywords":["mcp","dbot","limit-order","trading","crypto","blockchain"],"author":{"name":"@bbigu0898"},"license":"MIT","_id":"@bbigu0898/limit-order-mcp-server@1.0.0","maintainers":[{"name":"bbigu0898","email":"cqkang2602@gmail.com"}],"homepage":"https://github.com/dbot-team/dbot-mcp-servers/tree/main/limit-order-mcp-server","bugs":{"url":"https://github.com/dbot-team/dbot-mcp-servers/issues"},"bin":{"limit-order-mcp-server":"dist/index.js"},"dist":{"shasum":"a28db8a3613a5412980be234794435683343f149","tarball":"https://registry.npmjs.org/@bbigu0898/limit-order-mcp-server/-/limit-order-mcp-server-1.0.0.tgz","fileCount":14,"integrity":"sha512-p0/wKaN68CXJwp418D0gISu3UF7y9Og7gki57nzCnBQX0O31DwA5rOfo8akHmY/86RJV5rqzcA3CQioLb0EQAQ==","signatures":[{"sig":"MEQCIGyDrZhgJvhWQTGcw0rVuNz5FYrXVtdghpKuQI2T72SUAiBu4ClcdBi8h5BLKRRCfPAZ7i2ejSJ/gYjwpGAolH4pLA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":91555},"main":"dist/index.js","types":"./dist/index.d.ts","engines":{"node":">=18"},"scripts":{"dev":"tsx src/index.ts","build":"tsc","prepublishOnly":"npm run build"},"_npmUser":{"name":"bbigu0898","actor":{"name":"bbigu0898","type":"user","email":"cqkang2602@gmail.com"},"email":"cqkang2602@gmail.com"},"repository":{"url":"git+https://github.com/dbot-team/dbot-mcp-servers.git","type":"git","directory":"limit-order-mcp-server"},"_npmVersion":"10.9.2","description":"限价单 MCP Server - 支持创建和管理限价单，查询限价单的历史执行情况","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.0.0","@types/node":"^20.0.0"},"_npmOperationalInternal":{"tmp":"tmp/limit-order-mcp-server_1.0.0_1751361500348_0.5366127587000347","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@bbigu0898/limit-order-mcp-server","version":"1.0.1","keywords":["mcp","dbot","limit-order","trading","crypto","blockchain","DEX","DeFi","cross-chain","automated-trading","solana","ethereum","bsc","web3"],"author":{"name":"@bbigu0898"},"license":"MIT","_id":"@bbigu0898/limit-order-mcp-server@1.0.1","maintainers":[{"name":"bbigu0898","email":"cqkang2602@gmail.com"}],"homepage":"https://github.com/dbot-team/dbot-mcp-servers/tree/main/limit-order-mcp-server","bugs":{"url":"https://github.com/dbot-team/dbot-mcp-servers/issues"},"bin":{"limit-order-mcp-server":"dist/index.js"},"dist":{"shasum":"75f6e8ba86de171d5b9d2ace9d9edd695c1c2da1","tarball":"https://registry.npmjs.org/@bbigu0898/limit-order-mcp-server/-/limit-order-mcp-server-1.0.1.tgz","fileCount":15,"integrity":"sha512-Q3KsziXH1umPdKFkB96hcocpPOYZIavdi9kk2NS5HaGF9tjDWaeFZ16grry1rs1Z6Y7hWZwe1cMt5wsuFJvuqw==","signatures":[{"sig":"MEUCIQC6hVd21KIOHIA5dqsi3iXIJfLs/1YJxxFZrhHFvWqWyAIgdLm1U8XfSkWlDXnv77/M8pn0WY0q1L2pn+OfwGw89B4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":98835},"main":"dist/index.js","types":"./dist/index.d.ts","engines":{"node":">=18"},"scripts":{"dev":"tsx src/index.ts","build":"tsc","prepublishOnly":"npm run build"},"_npmUser":{"name":"bbigu0898","actor":{"name":"bbigu0898","type":"user","email":"cqkang2602@gmail.com"},"email":"cqkang2602@gmail.com"},"repository":{"url":"git+https://github.com/dbot-team/dbot-mcp-servers.git","type":"git","directory":"limit-order-mcp-server"},"_npmVersion":"10.9.2","description":"Professional cross-chain MCP trading service - Supporting multi-chain limit orders, precise price triggers, and flexible order management. Provides automated trading services on blockchain DEXs, supporting multiple chains including Solana, Ethereum, BSC a","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.0.0","@types/node":"^20.0.0"},"_npmOperationalInternal":{"tmp":"tmp/limit-order-mcp-server_1.0.1_1751364727059_0.719716485313922","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"@bbigu0898/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":"@bbigu0898"},"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.0.0"},"engines":{"node":">=18"},"repository":{"type":"git","url":"git+https://github.com/dbot-team/dbot-mcp-servers.git","directory":"limit-order-mcp-server"},"homepage":"https://github.com/dbot-team/dbot-mcp-servers/tree/main/limit-order-mcp-server","publishConfig":{"access":"public"},"_id":"@bbigu0898/limit-order-mcp-server@1.0.2","types":"./dist/index.d.ts","bugs":{"url":"https://github.com/dbot-team/dbot-mcp-servers/issues"},"_nodeVersion":"22.15.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-Gelj0z+8rYMkFzCUfcl2sRenh7u8IuZbefqeHZihhm2jkXOOvxwmjWLPR0rHpewmdy4aYxv7QBNNPzgN//T2yQ==","shasum":"55554b77a284b17b49bc3268553f61ed27ad6024","tarball":"https://registry.npmjs.org/@bbigu0898/limit-order-mcp-server/-/limit-order-mcp-server-1.0.2.tgz","fileCount":15,"unpackedSize":98751,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIEvilzViU7GwYiJOYtvIMmrIWCmj6NEWKWjtL8AU96B8AiBJQdwseg4GNFIUryvwcHp/NqClkgVXx1SjddASQVLXEg=="}]},"_npmUser":{"name":"bbigu0898","email":"cqkang2602@gmail.com","actor":{"name":"bbigu0898","email":"cqkang2602@gmail.com","type":"user"}},"directories":{},"maintainers":[{"name":"bbigu0898","email":"cqkang2602@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/limit-order-mcp-server_1.0.2_1751365916810_0.5105004978778938"},"_hasShrinkwrap":false}},"time":{"created":"2025-07-01T09:18:20.269Z","modified":"2025-07-01T10:31:57.535Z","1.0.0":"2025-07-01T09:18:20.524Z","1.0.1":"2025-07-01T10:12:07.225Z","1.0.2":"2025-07-01T10:31:56.978Z"},"bugs":{"url":"https://github.com/dbot-team/dbot-mcp-servers/issues"},"author":{"name":"@bbigu0898"},"license":"MIT","homepage":"https://github.com/dbot-team/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/dbot-team/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":"bbigu0898","email":"cqkang2602@gmail.com"}],"readme":"[English](./README.md) | [中文](./README.zh-CN.md)\n\n# @dbot/limit-order-mcp-server\n\n限价单 MCP Server - 支持多链限价买卖，精准价格触发，灵活管理订单。专业的全链 MCP 交易服务，支持 Solana、Ethereum、BSC 等多条链的 DEX 交易。\n\n## 🚀 功能特性\n\n- 🎯 **精准限价**：支持 Solana、Ethereum、Base、BSC、Tron 多链限价买入和卖出\n- ⚡ **灵活触发**：支持高于/低于目标价触发，防插针模式\n- 🔧 **完整管理**：创建、编辑、启用/禁用、删除限价单\n- 📊 **状态查询**：查看限价单执行状态和历史记录\n- ⏰ **到期处理**：可配置任务到期时是否按市价执行\n- 🛡️ **风险控制**：支持滑点、优先费、防夹等参数\n\n\n## 快速开始\n\n在 MCP 客户端配置中添加：\n\n```json\n{\n  \"mcpServers\": {\n    \"limit-order\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"@dbot/limit-order-mcp-server@latest\"],\n      \"env\": {\n        \"DBOT_API_KEY\": \"your-api-key\",\n        \"DBOT_WALLET_ID\": \"your-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- `DBOT_WALLET_ID`: 默认钱包ID（必需）\n\n### 可选的默认参数配置\n- 如需更改可根据示例配置，如未更改将使用默认配置。\n- 默认配置可通过与llm模型对话得到，例如 \"请告诉我 限价单 工具的默认配置\"。\n- 所有环境变量默认值均可在对话时被覆盖。例如 系统默认开启防夹模式，对话时可要求将其覆盖，\"创建限价单 ....，请关闭防夹模式。\"\n\n#### 基础配置\n- `DBOT_CHAIN`: 默认链类型 (solana/ethereum/base/bsc/tron)\n- `DBOT_CUSTOM_FEE_AND_TIP`: 是否使用自定义费用 (true/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/false)\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\": \"your-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`: 任务过期时是否按市价执行 (true/false)\n- `DBOT_USE_MID_PRICE`: 是否启用防插针模式 (true/false)\n\n**示例：**\n\n```json\n{\n  \"env\": {\n    \"DBOT_API_KEY\": \"your-api-key\",\n    \"DBOT_WALLET_ID\": \"your-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## ⚠️ 注意事项\n\n1. `walletId` 可选，未提供时自动使用 `DBOT_WALLET_ID`\n2. 价格以美元计价，建议使用合理精度\n3. 默认任务有效期为 432000000 毫秒（5 天）\n4. 触发方向：`up` 为上涨触发，`down` 为下跌触发\n5. 防插针模式可避免瞬时波动误触发\n6. 可配置到期时是否按市价强制执行\n\n\n## 许可证\n\nMIT License\n\n## 支持\n\n如有问题或建议，请访问 [GitHub Issues](https://github.com/dbot-team/dbot-mcp-servers/issues) ","readmeFilename":"README.zh-CN.md"}