OURS MCP Server (ours-mcp)
Official Model Context Protocol (MCP) server and zero-dependency stdio bridge for OURS (ours.meme) — an AI-native perpetual DEX on BNB Smart Chain (BSC) supporting both USDC-margined (with shared MLV/GLV pools) and isolated Meme token-margined markets, featuring 0% open / losing-close / stop-loss fees (profit haircut + 2% profit fee + 1% risk reserve only on profitable closes), pure Pyth Network BTC / ETH / 24x7 Gold (XAU) bid/ask execution, and community vaults for BNB Chain meme ecosystems.
- English Portal: https://ours.meme/en | 简体中文: https://ours.meme | 日本語: https://ours.meme/ja | 한국어: https://ours.meme/ko
- 48-Tool Agent & MCP Specification: https://ours.meme/agent.md
- OpenAPI 3.1 Schema (Public BSC Testnet):
https://devapi.ours.meme/api/agent/openapi.json(Mainnet endpointhttps://api.ours.meme/api/mcpactivates at mainnet launch; override anytime viaOURS_MCP_URL) - Official X: @OursPerp
Quick Start
Option A — Remote Streamable HTTP (Zero Install)
Connect Claude Code, Cursor, Windsurf, or any Streamable-HTTP MCP client directly to the hosted endpoint (currently serving public BSC Testnet, Chain ID 97):
claude mcp add --transport http oursmeme https://devapi.ours.meme/api/mcp
Or add to .cursor/mcp.json:
{
"mcpServers": {
"oursmeme": {
"url": "https://devapi.ours.meme/api/mcp"
}
}
}
Option B — Local Stdio Bridge (Claude Desktop / Smithery / Glama)
For stdio-only MCP hosts (such as local Claude Desktop configs), run via npx or clone this zero-dependency Node.js (>=18) bridge:
{
"mcpServers": {
"oursmeme": {
"command": "npx",
"args": ["-y", "ours-mcp"],
"env": {
"OURS_API_KEY": "optional_mpk_key_from_ours_meme_agent",
"OURS_MCP_URL": "https://devapi.ours.meme/api/mcp"
}
}
}
}
Or run from a local checkout:
git clone https://github.com/muranwirebaugh-cmyk/ours-mcp.git
cd ours-mcp
npm test
Note on
OURS_API_KEY: Public market data and unsigned trade builders work without an API key, while personal account telemetry andbuild_launch_market(staging required token metadata) require anmpk_*key bound to the wallet.
What the 48 MCP Tools Cover
- Market & Pure Pyth Quotes (
get_rules,list_markets,get_price,get_trending): Query live PythBTC,ETH, and 24/7 Gold (XAU) bid/ask quotes (0platform spread markup), 50/50 net-OI funding skews, and 7-day realized LP / Coin-Days dividend APRs. - Orderflow & Risk Telemetry (
get_market_positions,get_market_series,get_leaderboard,get_token_holders): Inspect long/short open interest distribution, liquidation levels, and isolated BNB Chain meme vault depth. - Non-Custodial Transaction Builders (
build_*): Construct unsigned EVM transactions (to / data / value / chainId) for0%-entry /0%-losing-exit perpetual orders (fees apply only on realized profit), LP deposits, and market creation. No tool ever requests or touches private keys. - Scoped On-Chain Agent Guardrails (
ours.meme/agent): Authorize bounded session keys with hardUSDCmargin caps, order-count expiries, and smart-contract-enforced settlement strictly back to your main wallet.
Multilingual Documentation
- Protocol Academy (EN / 简 / 繁 / 日 / 한): https://ours.meme/en/learn
- Transparent On-Chain Fee Simulator: https://ours.meme/en/calculator