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
refactor: Remove Claude Desktop references in favor of Claude Code
- Update all configuration examples to use claude mcp add command
- Remove references to claude_desktop_config.json
- Remove import-from-desktop instructions
- Simplify setup process for learners
- Focus exclusively on Claude Code usage
Copy file name to clipboardExpand all lines: projects/unit3/build-mcp-server/solution/README.md
+5-26Lines changed: 5 additions & 26 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,35 +20,14 @@ uv sync --all-extras
20
20
21
21
### 3. Configure the MCP Server
22
22
23
-
#### Option 1: Configure in Claude Desktop first (Recommended)
24
-
25
-
1. Add to your Claude Desktop MCP settings (`~/Library/Application Support/Claude/claude_desktop_config.json` on macOS):
26
-
27
-
```json
28
-
{
29
-
"mcpServers": {
30
-
"pr-agent": {
31
-
"command": "uv",
32
-
"args": [
33
-
"--directory",
34
-
"/absolute/path/to/module1/solution",
35
-
"run",
36
-
"server.py"
37
-
]
38
-
}
39
-
}
40
-
}
41
-
```
23
+
Add the server to Claude Code:
42
24
43
-
2. Import into Claude Code using the [import command](https://docs.anthropic.com/en/docs/claude-code/tutorials#import-mcp-servers-from-claude-desktop):
44
25
```bash
45
-
claude mcp import-from-desktop
46
-
```
26
+
# Add the MCP server
27
+
claude mcp add pr-agent "uv""--directory""/absolute/path/to/module1/solution""run""server.py"
47
28
48
-
#### Option 2: Add directly to Claude Code
49
-
50
-
```bash
51
-
claude mcp add pr-agent -- uv --directory /absolute/path/to/module1/solution run server.py
Copy file name to clipboardExpand all lines: units/en/unit3/build-mcp-server.mdx
+8-21Lines changed: 8 additions & 21 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -76,29 +76,16 @@ Test your implementation with the provided test suite:
76
76
uv run pytest test_server.py -v
77
77
```
78
78
79
-
### 3. Test with Claude
80
-
81
-
Configure your server in Claude Desktop settings, then import to Claude Code ([see documentation](https://docs.anthropic.com/en/docs/claude-code/tutorials#import-mcp-servers-from-claude-desktop)):
82
-
83
-
```json
84
-
{
85
-
"mcpServers": {
86
-
"pr-agent": {
87
-
"command": "uv",
88
-
"args": [
89
-
"--directory",
90
-
"/absolute/path/to/starter",
91
-
"run",
92
-
"server.py"
93
-
]
94
-
}
95
-
}
96
-
}
97
-
```
79
+
### 3. Test with Claude Code
80
+
81
+
Configure your server directly in Claude Code:
98
82
99
83
```bash
100
-
# Import Claude Desktop servers into Claude Code
101
-
claude mcp import-from-desktop
84
+
# Add the MCP server to Claude Code
85
+
claude mcp add pr-agent "uv""--directory""/absolute/path/to/starter""run""server.py"
0 commit comments