binance-futures-mcp 1.0.0__py3-none-any.whl → 1.0.1__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.
@@ -1,13 +1,12 @@
1
- Metadata-Version: 2.4
1
+ Metadata-Version: 2.1
2
2
  Name: binance-futures-mcp
3
- Version: 1.0.0
3
+ Version: 1.0.1
4
4
  Summary: A Model Context Protocol server for Binance Futures API
5
+ Home-page: https://github.com/alexcandrabersiva/bin-mcp
5
6
  Author: Binance MCP Server
6
- License: MIT
7
- Project-URL: Homepage, https://github.com/bin-mcp/binance-mcp-server
8
- Project-URL: Repository, https://github.com/bin-mcp/binance-mcp-server.git
9
- Project-URL: Issues, https://github.com/bin-mcp/binance-mcp-server/issues
10
- Keywords: mcp,binance,trading,futures,api,model-context-protocol
7
+ Project-URL: Bug Tracker, https://github.com/alexcandrabersiva/bin-mcp/issues
8
+ Project-URL: Repository, https://github.com/alexcandrabersiva/bin-mcp.git
9
+ Keywords: mcp binance trading futures api model-context-protocol
11
10
  Classifier: Development Status :: 4 - Beta
12
11
  Classifier: Intended Audience :: Developers
13
12
  Classifier: Programming Language :: Python :: 3
@@ -21,21 +20,38 @@ Classifier: Topic :: Office/Business :: Financial :: Investment
21
20
  Requires-Python: >=3.8
22
21
  Description-Content-Type: text/markdown
23
22
  License-File: LICENSE
24
- Requires-Dist: mcp>=1.0.0
25
- Requires-Dist: aiohttp>=3.8.0
26
- Requires-Dist: pydantic>=2.0.0
27
- Provides-Extra: dev
28
- Requires-Dist: pytest>=7.0.0; extra == "dev"
29
- Requires-Dist: pytest-asyncio>=0.21.0; extra == "dev"
30
- Requires-Dist: black>=23.0.0; extra == "dev"
31
- Requires-Dist: mypy>=1.0.0; extra == "dev"
32
- Requires-Dist: ruff>=0.1.0; extra == "dev"
33
- Dynamic: license-file
23
+ Requires-Dist: mcp (>=1.0.0)
24
+ Requires-Dist: aiohttp (>=3.8.0)
25
+ Requires-Dist: pydantic (>=2.0.0)
34
26
 
35
27
  # Binance MCP Server
36
28
 
37
29
  A Model Context Protocol (MCP) server that provides comprehensive access to Binance Futures API endpoints. This server implements all major trading, account management, and market data functionality as documented in the Binance Futures API.
38
30
 
31
+ ## Quick Start
32
+
33
+ 1. **Install the package:**
34
+ ```bash
35
+ pip install binance-futures-mcp
36
+ ```
37
+
38
+ 2. **Run the server:**
39
+ ```bash
40
+ uvx binance-futures-mcp --binance-api-key "your_key" --binance-secret-key "your_secret"
41
+ ```
42
+
43
+ 3. **Or configure in VS Code** by adding to your `settings.json`:
44
+ ```json
45
+ {
46
+ "mcp.servers": {
47
+ "binance": {
48
+ "command": "uvx",
49
+ "args": ["binance-futures-mcp", "--binance-api-key", "your_key", "--binance-secret-key", "your_secret"]
50
+ }
51
+ }
52
+ }
53
+ ```
54
+
39
55
  ## Features
40
56
 
41
57
  ### Account Information Tools
@@ -69,26 +85,17 @@ A Model Context Protocol (MCP) server that provides comprehensive access to Bina
69
85
 
70
86
  ## Installation
71
87
 
72
- ### Prerequisites
73
- - Python 3.8 or higher
74
- - Binance Futures API credentials
75
-
76
- ### Method 1: Install via uvx (Recommended)
77
-
78
88
  ```bash
79
- uvx --from git+https://github.com/alexcandrabersiva/bin-mcp binance-mcp-server
89
+ pip install binance-futures-mcp
80
90
  ```
81
91
 
82
- ### Method 2: Local Installation
83
-
84
- ```bash
85
- cd binance-mcp-server
86
- pip install -e .
87
- ```
92
+ ### Development Installation
88
93
 
89
- Or install development dependencies:
94
+ For development, you can install from source:
90
95
 
91
96
  ```bash
97
+ git clone https://github.com/bin-mcp/binance-mcp-server.git
98
+ cd binance-mcp-server
92
99
  pip install -e ".[dev]"
93
100
  ```
94
101
 
