agent: Rework context server settings (#32793)

This changes the way context servers are organised. We now store a
`source` which indicates if the MCP server is configured manually or
managed by an extension.

Release Notes:

- N/A

---------

Co-authored-by: Ben Brandt <benjamin.j.brandt@gmail.com>
This commit is contained in:
Bennet Bo Fenner
2025-06-16 15:31:31 +00:00
committed by GitHub
co-authored by Ben Brandt
parent c35f22dde0
commit d7db4d4e0a
10 changed files with 639 additions and 197 deletions
+2 -2
View File
@@ -41,12 +41,12 @@ You can connect them by adding their commands directly to your `settings.json`,
{
"context_servers": {
"some-context-server": {
"source": "custom",
"command": {
"path": "some-command",
"args": ["arg-1", "arg-2"],
"env": {}
},
"settings": {}
}
}
}
}