Skip to content

Commit ec778ae

Browse files
authored
Add search tool (#171)
1 parent ad5c9e3 commit ec778ae

31 files changed

+2579
-161
lines changed

.changesets/feat_pubmodmatt_search.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
### Add search tool - @pubmodmatt PR #171
2+
3+
A new experimental `search` tool has been added that allows the AI model to specify a set of terms to search for in the GraphQL schema. The top types matching that search are returned, as well as enough information to enable creation of GraphQL operations involving those types.

.vscode/launch.json

Lines changed: 22 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -4,22 +4,14 @@
44
{
55
"type": "node",
66
"request": "launch",
7-
"name": "Run apollo-mcp-server [Streamable HTTP]",
7+
"name": "Run apollo-mcp-server [Weather][Streamable HTTP]",
88
"runtimeExecutable": "cargo",
99
"runtimeArgs": [
1010
"run",
1111
"--bin",
1212
"apollo-mcp-server",
1313
"--",
14-
"-i",
15-
"--schema",
16-
"graphql/weather/api.graphql",
17-
"--manifest",
18-
"graphql/weather/persisted_queries/apollo.json",
19-
"--http-port",
20-
"5000",
21-
"--allow-mutations",
22-
"all",
14+
"graphql/weather/config.yaml",
2315
],
2416
"cwd": "${workspaceFolder}",
2517
"console": "integratedTerminal",
@@ -30,7 +22,7 @@
3022
{
3123
"type": "lldb",
3224
"request": "launch",
33-
"name": "Debug apollo-mcp-server [Streamable HTTP]",
25+
"name": "Debug apollo-mcp-server [Weather][Streamable HTTP]",
3426
"cargo": {
3527
"args": [
3628
"build",
@@ -43,21 +35,31 @@
4335
}
4436
},
4537
"args": [
46-
"-i",
47-
"--schema",
48-
"graphql/weather/api.graphql",
49-
"--manifest",
50-
"graphql/weather/persisted_queries/apollo.json",
51-
"--http-port",
52-
"5000",
53-
"--allow-mutations",
54-
"all",
38+
"graphql/weather/config.yaml",
5539
],
5640
"cwd": "${workspaceFolder}",
5741
"env": {
5842
"RUST_BACKTRACE": "1"
5943
}
6044
},
45+
{
46+
"type": "node",
47+
"request": "launch",
48+
"name": "Run apollo-mcp-server [TheSpaceDevs][Streamable HTTP]",
49+
"runtimeExecutable": "cargo",
50+
"runtimeArgs": [
51+
"run",
52+
"--bin",
53+
"apollo-mcp-server",
54+
"--",
55+
"graphql/TheSpaceDevs/config.yaml",
56+
],
57+
"cwd": "${workspaceFolder}",
58+
"console": "integratedTerminal",
59+
"env": {
60+
"RUST_BACKTRACE": "1"
61+
}
62+
},
6163
{
6264
"type": "node",
6365
"request": "launch",

0 commit comments

Comments
 (0)