Denaria Action Handoff MCP
Prepares unsigned App/PWA handoffs for creating positions in Denaria markets, returning QR codes for user review and signing in the Denaria app, without signing or executing transactions.
README
Denaria Action Handoff MCP
Denaria Action Handoff is the official Denaria MCP service for preparing unsigned App/PWA handoffs from agent requests.
It preserves this authority boundary:
Denaria Agent Service prepares.
Denaria App/PWA verifies.
The user signs.
External agents do not execute.
The service does not sign, submit, broadcast, execute transactions, custody funds, or run autonomous trading strategies.
Official Endpoint
MCP transport: Streamable HTTP
https://mcp.denaria.finance/mcp
Runtime public base URL for deployments:
DENARIA_PUBLIC_BASE_URL=https://mcp.denaria.finance
Use the origin without /mcp for DENARIA_PUBLIC_BASE_URL; the service uses it to generate QR page and image URLs such as:
https://mcp.denaria.finance/handoff/qr
https://mcp.denaria.finance/handoff/qr.png
Tools
denaria_get_capabilities
Read-only discovery tool. It returns supported markets, aliases, defaults, response contract, and the authority boundary.
denaria_prepare_create_position
Prepare-only tool for Denaria create-position handoffs.
Preferred arguments:
{
"marketId": "BTC-USD",
"side": "long",
"collateralAsset": "USDC",
"collateralAmount": "20",
"leverage": "4"
}
Supported aliases include BTC -> BTC-USD. Agents should prefer marketId: "BTC-USD" when calling the tool.
Do not send maxSlippageBps in normal create-position requests. Denaria App/PWA applies the user's slippage settings during scan/review.
Response Contract
Successful prepare responses expose QR-first display fields under result.clientDisplay:
result.clientDisplay.qrMarkdown
result.clientDisplay.qrPageUrl
result.clientDisplay.qrImageUrl
result.clientDisplay.nextStep
Agents should render the QR by default, include the QR page URL and direct image URL, and keep the final response compact.
The QR payload carries frontend-aligned intent parameters directly, so Denaria App/PWA can read the scanned action without an MCP fetch:
denaria://agent/handoff?assetTicker=BTC&side=long&collateralUSDC=20&leverage=4
The QR/handoff is not an approval. Denaria App/PWA verifies the handoff, refreshes app-side state/settings, prepares the signing flow, and the user signs in the app.
Agent Skill
The standalone behavior file is available in this repository at:
skills/denaria-action-handoff.md
The public landing copy is expected at:
https://denaria.finance/skills/denaria-action-handoff.md
The skill defines intent parsing, tool selection, response format, and safe refusals.
Local Development
Install dependencies:
pnpm install
Run local checks:
pnpm build
pnpm test
Run the HTTP MCP server locally:
DENARIA_MCP_PORT=8787 pnpm mcp:http
For production-like deployments, set DENARIA_PUBLIC_BASE_URL to the public origin that serves /handoff/qr and /handoff/qr.png.
Deployment
Dockerfile builds the service image. The container runs:
node dist/mcp/http-server.js
The service listens on port 8787 by default and exposes:
/mcp
/handoff/qr
/handoff/qr.png
Canonical Context
This README and the current MCP implementation are authoritative for the Action Handoff MCP surface.
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。