Open-source B2B and marketplace ecommerce; new stores include an MCP server for AI agents.
Lucyd
概览
作者提供的说明(英文原文)
Trade Bitcoin Up/Down prediction markets on Lucyd: markets, order books, orders, positions.
PopNx MCP 的三大支柱
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
- 用户评价i暂无评价评价功能将在后续阶段与账户功能一起开放
- 我们的基础检查i3 项中通过 3 项依据公开信息检查;尚未扫描代码
- 使用情况i尚未统计★ –
它能帮你做什么
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
- 连接方式: 电脑或云端
- 传输方式: stdio, Streamable HTTP
- 分类: 网店与支付
- 你需要填写:LUCYD_PRIVATE_KEY
安装
选择你使用的 AI 应用,然后复制设置。
安装之前
- 基础检查:3 项中通过 3 项
- 在作者的服务器上运行:你向它提出的内容会经过他们的服务器。
- 可以做 9 件事(工具) get_market, get_order_book, get_pnl_history, get_positions …
- 需要你自己填写:
LUCYD_PRIVATE_KEY,LUCYD_MAX_ORDER_USD,LUCYD_READ_ONLY
标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
适用于网页版、桌面版和手机版 Claude:
- 打开 Settings → Connectors
- 点击 Add custom connector
- 粘贴下面的地址,然后点击 Add
- 如果要求登录,请登录作者的服务
https://mcp.lucyd.trade/mcp或者在你的电脑上运行
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"lucyd": {
"command": "npx",
"args": [
"-y",
"@lucyd/mcp"
],
"env": {
"LUCYD_PRIVATE_KEY": "your-value",
"LUCYD_MAX_ORDER_USD": "your-value",
"LUCYD_READ_ONLY": "your-value"
}
}
}
}在终端中运行这条命令
claude mcp add --transport http lucyd https://mcp.lucyd.trade/mcp或者在你的电脑上运行
claude mcp add lucyd --env LUCYD_PRIVATE_KEY=your-value --env LUCYD_MAX_ORDER_USD=your-value --env LUCYD_READ_ONLY=your-value -- npx -y @lucyd/mcp运行前请先填写空着的值。
或者自己复制设置
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"lucyd": {
"url": "https://mcp.lucyd.trade/mcp"
}
}
}或者在你的电脑上运行
或者自己复制设置
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"lucyd": {
"command": "npx",
"args": [
"-y",
"@lucyd/mcp"
],
"env": {
"LUCYD_PRIVATE_KEY": "your-value",
"LUCYD_MAX_ORDER_USD": "your-value",
"LUCYD_READ_ONLY": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
或者自己复制设置
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"lucyd": {
"type": "http",
"url": "https://mcp.lucyd.trade/mcp"
}
}
}或者在你的电脑上运行
或者自己复制设置
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"lucyd": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@lucyd/mcp"
],
"env": {
"LUCYD_PRIVATE_KEY": "your-value",
"LUCYD_MAX_ORDER_USD": "your-value",
"LUCYD_READ_ONLY": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
ChatGPT 只能连接互联网上的服务器:
- 打开网页版 ChatGPT → Settings → Connectors (Apps)
- 点击 Create 或 Add(部分套餐需要先在 Advanced 中开启 Developer mode)
- 粘贴下面的地址,起个名字,然后保存
- 如果要求登录,请登录作者的服务
https://mcp.lucyd.trade/mcp菜单名称可能因套餐和版本不同而略有差异。
你的选择通过 Cookie 保存在这台设备上,无需账户。
需要你填写的值
- Wallet key that signs orders. Without it the server is read-only
LUCYD_MAX_ORDER_USDenvLargest buy order in USDC (default 100)LUCYD_READ_ONLYenvtrue turns off every tool that trades or sends transactions
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它能做什么
工具名称和描述与服务器在 2026年11月7日 报告的完全一致。这些内容由作者撰写,不是我们写的;我们以纯文本形式显示。
get_marketFull details of one market, including its rules and the ids of its up and down outcome tokens.
get_order_bookOrder book of a market outcome: bids (best first) and asks with prices in USDC per token and sizes in tokens, plus best bid, best ask and mid. Buying down at p is the same book as selling up at 1 - p.
get_pnl_historyProfit and loss over time of a wallet, as a series of points. Defaults to the configured wallet.
get_positionsPositions of a wallet: tokens held per market and outcome, average price, current value and profit. Settled markets show the payout. Defaults to the configured wallet.
get_statusHealth of the Lucyd service: API and database, settlement of ended markets on time, live trade stream. Use it when something looks stuck, e.g. a market is not resolving.
get_trader_statsStats of a wallet: total and realized profit, volume, markets traded, win rate. Defaults to the configured wallet.
list_marketsList prediction markets on Lucyd. Each market asks whether the BTC price will be Up or Down at its end date versus the strike (strike is the price times 1e8). Returns address (the market id), state, period, start and end dates, strike, winner and volume.
list_tradesRecent trades, newest first. Filter by market and/or trader. Amounts are in USDC and tokens.
top_tradersLeaderboard of traders, best first.
基础检查i
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日
- ✓ 通过
作者与仓库一致
注册名称已通过域名 lucyd.trade 验证(注册中心会核实域名所有权)
- … 尚未检查
仍在维护
我们还没有从 GitHub 读取这个仓库
- … 尚未检查
有许可证
我们还没有从 GitHub 读取这个仓库
- ✓ 通过
端点有响应
在 59 毫秒内响应(HTTP 200)
- – 不适用
使用 OAuth 登录
无需登录
- ✓ 通过
工具描述中没有隐藏指令
已读取 9 个工具描述,未发现针对 AI 的隐藏指令
与“网店与支付”中的其他服务器比较i
- 星标数多于此分类中其他 1753 个服务器的 0%
- 发布到注册中心的时间比此分类中其他 1753 个服务器的 73% 更新
- 基础检查结果等于或优于此分类中其他 1753 个服务器的 100%
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
常见问题
Lucyd 安全吗?
它在 3 项适用的基础检查中通过了 3 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
它需要哪些密钥或代码?
你需要填写:LUCYD_PRIVATE_KEY
它在我的电脑上运行还是在云端?
两种方式都可以:安装在你的电脑上,或者连接云端版本。
它还在维护吗?
GitHub 仓库最后更新于–,最新版本(0.1.4)于11天前进入注册中心。
哪些应用可以使用它?
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。它通过 URL 连接,所以接受远程 MCP 服务器的应用也可以使用,例如开启开发者模式的 ChatGPT。
有什么可以替代它?
同一分类中有:Spree Commerce: open-source B2B and marketplace ecommerce, Stripe MCP, MCP Cn Commerce
替代选择
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Stripe MCP
MCP server integrating with Stripe - tools for customers, products, payments, and more.
MCP Cn Commerce
8 read-only MCP platform entries; support is operation-specific; merchant live acceptance pending
作者的 README
打开 README
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
Lucyd MCP server
Connect an AI agent (Claude, Cursor or any MCP client) to Lucyd, a prediction markets exchange. Ask in plain language to browse markets, read the order book, trade, close positions and collect winnings.
Lucyd currently runs on the Ethereum Sepolia testnet with test USDC.
What it can do
| Tool | What it does |
|---|---|
list_markets | Markets with filters by state and period |
get_market | One market: rules, strike, end date, outcome token ids |
get_order_book | Bids and asks of an outcome, best bid, best ask, mid |
list_trades | Recent trades, by market or trader |
get_positions | Tokens held, average price, value and profit |
get_trader_stats | Profit, volume, win rate of a wallet |
get_pnl_history | Profit over time |
top_traders | Leaderboard |
get_status | Whether the service, settlement and live trades are healthy |
get_wallet | Your address, ETH and USDC balances, approvals |
get_open_orders | Your resting orders |
get_order_history | Your past and current orders with status and fills |
place_order | Limit or market order (buy or sell up or down) |
close_position | Sell everything you hold on a market right away |
cancel_orders | Cancel by id, all on a market, or all |
approve_trading | One-time approvals for the Exchange contract |
set_auto_redeem | Turn automatic payout of winnings on or off |
redeem | Collect the payout of a resolved market |
Example requests:
- "Show the open 1h markets and the order book of the current one"
- "Buy 10 up tokens in the current 15m market at 0.55 or better"
- "Close my position in the 5m market"
- "What are my positions and total profit this week?"
- "Cancel all my orders"
Without a wallet key the server works read-only: markets, books, trades and any wallet's public stats.
Hosted, read-only
For market data only, nothing to install: add https://mcp.lucyd.trade/mcp as a custom connector (remote MCP server, no authentication) in Claude, ChatGPT or any client that supports Streamable HTTP. It has the market data tools: markets, order books, trades, and positions and stats of any wallet address. Trading needs your own wallet key, so it works only with the local server below.
To run your own hosted copy, set LUCYD_HTTP_ADDR (for example 0.0.0.0:3006) and LUCYD_HTTP_HOSTS (the host names it answers to); the server then serves MCP at /mcp and refuses to start with a wallet key.
Install
The easiest way needs only Node.js 18 or newer: the client runs npx -y @lucyd/mcp, which downloads the binary for your system on first run and checks its SHA-256. Nothing else to install, see the configs below.
Without Node.js, download the binary for your system from data.testnet.lucyd.trade/mcp (open the latest version folder; SHA256SUMS there lists the checksums) and put it anywhere, for example ~/bin/lucyd-mcp (lucyd-mcp.exe on Windows). On macOS and Linux make it executable with chmod +x lucyd-mcp. Then use its path instead of npx in the configs below.
Or build from source with Rust:
cargo install --git https://github.com/lucyd-trade/mcp-server
Connect your agent
Replace the key with your trading wallet key. Restart the client afterwards.
Claude Code
claude mcp add lucyd -e LUCYD_PRIVATE_KEY=0xYOUR_KEY -- npx -y @lucyd/mcp
Claude Desktop: edit claude_desktop_config.json (macOS: ~/Library/Application Support/Claude/, Windows: %APPDATA%\Claude\).
Cursor: edit ~/.cursor/mcp.json.
Both use the same format:
{
"mcpServers": { "lucyd": { "command": "npx", "args": ["-y", "@lucyd/mcp"], "env": { "LUCYD_PRIVATE_KEY": "0xYOUR_KEY" } } } }
If the client on Windows cannot start npx, use "command": "cmd" with "args": ["/c", "npx", "-y", "@lucyd/mcp"].
Before the first trade
The wallet needs USDC to buy and a little Sepolia ETH to pay gas for one-time approvals and redemptions. Then ask the agent to check your wallet and approve trading, or call approve_trading directly. Trading itself costs no gas: the exchange settles fills on chain.
Settings
| Variable | Default | Meaning |
|---|---|---|
LUCYD_PRIVATE_KEY | none | Wallet key that signs orders and transactions. Without it trading tools are off |
LUCYD_MAX_ORDER_USD | 100 | Largest buy order in USDC |
LUCYD_READ_ONLY | false | true turns off every tool that trades or sends transactions |
LUCYD_RPC_URL | https://ethereum-sepolia-rpc.publicnode.com | Sepolia RPC node |
LUCYD_API_URL | https://api.testnet.lucyd.trade | Markets API |
LUCYD_CLOB_URL | https://clob.testnet.lucyd.trade | Order book |
Safety
- The key never leaves your machine. The server signs locally and sends only signed orders and transactions.
- Use a separate wallet for the agent and keep only what you are ready to trade in it.
- The server tells the agent to ask you before trading, but that is up to the agent. Set
LUCYD_MAX_ORDER_USDlow, orLUCYD_READ_ONLY=trueif you only want data.
How it works
The server runs locally and talks to the agent over stdio. Market data comes from the public API. Orders are signed with EIP-712 and sent to the order book over WebSocket (protocol in the API docs). Approvals and redemptions are plain transactions on Sepolia.
| Contract | Address |
|---|---|
| Exchange | 0x6588c789c6b6df8f8b6b92e6433f813cc2d1d4d0 |
| ConditionalTokens (outcome tokens) | 0xB62eFc43C16b4E2Bf1aAAD33002368e55708538D |
| USDC (6 decimals) | 0x1c7D4B196Cb0C7B01d743Fbc6116a902379C7238 |
| AutoRedeemer | 0x42Bf669f0A3DCc95510001Ddbc43D56FdE67268F |
License
MIT