@0xmonaco/mcp-server 0.0.0-develop-20260210160743 → 0.0.0-develop-20260220160207

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md ADDED
@@ -0,0 +1,154 @@
1
+ # @0xmonaco/mcp-server
2
+
3
+ MCP server for the Monaco SDK — gives AI assistants full access to the Monaco protocol on Sei.
4
+
5
+ ## Configuration
6
+
7
+ | Variable | Required | Description |
8
+ |----------------------|----------|--------------------------------------------|
9
+ | `MONACO_PRIVATE_KEY` | Yes | Wallet private key (`0x...`) |
10
+ | `MONACO_CLIENT_ID` | Yes | Monaco application client ID |
11
+ | `MONACO_NETWORK` | No | Network to connect to (default: `mainnet`) |
12
+ | `MONACO_RPC_URL` | Yes | Sei RPC URL for blockchain interactions |
13
+
14
+ ### Networks
15
+
16
+ Set `MONACO_NETWORK` to one of the following:
17
+
18
+ | Network | API URL |
19
+ |---------------------|---------------------------------|
20
+ | `mainnet` (default) | `https://api.monaco.xyz` |
21
+ | `development` | `https://develop.apimonaco.xyz` |
22
+ | `staging` | `https://staging.apimonaco.xyz` |
23
+ | `local` | `http://localhost:8080` |
24
+
25
+ ## Installation
26
+
27
+ ### Cursor
28
+
29
+ Add to your `~/.cursor/mcp.json`:
30
+
31
+ ```json
32
+ {
33
+ "mcpServers": {
34
+ "monaco": {
35
+ "command": "npx",
36
+ "args": ["-y", "@0xmonaco/mcp-server"],
37
+ "env": {
38
+ "MONACO_PRIVATE_KEY": "0x...",
39
+ "MONACO_CLIENT_ID": "your-client-id",
40
+ "MONACO_RPC_URL": "https://evm-rpc.sei-apis.com"
41
+ }
42
+ }
43
+ }
44
+ }
45
+ ```
46
+
47
+ ### Windsurf
48
+
49
+ Add to your `~/.codeium/windsurf/mcp_config.json`:
50
+
51
+ ```json
52
+ {
53
+ "mcpServers": {
54
+ "monaco": {
55
+ "command": "npx",
56
+ "args": ["-y", "@0xmonaco/mcp-server"],
57
+ "env": {
58
+ "MONACO_PRIVATE_KEY": "0x...",
59
+ "MONACO_CLIENT_ID": "your-client-id",
60
+ "MONACO_RPC_URL": "https://evm-rpc.sei-apis.com"
61
+ }
62
+ }
63
+ }
64
+ }
65
+ ```
66
+
67
+ ### Claude Desktop
68
+
69
+ Add to your Claude Desktop config (`~/Library/Application Support/Claude/claude_desktop_config.json` on macOS):
70
+
71
+ ```json
72
+ {
73
+ "mcpServers": {
74
+ "monaco": {
75
+ "command": "npx",
76
+ "args": ["-y", "@0xmonaco/mcp-server"],
77
+ "env": {
78
+ "MONACO_PRIVATE_KEY": "0x...",
79
+ "MONACO_CLIENT_ID": "your-client-id",
80
+ "MONACO_RPC_URL": "https://evm-rpc.sei-apis.com"
81
+ }
82
+ }
83
+ }
84
+ }
85
+ ```
86
+
87
+ To connect to a non-mainnet network, add `MONACO_NETWORK` to the `env` block with options: `mainnet`, `development`, `staging`, `local`. Use `https://evm-rpc-testnet.sei-apis.com` as the RPC URL for testnet networks.
88
+
89
+ ## Tools
90
+
91
+ ### Search (public)
92
+
93
+ | Tool | Description |
94
+ |---------------|---------------------------------|
95
+ | `search_docs` | Search the Monaco documentation |
96
+
97
+ ### Market (public)
98
+
99
+ | Tool | Description |
100
+ |------------------------------|--------------------------------------------|
101
+ | `get_trading_pairs` | List trading pairs with optional filters |
102
+ | `get_trading_pair_by_symbol` | Look up a pair by symbol (e.g. `BTC/USDC`) |
103
+ | `get_candlesticks` | OHLCV candlestick data |
104
+ | `get_market_metadata` | Tick size, min order size, trading rules |
105
+
106
+ ### Orderbook (public)
107
+
108
+ | Tool | Description |
109
+ |-----------------|-------------------------------------------|
110
+ | `get_orderbook` | Current orderbook snapshot with bids/asks |
111
+
112
+ ### Trades (public)
113
+
114
+ | Tool | Description |
115
+ |--------------|------------------------------|
116
+ | `get_trades` | Historical trades for a pair |
117
+
118
+ ### Trading (authenticated)
119
+
120
+ | Tool | Description |
121
+ |---------------------------|--------------------------|
122
+ | `place_limit_order` | Place a limit order |
123
+ | `place_market_order` | Place a market order |
124
+ | `cancel_order` | Cancel an order by ID |
125
+ | `batch_cancel_orders` | Cancel multiple orders |
126
+ | `batch_cancel_all_orders` | Cancel all open orders |
127
+ | `replace_order` | Modify an existing order |
128
+ | `get_orders` | List orders with filters |
129
+ | `get_order` | Get order details by ID |
130
+
131
+ ### Profile (authenticated)
132
+
133
+ | Tool | Description |
134
+ |------------------------|-----------------------------------------|
135
+ | `get_profile` | User profile, balances, recent activity |
136
+ | `get_balances` | Token balances with pagination |
137
+ | `get_balance_by_asset` | Balance for a specific asset |
138
+ | `get_movements` | Transaction history |
139
+
140
+ ### Fees (authenticated)
141
+
142
+ | Tool | Description |
143
+ |-----------------|---------------------------------------|
144
+ | `simulate_fees` | Simulate fees before placing an order |
145
+
146
+ ### Vault (authenticated + on-chain)
147
+
148
+ | Tool | Description |
149
+ |------------------------|--------------------------------|
150
+ | `vault_approve` | Approve vault to spend tokens |
151
+ | `vault_deposit` | Deposit tokens into the vault |
152
+ | `vault_withdraw` | Withdraw tokens from the vault |
153
+ | `vault_get_allowance` | Check current token allowance |
154
+ | `vault_needs_approval` | Check if approval is needed |