docs: fix incorrect binary paths in CLAUDE.md

- Changed /target/release/mt5-quant to /mt5-quant for prebuilt binary path
- Added path notes explaining prebuilt vs dev build locations
- Fixed both Full Example and Environment Variables sections
This commit is contained in:
Devid HW
2026-04-22 08:40:36 +07:00
parent 96ba882a95
commit 5366b45c36
+6 -2
View File
@@ -57,7 +57,7 @@ Edit `~/Library/Application Support/Claude/claude_desktop_config.json` (macOS) o
{ {
"mcpServers": { "mcpServers": {
"mt5-quant": { "mt5-quant": {
"command": "/Users/name/mt5-quant/target/release/mt5-quant" "command": "/Users/name/mt5-quant/mt5-quant"
}, },
"github": { "github": {
"command": "npx", "command": "npx",
@@ -70,6 +70,10 @@ Edit `~/Library/Application Support/Claude/claude_desktop_config.json` (macOS) o
} }
``` ```
**Path notes:**
- Prebuilt binary: `/Users/name/mt5-quant/mt5-quant` (extracted from release tarball)
- Dev build: `/Users/name/mt5-quant/target/release/mt5-quant` (after `cargo build --release`)
## Environment Variables ## Environment Variables
Claude Desktop supports `${env:VAR_NAME}` syntax for environment variable substitution: Claude Desktop supports `${env:VAR_NAME}` syntax for environment variable substitution:
@@ -78,7 +82,7 @@ Claude Desktop supports `${env:VAR_NAME}` syntax for environment variable substi
{ {
"mcpServers": { "mcpServers": {
"mt5-quant": { "mt5-quant": {
"command": "/Users/name/mt5-quant/target/release/mt5-quant", "command": "/Users/name/mt5-quant/mt5-quant",
"env": { "env": {
"MT5_MCP_HOME": "${env:HOME}/.config/mt5-quant" "MT5_MCP_HOME": "${env:HOME}/.config/mt5-quant"
} }