You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -25,7 +25,7 @@ The framework is written in TypeScript and can :
25
25
- Mock API error codes/messages for testing frontend error handling logic
26
26
- Log and store API requests in JSON format and display information on the localhost:8000/logs route
27
27
28
-
The project has a local MCP server (experimental) to connect to LLM Agents (such as Claude Desktop, Cursor etc.,) that use the MCP protocol. This allows the Local Mock API server to be managed using an LLM for easier interactions during development.
28
+
The project has a local MCP server (experimental) to connect to LLM Agents and IDE's that use the MCP protocol. This allows the Local Mock API server to be managed using an LLM for easier interactions during development.
29
29
30
30
## Set-up
31
31
@@ -378,15 +378,15 @@ SERVER_PORT = 1234;
378
378
379
379
### Set-up
380
380
381
-
Connect the mcp server to the mock api server as described in your agents documentation. Note the MCP server.js file is in the src/mcp folder.
381
+
Connect the mcp server as described in your agents or IDE's documentation. Note the MCP server.js file is in the src/mcp folder.
382
382
383
383
You can run the command below to build the mcp server.js file if needed.
384
384
385
385
```bash
386
386
npm run mcp:build
387
387
```
388
388
389
-
then use the path below to connect to the mcp server in the MCP config file
389
+
then use the path below to connect to the mcp server in the MCP config file replacing with your full local mcp server file path
@@ -404,11 +404,13 @@ Note: the mcp server will only work with a local mock api server <b>running in a
404
404
405
405

406
406
407
+

408
+
407
409
### Issues
408
410
409
411
#### Node version managers
410
412
411
-
If using a node version manager such as NVM or FNM in Windows, then you may need to either specify the entire path to the node binary in the mcp server config file or set the system NODE_PATH environment variable to direct the path of the fnm aliases directory (or create sym links in linux / mac) - see https://github.com/modelcontextprotocol/servers/issues/40#issuecomment-2588950176 or https://github.com/Schniz/fnm/issues/1366#issuecomment-2764510266
413
+
If using a node version manager such as NVM or FNM in Windows, then you may need to either specify the entire path to the node binary in the mcp server config file or set the system PATH environment variable to direct the path of the fnm aliases directory (or create sym links in linux / mac) - see https://github.com/modelcontextprotocol/servers/issues/40#issuecomment-2588950176 or https://github.com/Schniz/fnm/issues/1366#issuecomment-2764510266
412
414
413
415
E.g with fnm aliases in PATH the config below works with fnm and node
0 commit comments