I was happily using a postgres MCP server, updated and its gone and now the UI seems to have changed for setup.
Whats happening here as this was really useful.
I was happily using a postgres MCP server, updated and its gone and now the UI seems to have changed for setup.
Whats happening here as this was really useful.
Hey, do you mean that it’s now in a JSON file? Yes, it was changed. You can check the details here:
You can place this file globally or directly in the project itself.
Hi @deanrie can I setup more than 1 mcp server via json? I tried but it’s either I get an error (json formatting) or only I server works at a time.
yes it works very well. Sure you must use correct json structure.
For example, how to structure it, the commands i wrote might not work for you but structure is correct.:
{
"mcpServers": [
{
"name": "filesystem",
"command": "npx @anthropic-ai/mcp-server-filesystem",
"args": ["--root", "./"],
"env": {}
},
{
"name": "database",
"command": "npx @anthropic-ai/mcp-server-mysql",
"args": ["--host", "localhost", "--user", "root", "--password", "password", "--database", "mydatabase"],
"env": {}
}
]
}
You can check out the examples here:
Thanks I got it working again.
Error fixed.