MCP Codestyle Server 是一个基于 Spring AI 实现的 Model Context Protocol (MCP) 服务器,为 IDE 和 AI 代理提供代码模板搜索和检索工具。该服务从本地缓存查找模板,并在缺失时自动从远程仓库下载元数据和文件进行修复。
Quick Install
Copy the config for your editor. Some servers may need additional setup — check the README.
Add to claude_desktop_config.json:
{
"mcpServers": {
"mcp-codestyle-server": {
"command": "npx",
"args": [
"-y",
"itxaiohanglover/mcp-codestyle-server"
]
}
}
}
Run in terminal:
claude mcp add mcp-codestyle-server npx -y itxaiohanglover/mcp-codestyle-server
Add to .cursor/mcp.json:
{
"mcpServers": {
"mcp-codestyle-server": {
"command": "npx",
"args": [
"-y",
"itxaiohanglover/mcp-codestyle-server"
]
}
}
}