From 93e1017b8f4cc49dad4ac6d9fbca6d097ee4ab60 Mon Sep 17 00:00:00 2001 From: Volt23 Date: Tue, 15 Apr 2025 18:12:36 +0200 Subject: [PATCH] docs: update README --- README.md | 9 +++++++-- pyproject.toml | 2 +- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 56a08ef..c7d66e5 100644 --- a/README.md +++ b/README.md @@ -157,19 +157,24 @@ The server will start and listen for connections from an MCP client via standard When configuring an MCP client (such as Claude Desktop) to launch this server, you must ensure the `command` in your JSON config points to the correct executable. **If you are using pyenv or a custom Python environment, specify the full path to the `mcp-arduino-server` binary where it was installed.** -For example: +For example, to ensure WireViz is always found regardless of PATH issues, you can set the `WIREVIZ_PATH` environment variable in your MCP client config if supported: ```json { "mcpServers": { "arduino": { "command": "/Users//.pyenv/versions//bin/mcp-arduino-server", - "args": [] + "args": [], + "env": { + "WIREVIZ_PATH": "/Users//.pyenv/versions//bin/wireviz" + } } } } ``` +Replace `` and `` with your actual username and Python version. This ensures the MCP client launches the correct environment and always finds WireViz, even if your PATH is not set up for GUI apps. + Replace `` and `` with your actual username and Python version as appropriate. This ensures the MCP client launches the correct environment and finds all dependencies. ## Available Tools (MCP Interface) diff --git a/pyproject.toml b/pyproject.toml index fad0375..a23010d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "mcp-arduino-server" -version = "0.1.0" # Start with an initial version +version = "0.1.1" # Start with an initial version authors = [ { name="Your Name", email="your.email@example.com" }, ]