create-mcp-server


Namecreate-mcp-server JSON
Version 1.0.5 PyPI version JSON
download
home_pageNone
SummaryCreate an Model Context Protocol server project from a template.
upload_time2024-11-24 21:06:31
maintainerNone
docs_urlNone
authorAnthropic, PBC.
requires_python>=3.10
licenseMIT
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # MCP Create Server

[![PyPI](https://img.shields.io/pypi/v/create-mcp-server)](https://pypi.org/project/create-mcp-server/) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)

Create [Model Context Protocol (MCP)](https://modelcontextprotocol.io) server projects with no build configuration.

## Quick Overview

```sh
# Using uvx (recommended)
uvx create-mcp-server

# Or using pip
pip install create-mcp-server
create-mcp-server
```

You don't need to install or configure any dependencies manually. The tool will set up everything you need to create an MCP server.

## Creating a Server

**You'll need to have [UV](https://docs.astral.sh/uv/) >= 0.4.10 installed on your machine.**

To create a new server, run either of these commands:

### Using uvx (recommended)
```sh
uvx create-mcp-server
```

### Using pip
```sh
pip install create-mcp-server
create-mcp-server
```

It will walk you through creating a new MCP server project. When complete, you'll have a new directory with this structure:

```
my-server/
├── README.md
├── pyproject.toml
└── src/
    └── my_server/
        ├── __init__.py
        ├── __main__.py
        └── server.py
```

No configuration or complicated folder structures, only the files you need to run your server.

Once installation is done, you can start the server:

```sh
cd my-server
uv sync --dev --all-extras
uv run my-server
```

## Features

- Simple command-line interface for creating new projects
- Auto-configures Claude Desktop app integration when available
- Uses [uvx](https://docs.astral.sh/uv/guides/tools/) for fast, reliable package management and project creation
- Sets up basic MCP server structure
- Uses the [Model Context Protocol Python SDK](https://github.com/modelcontextprotocol/python-sdk) for the server project

## Philosophy

- **Zero Configuration:** No need to manually set up project structure or dependencies.
- **Best Practices:** Follows Python packaging standards and MCP server patterns.
- **Batteries Included:** Comes with everything needed to start building an MCP server.

## License

Create MCP Server is open source software [licensed as MIT](https://opensource.org/licenses/MIT).

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "create-mcp-server",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.10",
    "maintainer_email": "David Soria Parra <davidsp@anthropic.com>, Justin Spahr-Summers <justin@anthropic.com>",
    "keywords": null,
    "author": "Anthropic, PBC.",
    "author_email": null,
    "download_url": "https://files.pythonhosted.org/packages/f6/3b/89db3d85c6facda4ba231095c28d593ab5f5dcad24f267cb367fd9849939/create_mcp_server-1.0.5.tar.gz",
    "platform": null,
    "description": "# MCP Create Server\n\n[![PyPI](https://img.shields.io/pypi/v/create-mcp-server)](https://pypi.org/project/create-mcp-server/) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n\nCreate [Model Context Protocol (MCP)](https://modelcontextprotocol.io) server projects with no build configuration.\n\n## Quick Overview\n\n```sh\n# Using uvx (recommended)\nuvx create-mcp-server\n\n# Or using pip\npip install create-mcp-server\ncreate-mcp-server\n```\n\nYou don't need to install or configure any dependencies manually. The tool will set up everything you need to create an MCP server.\n\n## Creating a Server\n\n**You'll need to have [UV](https://docs.astral.sh/uv/) >= 0.4.10 installed on your machine.**\n\nTo create a new server, run either of these commands:\n\n### Using uvx (recommended)\n```sh\nuvx create-mcp-server\n```\n\n### Using pip\n```sh\npip install create-mcp-server\ncreate-mcp-server\n```\n\nIt will walk you through creating a new MCP server project. When complete, you'll have a new directory with this structure:\n\n```\nmy-server/\n\u251c\u2500\u2500 README.md\n\u251c\u2500\u2500 pyproject.toml\n\u2514\u2500\u2500 src/\n    \u2514\u2500\u2500 my_server/\n        \u251c\u2500\u2500 __init__.py\n        \u251c\u2500\u2500 __main__.py\n        \u2514\u2500\u2500 server.py\n```\n\nNo configuration or complicated folder structures, only the files you need to run your server.\n\nOnce installation is done, you can start the server:\n\n```sh\ncd my-server\nuv sync --dev --all-extras\nuv run my-server\n```\n\n## Features\n\n- Simple command-line interface for creating new projects\n- Auto-configures Claude Desktop app integration when available\n- Uses [uvx](https://docs.astral.sh/uv/guides/tools/) for fast, reliable package management and project creation\n- Sets up basic MCP server structure\n- Uses the [Model Context Protocol Python SDK](https://github.com/modelcontextprotocol/python-sdk) for the server project\n\n## Philosophy\n\n- **Zero Configuration:** No need to manually set up project structure or dependencies.\n- **Best Practices:** Follows Python packaging standards and MCP server patterns.\n- **Batteries Included:** Comes with everything needed to start building an MCP server.\n\n## License\n\nCreate MCP Server is open source software [licensed as MIT](https://opensource.org/licenses/MIT).\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Create an Model Context Protocol server project from a template.",
    "version": "1.0.5",
    "project_urls": {
        "Homepage": "https://modelcontextprotocol.io",
        "Repository": "https://github.com/modelcontextprotocol/create-python-server"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "f4edb6f3c429d23f2e13fd8d3962c16ea7d5c8910bd1c1b7b0464304c3879237",
                "md5": "0c10cafa510ff57694ff108e8f43300f",
                "sha256": "a18ac3278a04d3ce1ca340a29f42729755714e3fda14b3f8d099564d53ccb8e9"
            },
            "downloads": -1,
            "filename": "create_mcp_server-1.0.5-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "0c10cafa510ff57694ff108e8f43300f",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.10",
            "size": 10553,
            "upload_time": "2024-11-24T21:06:30",
            "upload_time_iso_8601": "2024-11-24T21:06:30.061644Z",
            "url": "https://files.pythonhosted.org/packages/f4/ed/b6f3c429d23f2e13fd8d3962c16ea7d5c8910bd1c1b7b0464304c3879237/create_mcp_server-1.0.5-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "f63b89db3d85c6facda4ba231095c28d593ab5f5dcad24f267cb367fd9849939",
                "md5": "ba009f2a29d41be88f96d8aa33f6a70a",
                "sha256": "8639469fe61624ca26e74a07ec873316f10ac0464ee48281655afd3d2cf66681"
            },
            "downloads": -1,
            "filename": "create_mcp_server-1.0.5.tar.gz",
            "has_sig": false,
            "md5_digest": "ba009f2a29d41be88f96d8aa33f6a70a",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.10",
            "size": 22449,
            "upload_time": "2024-11-24T21:06:31",
            "upload_time_iso_8601": "2024-11-24T21:06:31.948952Z",
            "url": "https://files.pythonhosted.org/packages/f6/3b/89db3d85c6facda4ba231095c28d593ab5f5dcad24f267cb367fd9849939/create_mcp_server-1.0.5.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-11-24 21:06:31",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "modelcontextprotocol",
    "github_project": "create-python-server",
    "github_not_found": true,
    "lcname": "create-mcp-server"
}
        
Elapsed time: 8.31404s