Skip to content

Commit 6d45415

Browse files
update the run instruction
1 parent 7ee7bae commit 6d45415

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

README.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,17 +92,24 @@ cp mcp-config.json ~/.cursor/mcp.json
9292

9393
After setup, you can run the MATLAB MCP server using:
9494

95+
```bash
96+
matlab-mcp-server
97+
```
98+
99+
If the server is not found, check whether the server is installed in the virtual environment:
100+
95101
```bash
96102
./.venv/bin/matlab-mcp-server
97103
```
98104

105+
99106
Troubleshooting: See [Installation Troubleshooting](#installation-troubleshooting) for common issues and solutions. Don't hesitate to open an issue on the repository if you encounter an issue that is not listed, and a PR if you have a solution.
100107

101108
## Usage
102109

103110
1. Start the MCP server:
104111
```bash
105-
./.venv/bin/matlab-mcp-server
112+
matlab-mcp-server
106113
```
107114

108115
This is equivalent to running:
@@ -128,7 +135,7 @@ Use the tools with Cline or other MCP-compatible clients.
128135
{
129136
"mcpServers": {
130137
"matlab": {
131-
"command": "/path/to/your/matlab-mcp-tools/.venv/bin/matlab-mcp-server",
138+
"command": "matlab-mcp-server",
132139
"args": [],
133140
"env": {
134141
"MATLAB_PATH": "${MATLAB_PATH}",

0 commit comments

Comments
 (0)