binance-futures-mcp 1.0.6__py3-none-any.whl → 1.0.7__py3-none-any.whl
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.
- {binance_futures_mcp-1.0.6.dist-info → binance_futures_mcp-1.0.7.dist-info}/METADATA +18 -18
- binance_futures_mcp-1.0.7.dist-info/RECORD +9 -0
- binance_mcp/server.py +2 -2
- binance_futures_mcp-1.0.6.dist-info/RECORD +0 -9
- {binance_futures_mcp-1.0.6.dist-info → binance_futures_mcp-1.0.7.dist-info}/LICENSE +0 -0
- {binance_futures_mcp-1.0.6.dist-info → binance_futures_mcp-1.0.7.dist-info}/WHEEL +0 -0
- {binance_futures_mcp-1.0.6.dist-info → binance_futures_mcp-1.0.7.dist-info}/entry_points.txt +0 -0
- {binance_futures_mcp-1.0.6.dist-info → binance_futures_mcp-1.0.7.dist-info}/top_level.txt +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: binance-futures-mcp
|
3
|
-
Version: 1.0.
|
3
|
+
Version: 1.0.7
|
4
4
|
Summary: A Model Context Protocol server for Binance Futures API
|
5
5
|
Home-page: https://github.com/alexcandrabersiva/bin-mcp
|
6
6
|
Author: Binance MCP Server
|
@@ -32,12 +32,12 @@ A Model Context Protocol (MCP) server that provides comprehensive access to Bina
|
|
32
32
|
|
33
33
|
1. **Install the package:**
|
34
34
|
```bash
|
35
|
-
pip install
|
35
|
+
pip install binance_futures_mcp
|
36
36
|
```
|
37
37
|
|
38
38
|
2. **Run the server:**
|
39
39
|
```bash
|
40
|
-
uvx
|
40
|
+
uvx binance_futures_mcp --binance-api-key "your_key" --binance-secret-key "your_secret"
|
41
41
|
```
|
42
42
|
|
43
43
|
3. **Or configure in VS Code** by adding to your `settings.json`:
|
@@ -47,7 +47,7 @@ A Model Context Protocol (MCP) server that provides comprehensive access to Bina
|
|
47
47
|
"servers": {
|
48
48
|
"binance": {
|
49
49
|
"command": "uvx",
|
50
|
-
"args": ["--from", "
|
50
|
+
"args": ["--from", "binance_futures_mcp", "binance-mcp-server.exe", "--binance-api-key", "your_key", "--binance-secret-key", "your_secret"]
|
51
51
|
}
|
52
52
|
}
|
53
53
|
}
|
@@ -88,7 +88,7 @@ A Model Context Protocol (MCP) server that provides comprehensive access to Bina
|
|
88
88
|
## Installation
|
89
89
|
|
90
90
|
```bash
|
91
|
-
pip install
|
91
|
+
pip install binance_futures_mcp
|
92
92
|
```
|
93
93
|
|
94
94
|
### Development Installation
|
@@ -115,7 +115,7 @@ Add to your VS Code `settings.json`:
|
|
115
115
|
"servers": {
|
116
116
|
"binance": {
|
117
117
|
"command": "uvx",
|
118
|
-
"args": ["--from", "
|
118
|
+
"args": ["--from", "binance_futures_mcp", "binance-mcp-server.exe", "--binance-api-key", "your_api_key", "--binance-secret-key", "your_secret_key"]
|
119
119
|
}
|
120
120
|
}
|
121
121
|
}
|
@@ -131,7 +131,7 @@ Add to your Cursor configuration file (`.cursor/mcp.json`):
|
|
131
131
|
"servers": {
|
132
132
|
"binance": {
|
133
133
|
"command": "uvx",
|
134
|
-
"args": ["--from", "
|
134
|
+
"args": ["--from", "binance_futures_mcp", "binance-mcp-server.exe", "--binance-api-key", "your_api_key", "--binance-secret-key", "your_secret_key"]
|
135
135
|
}
|
136
136
|
}
|
137
137
|
}
|
@@ -146,7 +146,7 @@ Add to your Windsurf configuration (`.windsurf/mcp.json`):
|
|
146
146
|
"mcpServers": {
|
147
147
|
"binance": {
|
148
148
|
"command": "uvx",
|
149
|
-
"args": ["--from", "
|
149
|
+
"args": ["--from", "binance_futures_mcp", "binance-mcp-server.exe", "--binance-api-key", "your_api_key", "--binance-secret-key", "your_secret_key"]
|
150
150
|
}
|
151
151
|
}
|
152
152
|
}
|
@@ -164,7 +164,7 @@ Add to your Claude Desktop configuration file:
|
|
164
164
|
"mcpServers": {
|
165
165
|
"binance": {
|
166
166
|
"command": "uvx",
|
167
|
-
"args": ["--from", "
|
167
|
+
"args": ["--from", "binance_futures_mcp", "binance-mcp-server.exe", "--binance-api-key", "your_api_key", "--binance-secret-key", "your_secret_key"]
|
168
168
|
}
|
169
169
|
}
|
170
170
|
}
|
@@ -177,9 +177,9 @@ Add to your Claude Desktop configuration file:
|
|
177
177
|
2. **Set API credentials**: Replace `your_api_key` and `your_secret_key` with your actual Binance API credentials.
|
178
178
|
|
179
179
|
2. **Alternative commands**: You can also use:
|
180
|
-
- `uvx
|
181
|
-
- `uvx --from
|
182
|
-
- `pip install
|
180
|
+
- `uvx binance_futures_mcp` (direct package execution)
|
181
|
+
- `uvx --from binance_futures_mcp binance-mcp-server.exe` (explicit executable)
|
182
|
+
- `pip install binance_futures_mcp && python -m binance_mcp`
|
183
183
|
|
184
184
|
4. **Python environment**: Using `uvx` automatically handles the Python environment.
|
185
185
|
|
@@ -213,15 +213,15 @@ export BINANCE_SECRET_KEY="your_secret_key_here"
|
|
213
213
|
python -m binance_mcp
|
214
214
|
|
215
215
|
# Or using uvx (no installation needed)
|
216
|
-
uvx
|
216
|
+
uvx binance_futures_mcp
|
217
217
|
|
218
218
|
# With API credentials as arguments
|
219
|
-
uvx
|
219
|
+
uvx binance_futures_mcp --binance-api-key "your_key" --binance-secret-key "your_secret"
|
220
220
|
```
|
221
221
|
|
222
222
|
### Available Tools
|
223
223
|
|
224
|
-
The server provides
|
224
|
+
The server provides 35 tools organized into categories:
|
225
225
|
|
226
226
|
#### Account Information (5 tools)
|
227
227
|
- `get_account_info` - Get futures account information
|
@@ -254,7 +254,7 @@ The server provides 37 tools organized into categories:
|
|
254
254
|
- `change_position_mode` - Change position mode
|
255
255
|
- `modify_position_margin` - Modify position margin
|
256
256
|
|
257
|
-
#### Market Data (
|
257
|
+
#### Market Data (10 tools)
|
258
258
|
- `get_exchange_info` - Get trading rules and symbol info
|
259
259
|
- `get_book_ticker` - Get best bid/ask prices
|
260
260
|
- `get_price_ticker` - Get latest prices
|
@@ -264,11 +264,11 @@ The server provides 37 tools organized into categories:
|
|
264
264
|
- `get_klines` - Get candlestick data
|
265
265
|
- `get_mark_price` - Get mark price and funding rate
|
266
266
|
- `get_aggregate_trades` - Get aggregate trade data
|
267
|
+
- `get_funding_rate_history` - Get funding rate history
|
267
268
|
|
268
|
-
#### Trading History (
|
269
|
+
#### Trading History (2 tools)
|
269
270
|
- `get_account_trades` - Get account trade history
|
270
271
|
- `get_income_history` - Get income history
|
271
|
-
- `get_funding_rate_history` - Get funding rate history
|
272
272
|
|
273
273
|
## Example Usage
|
274
274
|
|
@@ -0,0 +1,9 @@
|
|
1
|
+
binance_mcp/__init__.py,sha256=ExUxc1kp3GoSwmEtC7eGgFMZlvSQ4IdW1T5xhw-NT98,106
|
2
|
+
binance_mcp/__main__.py,sha256=_9DBrtv0PAvjLjCqKk_cMfGtkqSUOcmU6HeQKFjuFMQ,214
|
3
|
+
binance_mcp/server.py,sha256=mBuB1HX6xf5GSviYV5oIPqKz2werdBiibyxTUA-qnpY,41669
|
4
|
+
binance_futures_mcp-1.0.7.dist-info/LICENSE,sha256=zqfwopvOi7kOx5YVOnehgmRFR-IU3x1n9JEShr3QOYg,1075
|
5
|
+
binance_futures_mcp-1.0.7.dist-info/METADATA,sha256=GgB3I-rPgq5YKmV9Usi-RYvAtpQ9rk7LowADz1-Q5j8,11418
|
6
|
+
binance_futures_mcp-1.0.7.dist-info/WHEEL,sha256=pkctZYzUS4AYVn6dJ-7367OJZivF2e8RA9b_ZBjif18,92
|
7
|
+
binance_futures_mcp-1.0.7.dist-info/entry_points.txt,sha256=-1iVs9AF7JQBS-xMichP9hQhbCY7YfLFRJVaNKwuN34,69
|
8
|
+
binance_futures_mcp-1.0.7.dist-info/top_level.txt,sha256=RqGhe1caZUvBF_ezvTiLZD8kVS25eiWVkfJfmoND9m8,12
|
9
|
+
binance_futures_mcp-1.0.7.dist-info/RECORD,,
|
binance_mcp/server.py
CHANGED
@@ -48,7 +48,7 @@ class BinanceClient:
|
|
48
48
|
timeout=timeout,
|
49
49
|
connector=connector,
|
50
50
|
headers={
|
51
|
-
'User-Agent': 'binance-mcp-server/1.0.
|
51
|
+
'User-Agent': 'binance-mcp-server/1.0.7',
|
52
52
|
'Content-Type': 'application/x-www-form-urlencoded'
|
53
53
|
}
|
54
54
|
)
|
@@ -816,7 +816,7 @@ async def main():
|
|
816
816
|
write_stream,
|
817
817
|
InitializationOptions(
|
818
818
|
server_name="binance-futures-mcp-server",
|
819
|
-
server_version="1.0.
|
819
|
+
server_version="1.0.7",
|
820
820
|
capabilities={
|
821
821
|
"tools": {}
|
822
822
|
}
|
@@ -1,9 +0,0 @@
|
|
1
|
-
binance_mcp/__init__.py,sha256=ExUxc1kp3GoSwmEtC7eGgFMZlvSQ4IdW1T5xhw-NT98,106
|
2
|
-
binance_mcp/__main__.py,sha256=_9DBrtv0PAvjLjCqKk_cMfGtkqSUOcmU6HeQKFjuFMQ,214
|
3
|
-
binance_mcp/server.py,sha256=phF-od_mUEusWHdWJhaXimxKF8SlS6NltlQNglRsy7U,41669
|
4
|
-
binance_futures_mcp-1.0.6.dist-info/LICENSE,sha256=zqfwopvOi7kOx5YVOnehgmRFR-IU3x1n9JEShr3QOYg,1075
|
5
|
-
binance_futures_mcp-1.0.6.dist-info/METADATA,sha256=yQiqDxpSDb3ln5Tlbj4Zu-fV6w1dHxK151HZIvdlOyU,11417
|
6
|
-
binance_futures_mcp-1.0.6.dist-info/WHEEL,sha256=pkctZYzUS4AYVn6dJ-7367OJZivF2e8RA9b_ZBjif18,92
|
7
|
-
binance_futures_mcp-1.0.6.dist-info/entry_points.txt,sha256=-1iVs9AF7JQBS-xMichP9hQhbCY7YfLFRJVaNKwuN34,69
|
8
|
-
binance_futures_mcp-1.0.6.dist-info/top_level.txt,sha256=RqGhe1caZUvBF_ezvTiLZD8kVS25eiWVkfJfmoND9m8,12
|
9
|
-
binance_futures_mcp-1.0.6.dist-info/RECORD,,
|
File without changes
|
File without changes
|
{binance_futures_mcp-1.0.6.dist-info → binance_futures_mcp-1.0.7.dist-info}/entry_points.txt
RENAMED
File without changes
|
File without changes
|