fivesocket-mt5-mcp 1.0.0__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.
- fivesocket_mt5_mcp/__init__.py +18 -0
- fivesocket_mt5_mcp-1.0.0.dist-info/METADATA +47 -0
- fivesocket_mt5_mcp-1.0.0.dist-info/RECORD +6 -0
- fivesocket_mt5_mcp-1.0.0.dist-info/WHEEL +4 -0
- fivesocket_mt5_mcp-1.0.0.dist-info/entry_points.txt +2 -0
- fivesocket_mt5_mcp-1.0.0.dist-info/licenses/LICENSE +21 -0
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import shutil
|
|
2
|
+
import subprocess
|
|
3
|
+
import sys
|
|
4
|
+
|
|
5
|
+
NPM_PACKAGE = "fivesocket-mt5-mcp@1"
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
def main() -> None:
|
|
9
|
+
npx = shutil.which("npx")
|
|
10
|
+
if npx is None:
|
|
11
|
+
sys.stderr.write(
|
|
12
|
+
"fivesocket-mt5-mcp needs Node.js 20 or newer (it runs the npm package "
|
|
13
|
+
f"{NPM_PACKAGE}, which handles the OAuth sign-in). Install Node.js from "
|
|
14
|
+
"https://nodejs.org, or add https://api.fivesocket.com/mcp to your client "
|
|
15
|
+
"as a remote MCP server instead.\n"
|
|
16
|
+
)
|
|
17
|
+
sys.exit(1)
|
|
18
|
+
sys.exit(subprocess.call([npx, "-y", NPM_PACKAGE, *sys.argv[1:]]))
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
Metadata-Version: 2.5
|
|
2
|
+
Name: fivesocket-mt5-mcp
|
|
3
|
+
Version: 1.0.0
|
|
4
|
+
Summary: MT5 MCP server for Claude Desktop, Cursor, VS Code and any stdio MCP client: connects a MetaTrader 5 account through FiveSocket's hosted MT5 MCP server with OAuth sign-in, no Windows or MT5 terminal.
|
|
5
|
+
Project-URL: Homepage, https://fivesocket.com/mcp
|
|
6
|
+
Project-URL: Documentation, https://docs.fivesocket.com/mcp
|
|
7
|
+
Project-URL: Repository, https://github.com/fivesocket/mt5-mcp-server
|
|
8
|
+
Project-URL: Issues, https://github.com/fivesocket/mt5-mcp-server/issues
|
|
9
|
+
Author-email: FiveSocket <hello@fivesocket.com>
|
|
10
|
+
License-Expression: MIT
|
|
11
|
+
License-File: LICENSE
|
|
12
|
+
Keywords: claude,cursor,forex,mcp,mcp-server,metatrader,metatrader5,model-context-protocol,mt5,mt5-mcp,trading
|
|
13
|
+
Classifier: Development Status :: 5 - Production/Stable
|
|
14
|
+
Classifier: Intended Audience :: Developers
|
|
15
|
+
Classifier: Intended Audience :: Financial and Insurance Industry
|
|
16
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
17
|
+
Classifier: Programming Language :: Python :: 3
|
|
18
|
+
Classifier: Topic :: Office/Business :: Financial :: Investment
|
|
19
|
+
Requires-Python: >=3.9
|
|
20
|
+
Description-Content-Type: text/markdown
|
|
21
|
+
|
|
22
|
+
# fivesocket-mt5-mcp: MT5 MCP server for stdio clients
|
|
23
|
+
|
|
24
|
+
Connect a MetaTrader 5 account to Claude Desktop, Cursor, VS Code or any stdio MCP client through [FiveSocket](https://fivesocket.com/mcp), a hosted MT5 MCP server. Ask about your balance, positions, trade history, candles and prop-firm limits, run backtests on your broker's data, and, if you allow it, place trades.
|
|
25
|
+
|
|
26
|
+
No Windows PC, no MT5 terminal and no broker password in a config file: the first run opens your browser to sign in to FiveSocket, where you link your MT5 account.
|
|
27
|
+
|
|
28
|
+
This package launches the npm package [`fivesocket-mt5-mcp`](https://www.npmjs.com/package/fivesocket-mt5-mcp), so it needs Node.js 20 or newer.
|
|
29
|
+
|
|
30
|
+
## Use it
|
|
31
|
+
|
|
32
|
+
```json
|
|
33
|
+
{
|
|
34
|
+
"mcpServers": {
|
|
35
|
+
"fivesocket-mt5": {
|
|
36
|
+
"command": "uvx",
|
|
37
|
+
"args": ["fivesocket-mt5-mcp"]
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
Add `"--read-only"` to `args` for account data only, with no trading tools.
|
|
44
|
+
|
|
45
|
+
Clients that support remote MCP servers (Claude on the web, ChatGPT, Claude Code, Cursor) can skip this package and add `https://api.fivesocket.com/mcp` directly. Setup for each client: https://fivesocket.com/mcp
|
|
46
|
+
|
|
47
|
+
Pricing: https://fivesocket.com/pricing · Docs: https://docs.fivesocket.com/mcp
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
fivesocket_mt5_mcp/__init__.py,sha256=zDTrW48vwGgip9QPi8fc2EZCo2aDt1tZ_fAQzlViah0,587
|
|
2
|
+
fivesocket_mt5_mcp-1.0.0.dist-info/METADATA,sha256=tOfjU4N0p_rPNj3-PT5_kFTFIfdMo572qkSpNP8Ddww,2321
|
|
3
|
+
fivesocket_mt5_mcp-1.0.0.dist-info/WHEEL,sha256=2iZrJkDIkeDh0k9SikKMqFuRP-ua6mb4Ir1AsER4BEw,87
|
|
4
|
+
fivesocket_mt5_mcp-1.0.0.dist-info/entry_points.txt,sha256=ieAj5v4fxNNUyNhVdHShCi_gOv7hbIYVzsrhWDw82u8,63
|
|
5
|
+
fivesocket_mt5_mcp-1.0.0.dist-info/licenses/LICENSE,sha256=8WeY_Q37hK1rSNpP9NsMfFzfCg3UelD050WLgVIhXHM,1067
|
|
6
|
+
fivesocket_mt5_mcp-1.0.0.dist-info/RECORD,,
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 FiveSocket
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|