@@ -105,11 +112,8 @@ Add to your VS Code `settings.json`:
105
112
  "mcp.servers": {
106
113
  "binance": {
107
114
  "command": "uvx",
108
- "args": ["binance-mcp-server"],
109
- "env": {
110
- "BINANCE_API_KEY": "your_api_key_here",
111
- "BINANCE_SECRET_KEY": "your_secret_key_here"
112
- }
115
+ "args": ["binance-futures-mcp", "--binance-api-key", "your_api_key", "--binance-secret-key", "your_secret_key"],
116
+ "env": {}
113
117
  }
114
118
  }
115
119
  }
@@ -123,12 +127,9 @@ Add to your Cursor configuration file (`.cursor/mcp.json`):
123
127
  {
124
128
  "servers": {
125
129
  "binance": {
126
- "command": "uvx",
127
- "args": ["binance-mcp-server"],
128
- "env": {
129
- "BINANCE_API_KEY": "your_api_key_here",
130
- "BINANCE_SECRET_KEY": "your_secret_key_here"
131
- }
130
+ "command": "uvx",
131
+ "args": ["binance-futures-mcp", "--binance-api-key", "your_api_key", "--binance-secret-key", "your_secret_key"],
132
+ "env": {}
132
133
  }
133
134
  }
134
135
  }
@@ -143,11 +144,8 @@ Add to your Windsurf configuration (`.windsurf/mcp.json`):
143
144
  "mcpServers": {
144
145
  "binance": {
145
146
  "command": "uvx",
146
- "args": ["binance-mcp-server"],
147
- "env": {
148
- "BINANCE_API_KEY": "your_api_key_here",
149
- "BINANCE_SECRET_KEY": "your_secret_key_here"
150
- }
147
+ "args": ["binance-futures-mcp", "--binance-api-key", "your_api_key", "--binance-secret-key", "your_secret_key"],
148
+ "env": {}
151
149
  }
152
150
  }
153
151
  }
@@ -165,11 +163,8 @@ Add to your Claude Desktop configuration file:
165
163
  "mcpServers": {
166
164
  "binance": {
167
165
  "command": "uvx",
168
- "args": ["binance-mcp-server"],
169
- "env": {
170
- "BINANCE_API_KEY": "your_api_key_here",
171
- "BINANCE_SECRET_KEY": "your_secret_key_here"
172
- }
166
+ "args": ["binance-futures-mcp", "--binance-api-key", "your_api_key", "--binance-secret-key", "your_secret_key"],
167
+ "env": {}
173
168
  }
174
169
  }
175
170
  }
@@ -179,42 +174,25 @@ Add to your Claude Desktop configuration file:
179
174
 
180
175
  1. **No path needed**: With PyPI installation, you don't need to specify paths or working directories.
181
176
 
182
- 2. **Set API credentials**: Replace `your_api_key_here` and `your_secret_key_here` with your actual Binance API credentials.
177
+ 2. **Set API credentials**: Replace `your_api_key` and `your_secret_key` with your actual Binance API credentials.
183
178
 
184
179
  3. **Alternative commands**: You can also use:
185
- - `pip install binance-mcp-server && python -m binance_mcp`
186
- - `binance-mcp-server` (if installed globally)
180
+ - `pip install binance-futures-mcp && python -m binance_mcp`
181
+ - `binance-mcp-server` (if installed globally and on PATH)
187
182
 
188
183
  4. **Python environment**: Using `uvx` automatically handles the Python environment.
189
184
 
190
185
  5. **Security**: For production use, consider storing credentials in your system's environment variables instead of directly in configuration files.
191
186
 
192
- ## Installation
193
-
194
- ### Prerequisites
195
- - Python 3.8 or higher
196
- - Binance Futures API credentials
197
-
198
- ### Method 1: Install via uvx (Recommended)
199
-
200
- ```bash
201
- uvx --from git+https://github.com/alexcandrabersiva/bin-mcp binance-mcp-server
202
- ```
203
-
204
- ### Method 2: Local Installation
205
-
206
- ```bash
207
- cd binance-mcp-server
208
- pip install -e .
209
- ```
187
+ ## Configuration
210
188
 
211
- Or install development dependencies:
189
+ ### API Requirements
212
190
 
213
- ```bash
214
- pip install -e ".[dev]"
215
- ```
191
+ Your Binance API key needs the following permissions:
192
+ - **Futures Trading**: For order placement and management
193
+ - **Futures Reading**: For account and market data access
216
194
 
217
- ## Configuration
195
+ **Note**: Market data endpoints (exchange info, prices, order books, etc.) work without authentication.
218
196
 
219
197
  ### Environment Variables
