File tree Expand file tree Collapse file tree
provider/modelcontextprotocol Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -12,20 +12,22 @@ Currently, only MCP over stdio is supported (HTTP is not yet supported).
1212 ``` json
1313 "openctx.providers" : {
1414 // ...other providers...
15- "https://openctx.org/npm/@openctx/provider-modelcontextprotocol" : {
15+ "https://openctx.org/npm/@openctx/provider-modelcontextprotocol?everything " : {
1616 "nodeCommand" : " node" ,
1717 "mcp.provider.uri" : " file:///path/to/servers/root/build/everything/index.js" ,
1818 }
1919 }
2020 ```
21211 . Reload the VS Code window. You should see `servers/everything` in the `@`-mention dropdown.
2222
23+ You may use query params in the key url to differentiate between MCP providers.
24+
2325To hook up to the Postgres MCP provider, use:
2426
2527```json
2628"openctx.providers" : {
2729 // ...other providers...
28- "https://openctx.org/npm/@openctx/provider-modelcontextprotocol" : {
30+ "https://openctx.org/npm/@openctx/provider-modelcontextprotocol?postgres " : {
2931 "nodeCommand" : " node" ,
3032 "mcp.provider.uri" : " file:///path/to/servers/root/build/postgres/index.js" ,
3133 "mcp.provider.args" : [
@@ -52,4 +54,4 @@ The following MCP servers are available in the [modelcontextprotocol/servers](ht
5254
5355## Creating your own MCP server
5456
55- See the [ MCP docs] ( https://modelcontextprotocol.io ) for how to create your own MCP servers.
57+ See the [ MCP docs] ( https://modelcontextprotocol.io ) for how to create your own MCP servers.
You can’t perform that action at this time.
0 commit comments