Skip to content

Commit 3718b0a

Browse files
authored
Add launch configurations for VS Code and Cursor (#39)
1 parent 35147df commit 3718b0a

File tree

3 files changed

+82
-2
lines changed

3 files changed

+82
-2
lines changed

.vscode/extensions.json

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
{
22
"recommendations": [
3-
"mkhl.direnv"
3+
"mkhl.direnv",
4+
"vadimcn.vscode-lldb",
5+
"streetsidesoftware.code-spell-checker",
6+
"apollographql.vscode-apollo"
47
]
58
}

.vscode/launch.json

+73
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
{
2+
"version": "0.2.0",
3+
"configurations": [
4+
{
5+
"type": "node",
6+
"request": "launch",
7+
"name": "Run apollo-mcp-server [SSE]",
8+
"runtimeExecutable": "cargo",
9+
"runtimeArgs": [
10+
"run",
11+
"--bin",
12+
"mcp-apollo-server",
13+
"--",
14+
"-i",
15+
"--directory",
16+
".",
17+
"-s",
18+
"graphql/weather/api.graphql",
19+
"--manifest",
20+
"graphql/weather/persisted_queries/apollo.json",
21+
"--sse-port",
22+
"5000"
23+
],
24+
"cwd": "${workspaceFolder}",
25+
"console": "integratedTerminal",
26+
"env": {
27+
"RUST_BACKTRACE": "1"
28+
}
29+
},
30+
{
31+
"type": "lldb",
32+
"request": "launch",
33+
"name": "Debug apollo-mcp-server [SSE]",
34+
"cargo": {
35+
"args": [
36+
"build",
37+
"--bin=mcp-apollo-server",
38+
"--lib"
39+
],
40+
"filter": {
41+
"name": "mcp-apollo-server",
42+
"kind": "bin"
43+
}
44+
},
45+
"args": [
46+
"-i",
47+
"--directory",
48+
".",
49+
"-s",
50+
"graphql/weather/api.graphql",
51+
"--manifest",
52+
"graphql/weather/persisted_queries/apollo.json",
53+
"--sse-port",
54+
"5000"
55+
],
56+
"cwd": "${workspaceFolder}",
57+
"env": {
58+
"RUST_BACKTRACE": "1"
59+
}
60+
},
61+
{
62+
"type": "node",
63+
"request": "launch",
64+
"name": "Run mcp-inspector",
65+
"runtimeExecutable": "npx",
66+
"runtimeArgs": [
67+
"@modelcontextprotocol/inspector"
68+
],
69+
"cwd": "${workspaceFolder}",
70+
"console": "integratedTerminal"
71+
}
72+
]
73+
}

.vscode/settings.json

+5-1
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,9 @@
33
"[rust]": {
44
"editor.defaultFormatter": "rust-lang.rust-analyzer",
55
"editor.formatOnSave": true,
6-
}
6+
},
7+
"cSpell.words": [
8+
"rmcp",
9+
"schemars"
10+
]
711
}

0 commit comments

Comments
 (0)