Skip to content

Commit 0c29dfd

Browse files
committed
refactor: Restructure unit3 project directory to use descriptive naming
- Move unit3 starter and solution code to build-mcp-server subdirectory - Update documentation paths to reflect new directory structure - No functional changes to the code
1 parent 6b45e64 commit 0c29dfd

File tree

9 files changed

+4
-4
lines changed

9 files changed

+4
-4
lines changed
File renamed without changes.
File renamed without changes.

projects/unit3/solution/server.py renamed to projects/unit3/build-mcp-server/solution/server.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
mcp = FastMCP("pr-agent")
1717

1818
# PR template directory (shared between starter and solution)
19-
TEMPLATES_DIR = Path(__file__).parent.parent / "templates"
19+
TEMPLATES_DIR = Path(__file__).parent.parent.parent / "templates"
2020

2121

2222
@mcp.tool()
File renamed without changes.
File renamed without changes.

projects/unit3/starter/server.py renamed to projects/unit3/build-mcp-server/starter/server.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
mcp = FastMCP("pr-agent")
1515

1616
# PR template directory (shared between starter and solution)
17-
TEMPLATES_DIR = Path(__file__).parent.parent / "templates"
17+
TEMPLATES_DIR = Path(__file__).parent.parent.parent / "templates"
1818

1919

2020
# TODO: Implement tool functions here

units/en/unit3/build-mcp-server.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ The PR Agent demonstrates a key principle of MCP development: instead of hard-co
3232
Navigate to the starter code directory:
3333

3434
```bash
35-
cd projects/unit3/module1/starter
35+
cd projects/unit3/build-mcp-server/starter
3636
```
3737

3838
Install dependencies:
@@ -146,7 +146,7 @@ except Exception as e:
146146
## Next Steps
147147

148148
Once you've completed this module:
149-
1. Review the solution in `/projects/unit3/module1/solution/`
149+
1. Review the solution in `/projects/unit3/build-mcp-server/solution/`
150150
2. Compare your approach with the provided implementation
151151
3. Move on to Module 2 to add Resources for project context
152152

0 commit comments

Comments
 (0)