You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1. Copy `vscode-mcp.json` to `.vscode/mcp.json` in your project root.
45
+
2. Start the server either directly from the file (toggles appear above the server name) or the Extensions icon (right-click on the server for all options).
10
46
3. Use Agent mode in Copilot Chat to access parse-patrol tools
11
47
48
+

49
+
50
+
#### Remotely
51
+
52
+
In VS Code, go to the command prompt, type `> mcp` and select "MCP: Open Remote User Configuration".
53
+
It will open up a `mcp.json` file, where you can paste in your MCP server configurations.
54
+
55
+
### Using the Agent
56
+
57
+
Once the server is started, it will be available under the `CHAT` tab when running `Agent` mode.
58
+
Note that the default mode for co-pilot is `Ask/Edit` mode.
59
+
60
+
To access *resources* type the pound symbol (`#`), for prompt commands type slash (`/`) in the chat window and wait for auto-complete.
61
+
All resources and prompts names should start with `mcp.parse-patrol`.
62
+
(Note that the MCP server name may change when published under a different or multiple servers.)
63
+
64
+
When executing a prompt command, the input parameters will pop up at the top.
65
+
Their names and descriptions are outlined above the active text bar.
66
+
Input parameters may be required or optional (marked as such) input.
67
+
In the case of the later, the field can be left blank.
68
+
Finally, the full prompt will be returned to the chat input field, ready to be submitted.
69
+
Reviewing or editing is still possible at this step.
70
+
71
+
PITFALL: do not use the file explorer for adding fields, but the resource dialog.
72
+
Else you copy-paste the file contents, NOT the file path.
73
+
12
74
### Claude Desktop (experimental)
13
75
14
-
**Option 1: Project-scoped (Recommended)**
76
+
**Option 1: Project-scoped (Recommended):**
77
+
15
78
```bash
16
79
# From your parse-patrol project directory
17
80
# First ensure dependencies are installed
18
81
uv sync --extra mcp
19
82
20
83
# Add the MCP server - use absolute path to ensure correct environment
21
84
claude mcp add parse-patrol --scope project -- sh -c "cd $(pwd) && PYTHONPATH=src uv --project $(pwd) run python -m parse_patrol"
22
-
23
-
# Alternative: Use the venv python directly
24
-
# claude mcp add parse-patrol --scope project -- sh -c "cd $(pwd) && PYTHONPATH=src $(pwd)/.venv/bin/python -m parse_patrol"
25
85
```
26
86
27
87
**Environment Issues:**
88
+
28
89
- The `claude mcp add` command may run in a different `uv` environment than your project
29
90
- Using `--project $(pwd)` ensures `uv` uses the correct project environment
30
91
- Alternatively, use the venv Python directly: `.venv/bin/python`
31
92
32
-
**Option 2: Manual configuration**
93
+
**Option 2: Manual configuration:**
94
+
33
95
1. Copy `claude-desktop-mcp.json` content to your Claude Desktop configuration file:
0 commit comments