Commit 17cffda
Add CLI entry point and package prompts for PyPI publishing (#10)
* feat: add CLI entry point and include prompts in package
Fixes #8
Changes:
- Add [project.scripts] entry point for uvx installation
- Include prompts/ directory in wheel package
- Force include server.py in package distribution
This enables users to install via uvx:
uvx spec-driven-development-mcp
Package now includes:
- mcp_server/*.py (implementation files)
- prompts/*.md (3 prompt definitions)
- server.py (entry point module)
- CLI command: spec-driven-development-mcp
Tested:
- Package builds successfully
- All required files present in wheel
- Entry point loads FastMCP instance correctly
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>
* fix: make entry point callable for console script
Address CodeRabbit review feedback by creating a callable main() function
for the console script entry point.
Changes:
- Add main() function to server.py that calls mcp.run()
- Update entry point from "server:mcp" to "server:main"
- Entry point now properly callable when installed via uvx
Fixes the TypeError that would occur when trying to invoke the
non-callable FastMCP instance directly.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>
---------
Co-authored-by: Claude <[email protected]>1 parent f2f4f27 commit 17cffda
2 files changed
+18
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
30 | 33 | | |
31 | | - | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
32 | 38 | | |
33 | 39 | | |
34 | 40 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
0 commit comments