From cc4a68608878f63a64ea873124204f060d0b997f Mon Sep 17 00:00:00 2001 From: Mike Gehard Date: Sun, 1 Dec 2024 08:12:12 -0500 Subject: [PATCH] Add extra debugging/development instructions. This should help people unfamilar with ux get the right commands to test in the Claude app. --- src/git/README.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/src/git/README.md b/src/git/README.md index c94ca7e..113e9e1 100644 --- a/src/git/README.md +++ b/src/git/README.md @@ -156,6 +156,29 @@ cd path/to/servers/src/git npx @modelcontextprotocol/inspector uv run mcp-server-git ``` +Running `tail -n 20 -f ~/Library/Logs/Claude/mcp*.log` will show the logs from the server and may +help you debug any issues. + +## Development + +If you are doing local development, there are two ways to test your changes: + +1. Run the MCP inspector to test your changes. See [Debugging](#debugging) for run instructions. + +2. Test using the Claude desktop app. Add the following to your `claude_desktop_config.json`: + +```json +"git": { + "command": "uv", + "args": [ + "--directory", + "//mcp-servers/src/git", + "run", + "mcp-server-git" + ] +} +``` + ## License This MCP server is licensed under the MIT License. This means you are free to use, modify, and distribute the software, subject to the terms and conditions of the MIT License. For more details, please see the LICENSE file in the project repository.