Yeah, this seems like a 0.47 breaking change - we have no UI for adding MCP servers anymore it seems
so, only json format available to add MCP?
Is there a way to restore the old way with the button and not with json and code
I have the same thingg. Even on my linux partition.
I wonder if it is because it says âglobalâ - because on every tutorial i see the dialog thing pops up to enter the details. And i even tried editing the mcp.json to add a server which was 100% running and had all the credentials oto my project in the .env but stiill the agent did not see it and hence cant make usee of it.
Is there maybe an option that i have to click in order for the button to not add global but project specific mcp servers and hen it will open up the dialog. Window to add in a user friendly fassion and as in seen in multiple video tutorials.
And the funniest part is that i aam working on an app store like thingy for mcp servers and wgent tools that enables developers to alwwys hawve the newest. Version and its hosted by me, so basically they just gget a secret url for sse connection and havve sort of a 1 click installation. Oh and yes creators of mcps get rev share if their mcp gets used s lot and is liked and uovoted by many.
But icant even test my own product wiht this bugz/feature rn
guys you can just format your config as .json, thatâs what happens under the hood anyway. ctrl+a select all ctrl+k open ai editor, paste in your command and say âturn this into jsonâ
Example:
if this is the command you have for running in terminal lets say from Smithery for github
npx -y @smithery/cli@latest run @smithery-ai/github --config â{"githubPersonalAccessToken":"github_pat_11AOM2NEY0ruuViotdtW3n_3pJcJkkr76F8aMQ8UrAUWPNQCDzLP8XU9HV24DU7HMnLNwixD"}â
then you need to create a json like this
{
âmcpServersâ: {
âgithubâ: {
âcommandâ: ânpxâ,
âargsâ: [
â-yâ,
â@smithery/cli@latestâ,
ârunâ,
â@smithery-ai/githubâ
],
âenvâ: {
âgithubPersonalAccessTokenâ: âgithub_pat_11AOM2NEY0ruuViotdtW3n_3pJcJkkr76F8aMQ8UrAUWPNQCDzLP8XU9HV24DU7HMnLNwixD"}â
}
}
}
}
The JSON file format that it creates is wrong. It creates the file and then it immediately shows an error because it doesnât like that format.
mcpServers must be an object
(It was an array.)
I didnât occur to me that the default format that Cursor used for this file would be wrong. And Cursor had a hard time figuring it out. It went in circles trying everything imaginable to fix not being able to connect to the server.