Server data from the Official MCP Registry
Private OTC block trades on Robinhood Chain: sealed bids, encrypted offers, one-tx settlement.
About
Private OTC block trades on Robinhood Chain: sealed bids, encrypted offers, one-tx settlement.
Security Report
Valid MCP server (2 strong, 2 medium validity signals). 1 code issue detected. No known CVEs in dependencies. Imported from the Official MCP Registry. 1 finding(s) downgraded by scanner intelligence.
8 files analyzed · 1 issue found
Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.
Permissions Required
This plugin requests these system permissions. Most are normal for its category.
What You'll Need
Set these up before or after installing:
Environment variable: OBSYN_PRIVATE_KEY
Environment variable: OBSYN_RPC_URL
How to Install
Install command not verified. See the repository for install instructions.
View repositoryDocumentation
View on GitHubFrom the project's GitHub README.
Obsyn
Trade size. Stay private. Private OTC block trades on Robinhood Chain: sealed bids and offers that only the poster can read, one-transaction settlement through an adminless contract, and a gasless "ghost mode" for sellers.
obsyn.trade · X @Obsyntrade · How it works · Security · Docs · Incident reports · Become a maker
Live on Robinhood Chain (chain id 4663)
| Contract | Address |
|---|---|
OtcEscrowV2 (settlement in ETH, USDG or $OBSYN; no owner / admin / pause / upgrade) | 0xa10193De64556AF16390FB6E07BBb7C2522F21C8 |
OtcEscrow v1 (deals accepted before 2026-11-18) | 0x41c1dcd0bf252C86C4b0cb78dec42830DD1d0865 |
BuyBurnVault (collects fees for $OBSYN buy-and-burn; can't withdraw them) | 0x2afdacda8B3D45F82c42e43Ae9D9651f218b4221 |
Security audit by the Obsyn team: SECURITY-REVIEW.md, no critical or high issues. An independent third-party audit is planned.
Transparency
| DEPLOYMENTS.md | Every address, its deploy transaction, block, constructor settings and compiler settings |
contracts/scripts/verify-deployment.mjs | Checks the live bytecode against this source and prints the on-chain settings. forge build && node scripts/verify-deployment.mjs |
| SECURITY-REVIEW.md | Security audit by the Obsyn team: method, Slither triage, findings by severity, what was fixed |
| SECURITY.md | Who can do what (permissions table), worst cases stated plainly, known risks, how to report a vulnerability |
| CHANGELOG.md | What changed and when, including bugs we found and fixed |
| LICENSE | MIT |
- No admin keys on the escrow. No owner, no pause, no upgrade. The fee is capped at 2.5% in code.
- The fee vault's owner and keeper are a 2-of-3 Safe multisig (
0x48d8…833E): every change needs two of three signers. It can only steer how fees already in the vault buy and burn $OBSYN (route changes wait 2 days, publicly). It can't touch user deposits. Details in SECURITY.md. - What our server stores: postings (token, size, side, pay token, optional note, expiry), sealed answers as ciphertext it can't decrypt, SHA-256 hashes of the private-link tokens, and the terms of accepted deals. No accounts, no emails. We set no cookies and run no analytics. Nothing is deleted automatically yet.
- Third parties: Google Fonts (fonts, loaded by your browser), DexScreener and Yahoo Finance (market data, fetched by our server; token logos load from DexScreener's CDN, and the homepage's live $OBSYN chart is a DexScreener embed that loads in your browser when you scroll to it), your wallet's RPC, WalletConnect/Reown if you connect that way, Railway (hosting) and Cloudflare (DNS).
| Folder | What it is |
|---|---|
| contracts/ | Foundry: OtcEscrow (adminless escrow) and BuyBurnVault (turns fees into token burns) |
| backend/ | Node 26 + Hono: RFQ API, sealed-offer store, ghost-mode relayer, on-chain price reads |
| web/ | Vite + React app: bid, sealed offers, deal panel |
Deploying: see DEPLOY.md (Railway, one service for API + web).
How Obsyn earns
Posting and answering are free. A fee is taken only when a deal settles, by the contract, in the payment token: 2.5% under $10k, 2% from $10k, 1.5% from $100k, capped at 2.5% in code. Holders of 1,000,000+ $OBSYN pay 0.5% less. Fees go to the BuyBurnVault, which can only spend them buying $OBSYN (on its Uniswap v4 pool, now that it has graduated from the Pons curve) and burning it; nobody can withdraw them. When a deal has a referrer, half the fee goes to them instead, paid by the escrow in the same settlement. Ghost-mode deposits add a small relayer fee that pays the relayer's gas.
Abuse limits
The API limits each client to 60 writes and 120 on-chain reads per minute, caps request bodies, and rejects deal terms that would let a party refer itself. Sealed answers are signed by the wallet they name; unsigned or mis-signed ones are flagged and refused by the SDK and MCP unless explicitly allowed.
Try it locally
You need Foundry and Node.js 22+. Clone with submodules (git clone --recursive, or git submodule update --init after cloning) so contracts/lib/forge-std is there. Use four terminals.
# 1. local chain
anvil
# 2. deploy demo contracts (mock USDG + mock TSLAx stock token + escrow)
cd contracts
forge script script/DeployLocal.s.sol --rpc-url http://127.0.0.1:8545 --broadcast \
--private-key 0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80
# it prints USDG_ADDRESS, STOCK_TOKEN and ESCROW_ADDRESS
# 3. backend (fill in the printed addresses)
cd backend
CHAIN_ID=31337 RPC_URL=http://127.0.0.1:8545 \
ESCROW_ADDRESS=0x... USDG_ADDRESS=0x... \
RELAYER_PRIVATE_KEY=0x5de4111afa1a4b94908f83103eb1f1706367c2e68ca870fc3fb9a804cdab365a \
npm start
# 4. web app → http://localhost:5173
cd web
npm run dev
On a fresh anvil the addresses are always:
USDG_ADDRESS=0x5FbDB2315678afecb367f032d93F642f64180aa3, STOCK_TOKEN=0xe7f1725E7734CE288F8367e1Bb143E90bb3F0512, BUYBURN_VAULT=0xDc64a140Aa3E981100a9becA4E685f962f0cF6C9, ESCROW_ADDRESS=0x5FC8d32690cc91D4c39d9d3abcBD16989F875707.
In MetaMask, add the network http://127.0.0.1:8545 (chain id 31337) and import two of anvil's public test keys (never use them on a real network):
- Buyer, anvil #0 (holds 1,000,000 USDG):
0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80 - Seller, anvil #1 (holds 10,000 TSLAx):
0x59c6995e998f97a5a0044966f0945389dc9e86dae88c7a8412f4603b6b78690d
Walkthrough: as the buyer, place a bid for the STOCK_TOKEN paid in USDG. Open the /rfq/… share link in another browser profile, switch to the seller account and send a sealed offer (try ghost mode). Back on the buyer's private link, accept the offer and deposit. Then go to the seller's link and deposit. The swap settles when the second deposit lands.
SDK and API
- OpenAPI spec:
GET /api/openapi.json. A test checks that it lists exactly the routes the server has. - JavaScript SDK:
npm run build:sdkinbackend/, then the backend serves it atGET /api/sdk/obsyn.mjs. It works in browsers and Node, and CORS is open so any site can use it.
import { Obsyn } from "https://obsyn.trade/api/sdk/obsyn.mjs";
const otc = new Obsyn({ apiUrl: "https://obsyn.trade/api", privateKey: "0x…" }); // key optional
const bid = await otc.createBid({ token: "0x…", amount: "25000", payWith: "USDG", replyMinutes: 60 });
const offers = await otc.getOffers(bid.bidId); // decrypted locally, cheapest first
await otc.acceptOffer({ bidId: bid.bidId, offerId: offers[0].offerId, fundingMinutes: 60 });
await otc.deposit({ bidId: bid.bidId }); // signs, or returns unsigned txs without a key
Sellers use listBids(), sendOffer({ bidId, totalPrice, ghost }), dealStatus({ offerId }) and deposit({ offerId }). Secrets are kept in memory by default; in Node pass store: new FileStore(path) from src/sdk/file-store.ts.
AI agents (MCP)
A local MCP server lets any MCP-capable AI agent bid, send sealed offers and settle. It runs on the agent's machine on purpose: offers are encrypted and decrypted there, so the backend still only sees ciphertext, and the wallet key never leaves that process.
Add it to your MCP client as a stdio server. It ships as one file on the repo's GitHub releases (packages/obsyn-mcp), so no checkout is needed. Most clients take a config like this:
{
"mcpServers": {
"obsyn": {
"command": "npx",
"args": ["-y", "https://github.com/ObsynDev/obsyn/releases/download/mcp-v0.4.0/obsyn-mcp-0.4.0.tgz"],
"env": { "OBSYN_PRIVATE_KEY": "0x..." }
}
}
}
There is also a one-click bundle, obsyn-mcp-0.4.0.mcpb, for MCP clients that install bundles; it is listed in the official MCP Registry as trade.obsyn/mcp (server.json). From a checkout, node backend/src/mcp/stdio.ts runs the same server. OBSYN_PRIVATE_KEY is optional. OBSYN_API defaults to https://obsyn.trade/api. Without it, otc_deposit and otc_refund return unsigned transactions for you to send. Bid and offer secrets are kept in ~/.obsyn/state.json (override with OBSYN_STATE); OBSYN_RPC_URL overrides the RPC.
| Tool | Does |
|---|---|
otc_info | Chain, escrow, fees, relayer, which wallet signs |
otc_list_bids | Open bids and sell listings (side) |
otc_create_listing | Sell privately: list a block, buyers answer with sealed bids |
otc_create_bid | Place a bid (token, amount, ETH/USDG, reply window) |
otc_get_offers | Decrypt answers on your bid or listing, with verified (signed by the wallet it names) and hasFunds |
otc_accept_offer | Fix the deal with one answer (refuses unverified answers unless allowUnverified) |
otc_send_offer | Sealed, signed answer: an offer on a bid (ghost: true available) or a bid on a listing |
otc_deal_status | Accepted? Who has deposited? Time left? |
otc_deposit | Deposit your side (signs, or returns unsigned txs) |
otc_refund | Refund after the deadline |
otc_price | Spot price from a Uniswap v3 pool or Pons curve |
otc_market | A token's DEX price, liquidity, and the price impact of a market order of your size |
otc_receipt | Receipt of a settled deal, with how it compared with a DEX market order |
otc_stats | Desk totals, burns and savings vs DEX |
otc_autopilot_preview | Dry-run autopilot rules against the live desk |
Autopilot: npx -y <the release .tgz> autopilot rules.json answers matching bids and listings by rules (price vs the DEX, caps per deal and in total, price floor or ceiling) and deposits when accepted. Dry run unless the rules say "live": true. See packages/obsyn-mcp.
Makers: anyone can make markets with the autopilot: a "side": "both" rule with a spreadPct quotes both sides of a token around the live DEX price, from your own wallet, with no sign-up. Step-by-step guide: MAKERS.md. Rules builder and listed makers: obsyn.trade/makers.
Read-only MCP on Hugging Face: huggingface.co/spaces/devobsyntrade/obsyn-otc runs six read-only tools (open blocks, market and price-impact check, slippage table, desk stats, who controls what, how to trade) as a hosted MCP server at https://devobsyntrade-obsyn-otc.hf.space/gradio_api/mcp/. No install, no keys; it can't trade. Source in packages/hf-space.
Tests
Every push and pull request runs CI: contract tests, the backend suite (including end-to-end runs on a local chain) and a production build of the site.
cd contracts && forge test # escrow + vault, incl. fuzzing
cd backend && npm test # API flow, dealId parity with Solidity, relayer end-to-end on anvil
cd web && npm run build # typecheck + production build
| Suite | Where | What it covers |
|---|---|---|
| Escrow, 24 tests incl. fuzzing | contracts/test/OtcEscrow.t.sol | Settlement in either deposit order, fee tiers and holder discount, ghost deposits through the relayer with permits, refunds after the deadline, payouts that reject ETH or return-bomb, fee-on-transfer rejection, value conservation (fuzzed) |
| Burn route, 9 tests (8 on a live fork) | contracts/test/V4BurnAdapter.t.sol | ETH → OBSYN on the v4 pool, USDG → WETH → OBSYN, full vault flow with the 2-day wait, only the vault can call it, nothing left behind |
| Fee vault, 13 tests | contracts/test/BuyBurnVault.t.sol | One-time platform-token switch, two-step ownership, burns through the Pons curve, route timelock, short-changed swaps revert |
| Live fork, 5 tests | contracts/test/LiveFork.t.sol | Replays deals against the deployed contracts (LIVE_RPC=… forge test --match-contract LiveFork) |
| Backend, 53 tests | backend/test/ | Bid and listing flows, partial fills, verified receipts, self-referral refusal, rate limits and body caps, deal-id parity with Solidity, hostile (forged) answers, ghost-mode relayer and agent-to-agent MCP trades end to end on anvil |
Contributing: see CONTRIBUTING.md.
Going to Robinhood Chain mainnet
The OTC can go live before the platform token exists.
script/Deploy.s.soldeploysBuyBurnVaultandOtcEscrowpointing at it (already done, see the addresses above). Fees in ETH and USDG pile up in the vault; nobody can withdraw them.- Fill
backend/.env(see.env.example) and fund the relayer key with a little ETH. - Later, when the token launches on Pons: run
script/SetPlatformToken.s.solwith the token address, its Pons curve and the holder threshold. It works once and can't be changed. From then on holders get the 0.5% discount and the keeper can burn the accumulated fees.
The escrow itself is never redeployed or changed.
contracts/test/LiveFork.t.sol replays deals against the live deployment on a fork: LIVE_RPC=https://4663.rpc.thirdweb.com forge test --match-contract LiveFork.
Reviews
No reviews yet
Be the first to review this server!
More Developer Tools MCP Servers
Rea
Freeby Morluto · Developer Tools
Reverse engineer anything from your terminal or agent with one CLI and MCP server.
Paperclip
Freeby Paperclipai · Developer Tools
Trending hip-hop artist momentum scores across four cultural dimensions.
Scrapling
Freeby D4Vinci · Developer Tools
Web scraping with stealth HTTP, real browsers, and Cloudflare bypass. CSS selectors supported.
Server Time
Freeby Modelcontextprotocol · Developer Tools
Current time lookup and conversion between IANA timezones
Toleno
Freeby Toleno · Developer Tools
Toleno Network MCP Server — Manage your Toleno mining account with Claude AI using natural language.
MCP Marketplace
Freeby mcp-marketplace · Developer Tools
Search and install MCP servers from inside your AI client.