220
198
 
@@ -225,24 +203,19 @@ export BINANCE_API_KEY="your_api_key_here"
225
203
  export BINANCE_SECRET_KEY="your_secret_key_here"
226
204
  ```
227
205
 
228
- ### API Permissions
229
-
230
- Your Binance API key needs the following permissions:
231
- - **Futures Trading**: For order placement and management
232
- - **Futures Reading**: For account and market data access
233
-
234
- **Note**: Market data endpoints (exchange info, prices, order books, etc.) work without authentication.
235
-
236
206
  ## Usage
237
207
 
238
208
  ### Running the Server
239
209
 
240
210
  ```bash
241
- # Run directly
211
+ # Run directly (after installing from PyPI)
242
212
  python -m binance_mcp
243
213
 
244
- # Or using the installed script
245
- binance-mcp-server
214
+ # Or using uvx (no installation needed)
215
+ uvx binance-futures-mcp
216
+
217
+ # With API credentials as arguments
218
+ uvx binance-futures-mcp --binance-api-key "your_key" --binance-secret-key "your_secret"
246
219
  ```
247
220
 
248
221
  ### Available Tools
@@ -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=LW16OetihWrkBLC1X-0Wg6k_Oug6PQ3LRVPkpEa32s0,38221
4
+ binance_futures_mcp-1.0.1.dist-info/LICENSE,sha256=zqfwopvOi7kOx5YVOnehgmRFR-IU3x1n9JEShr3QOYg,1075
5
+ binance_futures_mcp-1.0.1.dist-info/METADATA,sha256=8gD-KCDJh7Lf8VczmwS9bazhkVq4HsO19uAPdGoOC9A,10795
6
+ binance_futures_mcp-1.0.1.dist-info/WHEEL,sha256=pkctZYzUS4AYVn6dJ-7367OJZivF2e8RA9b_ZBjif18,92
7
+ binance_futures_mcp-1.0.1.dist-info/entry_points.txt,sha256=-1iVs9AF7JQBS-xMichP9hQhbCY7YfLFRJVaNKwuN34,69
8
+ binance_futures_mcp-1.0.1.dist-info/top_level.txt,sha256=RqGhe1caZUvBF_ezvTiLZD8kVS25eiWVkfJfmoND9m8,12
9
+ binance_futures_mcp-1.0.1.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (80.9.0)
2
+ Generator: bdist_wheel (0.40.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5
 
@@ -0,0 +1,2 @@
1
+ [console_scripts]
2
+ binance-mcp-server = binance_mcp.__main__:cli_main
binance_mcp/__main__.py CHANGED
@@ -1,7 +1,13 @@
1
1
  #!/usr/bin/env python3
2
2
 
3
+ import asyncio
3
4
  from binance_mcp.server import main
4
5
 
5
- if __name__ == "__main__":
6
- import asyncio
6
+
7
+ def cli_main():
8
+ """Entry point for the command-line interface"""
7
9
  asyncio.run(main())
10
+
11
+
12
+ if __name__ == "__main__":
13
+ cli_main()
@@ -1,9 +0,0 @@
1
- binance_futures_mcp-1.0.0.dist-info/licenses/LICENSE,sha256=zqfwopvOi7kOx5YVOnehgmRFR-IU3x1n9JEShr3QOYg,1075
2
- binance_mcp/__init__.py,sha256=ExUxc1kp3GoSwmEtC7eGgFMZlvSQ4IdW1T5xhw-NT98,106
3
- binance_mcp/__main__.py,sha256=arjH5cad7koMZTvXR3u3eLE6I7pdT1zg5ttp7KNjQ6Y,131
4
- binance_mcp/server.py,sha256=LW16OetihWrkBLC1X-0Wg6k_Oug6PQ3LRVPkpEa32s0,38221
5
- binance_futures_mcp-1.0.0.dist-info/METADATA,sha256=_rOapSOSDn8prUvEifrTocZ4wEMNJm0TJXql2YTkXFk,11017
6
- binance_futures_mcp-1.0.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
7
- binance_futures_mcp-1.0.0.dist-info/entry_points.txt,sha256=Olf_ctXC2kgUJEg-bfsy90EXuCDM0gW8xJwO_QzraqE,65
8
- binance_futures_mcp-1.0.0.dist-info/top_level.txt,sha256=RqGhe1caZUvBF_ezvTiLZD8kVS25eiWVkfJfmoND9m8,12
9
- binance_futures_mcp-1.0.0.dist-info/RECORD,,
@@ -1,2 +0,0 @@
1
- [console_scripts]
2
- binance-mcp-server = binance_mcp.__main__:main