|
1 | 1 | # MCP Create Server |
2 | 2 |
|
3 | | -[](https://pypi.org/project/create-mcp-server/) [](https://opensource.org/licenses/MIT) |
| 3 | +This project is now deprecated. |
4 | 4 |
|
5 | | -Create [Model Context Protocol (MCP)](https://modelcontextprotocol.io) server projects with no build configuration. |
6 | | - |
7 | | -## Quick Overview |
8 | | - |
9 | | -```sh |
10 | | -# Using uvx (recommended) |
11 | | -uvx create-mcp-server |
12 | | - |
13 | | -# Or using pip |
14 | | -pip install create-mcp-server |
15 | | -create-mcp-server |
16 | | -``` |
17 | | - |
18 | | -You don't need to install or configure any dependencies manually. The tool will set up everything you need to create an MCP server. |
19 | | - |
20 | | -## Creating a Server |
21 | | - |
22 | | -**You'll need to have [UV](https://docs.astral.sh/uv/) >= 0.4.10 installed on your machine.** |
23 | | - |
24 | | -To create a new server, run either of these commands: |
25 | | - |
26 | | -### Using uvx (recommended) |
27 | | -```sh |
28 | | -uvx create-mcp-server |
29 | | -``` |
30 | | - |
31 | | -### Using pip |
32 | | -```sh |
33 | | -pip install create-mcp-server |
34 | | -create-mcp-server |
35 | | -``` |
36 | | - |
37 | | -It will walk you through creating a new MCP server project. When complete, you'll have a new directory with this structure: |
38 | | - |
39 | | -``` |
40 | | -my-server/ |
41 | | -├── README.md |
42 | | -├── pyproject.toml |
43 | | -└── src/ |
44 | | - └── my_server/ |
45 | | - ├── __init__.py |
46 | | - ├── __main__.py |
47 | | - └── server.py |
48 | | -``` |
49 | | - |
50 | | -No configuration or complicated folder structures, only the files you need to run your server. |
51 | | - |
52 | | -Once installation is done, you can start the server: |
53 | | - |
54 | | -```sh |
55 | | -cd my-server |
56 | | -uv sync --dev --all-extras |
57 | | -uv run my-server |
58 | | -``` |
59 | | - |
60 | | -## Features |
61 | | - |
62 | | -- Simple command-line interface for creating new projects |
63 | | -- Auto-configures Claude Desktop app integration when available |
64 | | -- Uses [uvx](https://docs.astral.sh/uv/guides/tools/) for fast, reliable package management and project creation |
65 | | -- Sets up basic MCP server structure |
66 | | -- Uses the [Model Context Protocol Python SDK](https://github.com/modelcontextprotocol/python-sdk) for the server project |
67 | | - |
68 | | -## Philosophy |
69 | | - |
70 | | -- **Zero Configuration:** No need to manually set up project structure or dependencies. |
71 | | -- **Best Practices:** Follows Python packaging standards and MCP server patterns. |
72 | | -- **Batteries Included:** Comes with everything needed to start building an MCP server. |
73 | | - |
74 | | -## License |
75 | | - |
76 | | -Create MCP Server is open source software [licensed as MIT](https://opensource.org/licenses/MIT). |
| 5 | +Instead, create a single-file MCP server using the FastMCP API from the [Python SDK](https://github.com/modelcontextprotocol/python-sdk), and use the `mcp` CLI tool to easily test, install, and run it. |
0 commit comments