Help getting Claude desktop to run develoment version of git server #49
-
Pre-submission Checklist
Question Category
Your QuestionI am trying to add a new tool to the git server Tool(
name=GitTools.CREATE_BRANCH,
description="Creates a new branch from an optional base branch",
inputSchema=GitCreateBranch.schema(),
), When I run the inspector from the git server directory ( When I test it out via the inspector, it works as expected. Now I'm trying to integrate it with my Claude desktop app. Here is the claude_desktop_config.json: {
"mcpServers": {
"git": {
"command": "uv",
"args": [
"run",
"mcp-server-git",
"--repository",
"/Users/mikegehard/workspace/aiAssistedAgile/aiAssistedAgileAgents"
],
"cwd": "/Users/mikegehard/workspace/aiDev/mcp-servers/src/git"
}
} which I got from Claude desktop app via the file server and the working git server. Dogfooding for the win! :-) When I run Claude desktop, I get the following error:
I have narrowed the directory not found to the "cwd" in the JSON I think. Any other tips for troubleshooting why this isn't working in the Claude app (which is the latest) but it works in the inspector? Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I have recently modified the json to look like this based on another "getting started" video: "git": {
"command": "uv",
"args": [
"--directory",
"/Users/mikegehard/workspace/aiDev/mcp-servers/src/git",
"run",
"mcp-server-git"
]
}, Using the above I now see my new tool in the Claude desktop application. I will add a development note to the git server README to record this. |
Beta Was this translation helpful? Give feedback.
I have recently modified the json to look like this based on another "getting started" video:
Using the above I now see my new tool in the Claude desktop application.
I will add a development note to the git server README to record this.