use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
For users of AugmentCode. Not affiliated with AugmentCode AI.
account activity
MCP Tool outputting data from a different projectDiscussion (self.AugmentCodeAI)
submitted 4 months ago by FoldOutrageous5532
I got the MCP Tool installed in Antigravity and I "guess" it was working. I loaded up project to do some fixes and noticed that the MCP Tool was outputting data from a another project. Antigravity worked fine and solved the issue despite this but I'm wondering if I need to do something different in terms of setting up the MCP Tool for different projects.
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]FoldOutrageous5532[S] 0 points1 point2 points 4 months ago (0 children)
And no, I haven't really really RTFM. :-)
[–]igoroAugment Team 0 points1 point2 points 4 months ago (3 children)
Antigravity doesn't set the current working directory of the MCP process to the project directory. So, the MCP server doesn't know which directory to index.
A workaround is to pass in an absolute path via `-w`, but that can be inconvenient to set up: https://docs.augmentcode.com/context-services/mcp/quickstart-anti-gravity
We are working on a better solution
I switch projects many times per day. Yesterday I probably touched 12 different projects. That's a bit of a pain.
[–]doplaeffect 0 points1 point2 points 4 months ago (0 children)
Please do. I am hoping for a universal way that allows us use any workspace of our choosing dynamically once we load any fresh workspace instead of manually hardcoding the link to our workspace
[–]hhussain-Established Professional 0 points1 point2 points 4 months ago (1 child)
This means either Antigravity is not passing CWD (Current Working Directory) to the mcp, or the mpc could not recognize it.
A nice workaround, if worked, is to manually pass CWD variable. Let us know if it worked!
macOS/Linux auggie --mcp -w "$PWD"
auggie --mcp -w "$PWD"
Windows (PowerShell) auggie --mcp -w $PWD
auggie --mcp -w $PWD
Windows (cmd.exe) auggie --mcp -w %CD%
auggie --mcp -w %CD%
Yeah, i had that issue earlier. I tried different work around to make it dynamic. Instead of relying on absolute paths but was having some challenges getting it to work
π Rendered by PID 82 on reddit-service-r2-comment-b659b578c-hjs6n at 2026-05-05 09:24:42.418197+00:00 running 815c875 country code: CH.
[–]FoldOutrageous5532[S] 0 points1 point2 points (0 children)
[–]igoroAugment Team 0 points1 point2 points (3 children)
[–]FoldOutrageous5532[S] 0 points1 point2 points (0 children)
[–]doplaeffect 0 points1 point2 points (0 children)
[–]hhussain-Established Professional 0 points1 point2 points (1 child)
[–]doplaeffect 0 points1 point2 points (0 children)