- MCP Server Practices
MCP Server Practices
Content
MCP Server Practices
An MCP server that provides tools and resources for development practices.
Features
Branch Management
The Practices MCP server provides tools for managing Git branches according to a standardized convention:
- feature/PMS-123-brief-description: Feature branches for new features (from develop)
- bugfix/PMS-123-brief-description: Bug fix branches (from develop)
- hotfix/1.0.1-brief-description: Hot fix branches for urgent fixes (from main)
- release/1.1.0: Release branches for preparing releases (from develop)
- docs/update-readme: Documentation branches (from develop)
Via MCP Tools
The server provides the following MCP tools:
validate_branch_name: Validates a branch name against the configured conventioncreate_branch: Creates a new branch following the conventionget_branch_info: Gets information about a branch
Example:
from mcp.tools import call_tool
# Validate a branch name
result = call_tool(
"practices",
"validate_branch_name",
{"branch_name": "feature/PMS-123-add-authentication"}
)
# Create a branch
result = call_tool(
"practices",
"create_branch",
{
"branch_type": "feature",
"identifier": "PMS-123",
"description": "add-authentication",
"update_jira": True
}
)
# Get branch info
result = call_tool(
"practices",
"get_branch_info",
{"branch_name": "feature/PMS-123-add-authentication"}
)
Via CLI
The package also provides a command-line interface:
# Validate a branch name
practices branch validate feature/PMS-123-add-authentication
# Create a branch
practices branch create feature PMS-123 add authentication
# Create a branch and update Jira status
practices branch create feature PMS-123 add authentication --update-jira
# Create a branch using Jira summary as description
practices branch create feature PMS-123 --fetch-jira
Integration with Jira
The server integrates with Jira to:
- Fetch issue summaries for use in branch names
- Update issue status when creating branches
Installation
-
Clone the repository
-
Create a virtual environment with
uv:uv venv source .venv/bin/activate -
Install the package in development mode:
uv pip install -e .Note: If you encounter issues with the
mcp-python-sdkdependency, you may need to install it separately or use a workaround specific to your environment.
Running the Server
# Activate the virtual environment
source .venv/bin/activate
# Run the MCP server
practices server
Development
- Create a virtual environment and install the package as described above
- Install development dependencies:
uv pip install -e ".[dev]" - Run tests:
# With the virtual environment activated PYTHONPATH=./src python -m unittest discover tests
License
MIT
Recommend Servers
TraeBuild with Free GPT-4.1 & Claude 3.7. Fully MCP-Ready.
CursorThe AI Code Editor
WindsurfThe new purpose-built IDE to harness magic
Serper MCP ServerA Serper MCP Server
Jina AI MCP ToolsA Model Context Protocol (MCP) server that integrates with Jina AI Search Foundation APIs.
Zhipu Web SearchZhipu Web Search MCP Server is a search engine specifically designed for large models. It integrates four search engines, allowing users to flexibly compare and switch between them. Building upon the web crawling and ranking capabilities of traditional search engines, it enhances intent recognition capabilities, returning results more suitable for large model processing (such as webpage titles, URLs, summaries, site names, site icons, etc.). This helps AI applications achieve "dynamic knowledge acquisition" and "precise scenario adaptation" capabilities.
DeepChatYour AI Partner on Desktop
MCP AdvisorMCP Advisor & Installation - Use the right MCP server for your needs
ChatWiseThe second fastest AI chatbot™
Visual Studio Code - Open Source ("Code - OSS")Visual Studio Code
Howtocook Mcp基于Anduin2017 / HowToCook (程序员在家做饭指南)的mcp server,帮你推荐菜谱、规划膳食,解决“今天吃什么“的世纪难题;
Based on Anduin2017/HowToCook (Programmer's Guide to Cooking at Home), MCP Server helps you recommend recipes, plan meals, and solve the century old problem of "what to eat today"
AiimagemultistyleA Model Context Protocol (MCP) server for image generation and manipulation using fal.ai's Stable Diffusion model.
MiniMax MCPOfficial MiniMax Model Context Protocol (MCP) server that enables interaction with powerful Text to Speech, image generation and video generation APIs.
TimeA Model Context Protocol server that provides time and timezone conversion capabilities. This server enables LLMs to get current time information and perform timezone conversions using IANA timezone names, with automatic system timezone detection.
Context7Context7 MCP Server -- Up-to-date code documentation for LLMs and AI code editors
EdgeOne Pages MCPAn MCP service designed for deploying HTML content to EdgeOne Pages and obtaining an accessible public URL.
Tavily Mcp
Playwright McpPlaywright MCP server
Amap Maps高德地图官方 MCP Server
Baidu Map百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
BlenderBlenderMCP connects Blender to Claude AI through the Model Context Protocol (MCP), allowing Claude to directly interact with and control Blender. This integration enables prompt assisted 3D modeling, scene creation, and manipulation.