MCP Server Template (Python)
Description
# MCP Server Template (Python) [](https://www.python.org/downloads/) [](https://opensource.org/licenses/MIT) A ready-to-use template for…
About
# MCP Server Template (Python) [](https://www.python.org/downloads/) [](https://opensource.org/licenses/MIT) A ready-to-use template for building Model Context Protocol (MCP) servers…
Details
- Author
- Nisarg38
- GitHub stars
- 2
- Downloads
- 256
- Categories
- Developer Tools
Jump to
- Ready-to-use template for MCP servers in Python.
- Register and expose tools and prompts for AI models.
- HTTP and stdio transport options.
- Command-line configuration for port, debug mode, and logging.
- Docker and cloud deployment support.
- Development tools: testing, formatting, linting.
Setting up with Highlight
This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:
- Download and install Highlight from highlightai.com/download
- Navigate to the plugins tab and select "Add Custom Plugin"
-
Configure the plugin with the settings below
Plugin Name
MCP Server Template (Python)Command (node, npx, python, etc.)Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.
- Enable "Start Automatically" if you want the plugin to start when Highlight launches
From the repository
Install the package with pip, then run with python -m src.main or the mcp-server-template CLI. Customize with command-line options like --port, --debug, --transport stdio, and --log-level. Add your own tools and prompts by editing src/main.py and using the @mcp.tool() and @mcp.prompt() decorators.
Claude Desktop / Cursor
Paste into your MCP client config file to install this server.
{
"mcpServers": {
"mcp server template (python)": {
"mcp-server-template-python-nisarg38": {
"command": "python",
"args": [
"-m",
"src.main"
]
}
}
}
}
McpServers
{
"mcp-server-template-python-nisarg38": {
"command": "python",
"args": [
"-m",
"src.main"
]
}
}
MCP Server Template (Python)
A ready-to-use template for building Model Context Protocol (MCP) servers in Python. This template helps you quickly create servers that can register and expose tools and prompts for AI models to use.
📚 Table of Contents
- Quick Start
- Command Line Options
- Creating Your Own Tools and Prompts
- Project Structure
- Deployment Options
- Development Guide
- Need Help?
🚀 Quick Start
Prerequisites
- Python 3.10 or newer
Setup in 3 Easy Steps
1️⃣ Install the package
```bash
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.





