DUAL MCP Server
Enables AI agents to interact directly with the DUAL Web3 Operating System for minting tokens, managing templates, and executing blockchain actions. It provides over 60 tools for handling wallets, organizations, and ZK-rollup infrastructure natively via the Model Context Protocol.
README
DUAL MCP Server
AI-native integration with the DUAL tokenization platform via the Model Context Protocol.
This MCP server enables AI agents to interact directly with the DUAL Web3 Operating System — minting tokens, managing templates, executing actions, deploying webhooks, and querying blockchain infrastructure. Not through screen scraping or API wrappers, but through native integration that treats AI agents as first-class users of the system.
Features
- 60+ tools across 14 API modules
- Full CRUD for wallets, organizations, templates, objects, faces, webhooks, notifications, and API keys
- Event Bus — execute actions and batch operations atomically
- Sequencer & ZK-Rollup — query batches and checkpoints
- Public API — read-only access without authentication
- Dual transport — stdio for local use, HTTP for remote deployment
Quick Start
Install
npm install
npm run build
Configure
Set your authentication via environment variables:
# Option 1: API Key (recommended for server-to-server)
export DUAL_API_KEY=your-api-key
# Option 2: JWT Token
export DUAL_ACCESS_TOKEN=your-jwt-token
# Option 3: Use the dual_login tool interactively
Run
# stdio transport (for Claude, Cursor, etc.)
node dist/index.js
# HTTP transport (for remote/multi-client)
TRANSPORT=http PORT=3100 node dist/index.js
Claude Desktop Configuration
Add to your claude_desktop_config.json:
{
"mcpServers": {
"dual": {
"command": "node",
"args": ["/path/to/dual-mcp-server/dist/index.js"],
"env": {
"DUAL_API_KEY": "your-api-key"
}
}
}
}
API Modules & Tools
| Module | Tools | Description |
|---|---|---|
| Wallets | 10 | Authentication, registration, profile management |
| Organizations | 10 | Multi-tenant workspaces, members, roles |
| Templates | 7 | Token template CRUD, variations |
| Objects | 8 | Tokenized asset instances, search, hierarchy |
| Actions (Event Bus) | 7 | Execute actions, batch operations, action types |
| Faces | 6 | Visual representations (image, 3D, web) |
| Storage | 4 | File upload, asset management |
| Webhooks | 6 | Real-time event subscriptions |
| Notifications | 5 | Message sending, templates |
| Sequencer | 4 | Batch and ZK-rollup checkpoint queries |
| API Keys | 3 | Programmatic access management |
| Payments | 2 | Payment config, deposit history |
| Support | 3 | Feature access requests, support messages |
| Public API | 5 | Read-only public endpoints (no auth) |
Example Usage
Natural Language → Token Deployment
"Create a redeemable reward token for my brand with 1 million supply, set up a rule that expires after 12 months, and mint it on Base."
The AI agent uses:
dual_create_template— define the reward token structuredual_create_action_type— register "Redeem" and "Expire" actionsdual_execute_action— mint the initial supplydual_create_webhook— set up expiry monitoring
Querying Infrastructure
"Show me the latest ZK checkpoint and how many objects are on the platform."
dual_list_checkpoints— latest rollup statedual_public_get_stats— platform-wide statistics
Environment Variables
| Variable | Description | Required |
|---|---|---|
DUAL_API_KEY |
API key for authentication | One of these |
DUAL_ACCESS_TOKEN |
JWT access token | One of these |
DUAL_REFRESH_TOKEN |
JWT refresh token | Optional |
DUAL_API_URL |
API base URL (default: https://api.blockv-labs.io/v3) |
No |
TRANSPORT |
stdio (default) or http |
No |
PORT |
HTTP port (default: 3100) | No |
Architecture
dual-mcp-server/
├── src/
│ ├── index.ts # Server initialization & transport
│ ├── constants.ts # API URL, limits
│ ├── schemas/
│ │ └── common.ts # Shared Zod schemas (pagination, IDs)
│ ├── services/
│ │ ├── api-client.ts # HTTP client, auth, error handling
│ │ └── formatters.ts # Response formatting, truncation
│ └── tools/
│ ├── wallets.ts # 10 wallet tools
│ ├── organizations.ts # 10 organization tools
│ ├── templates.ts # 7 template tools
│ ├── objects.ts # 8 object tools
│ ├── actions.ts # 7 event bus tools
│ ├── faces.ts # 6 face tools
│ ├── storage.ts # 4 storage tools
│ ├── webhooks.ts # 6 webhook tools
│ ├── notifications.ts # 5 notification tools
│ ├── sequencer.ts # 4 sequencer tools
│ ├── api-keys.ts # 3 API key tools
│ ├── payments.ts # 2 payment tools
│ ├── support.ts # 3 support tools
│ └── public-api.ts # 5 public API tools
└── dist/ # Compiled JavaScript
License
MIT
推荐服务器
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 模型以安全和受控的方式获取实时的网络信息。