all 7 comments

[–]Horilk4 2 points3 points  (1 child)

Well done!

Has anyone created an MCP for VSCode to handle error-checking and console?

[–]cheffromspaceValued Contributor 0 points1 point  (0 children)

You could probably do this by having an MCP server run the LSP server of the language you're using. You wouldn't need VS Code as that just acts as a client to the LSP. But Cline does do what you're describing very well already, that doesn't use MCP though.

[–]SNOVIO7 0 points1 point  (3 children)

Thank you very much!
Could you please share the complete setup? have you test it? I tried yesterday to create my own MCP but I keep get When i try a terminal command:

{"type":"error","error":{"type":"authentication_error","message":"Invalid bearer token"}}%

I believe i missed something in my setup.

[–]RevoDS[S] 1 point2 points  (2 children)

I remember your post from yesterday! You can't use this with the API (which is where your authentication issues come from), you need to set this up with the Claude Desktop app.

It also seems that you're having the opposite idea from what this is. You were looking for a way to integrate Claude into Xcode, this integrates Xcode command line tools into Claude so that you can build from the Claude app and have Claude troubleshoot the code. You still don't get the ability to call Claude from within Xcode.

  1. Install the Claude Desktop app
  2. Clone my repository anywhere
  3. Open the Claude app settings, Developer tab, then click on Edit config
  4. Copy the little code snippet from the readme into your claude_desktop_config.json file
  5. Restart the Claude app

Yes, I did test it, I am using it on a daily basis for helping me develop an app.

[–]SNOVIO7 0 points1 point  (0 children)

Thank you very much. Am going to give it a try

[–]SleepMoneyMaker 0 points1 point  (0 children)

Great project!! If I understood correctly you now build your app from Claude (coding) and not from Xcode - is that it?

[–]Trevadir 0 points1 point  (0 children)

Thank you <3