MCP-Server for Programmers
@zaizaizhao
关于 MCP-Server for Programmers
一个为程序员学习助力的Model Context Protocol服务器。
基本信息
配置
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"mcp-for-programmer": {
"command": "npx",
"args": [
"mcp-for-programmer"
]
}
}
}工具
未检测到工具
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
What is MCP-Server for Programmers?
MCP-Server for Programmers is a Model Context Protocol server designed to help programmers understand and learn code. It parses code through prompt templates, providing code explanations, technical stack analysis, and best practice suggestions to assist junior developers in grasping complex code.
How to use MCP-Server for Programmers?
Install via npm (npm install mcp-for-programmer) or clone the repository. Start the server using commands like npx mcp-for-programmer (stdio) or with flags for other transports: --transport sse --port 3322. Create YAML prompt templates in the prompts directory; they are automatically loaded and registered as tools. The server can also be debugged with MCP Inspector.
Key features of MCP-Server for Programmers
- Supports multiple transports (stdio, SSE, streamable, HTTP Stream)
- YAML prompt templates with variable substitution and conditional rendering
- Automatic conversion of prompts into MCP tools
- Built-in Express server providing REST API endpoints
- Integration with MCP Inspector for easy debugging
- Standardized prompt specifications for consistency and maintainability
Use cases of MCP-Server for Programmers
- Explain code functionality and implementation details for any programming language
- Analyze a project’s technical stack and architecture
- Provide code optimization and best practice suggestions
- Generate product requirement documents and prototype designs via prompts
- Assist junior programmers in rapidly understanding unfamiliar codebases
FAQ from MCP-Server for Programmers
What transports are supported?
The server supports stdio, SSE, streamable, and HTTP Stream transports. Use the appropriate --transport flag when starting.
How do I create a new prompt template?
Create a .yaml file in the prompts directory following the schema defined in prompt-schema.yaml. The file must include a name, description, optional arguments, and messages.
What API endpoints are available?
The built-in Express server provides GET /api/models, POST /api/query, GET /api/prompts, and GET /api/prompts/:filename for querying models and managing prompts.
What are the runtime dependencies?
The project uses TypeScript, Node.js, Express.js, the Model Context Protocol SDK, Rollup for building, YAML parsing, and Zod for validation.
Where is the prompt data stored and is authentication required?
Prompt templates are stored locally as YAML files in the prompts directory. The README does not mention any authentication mechanisms for the server.
其他 分类下的更多 MCP 服务器
ICSS
chokcoco不止于 CSS
Nginx UI
0xJackyYet another WebUI for Nginx
🪟 Windows-MCP
CursorTouchMCP Server for Computer Use in Windows

EverArt
modelcontextprotocolModel Context Protocol Servers
MaxKB
1Panel-dev🔥 MaxKB is an open-source platform for building enterprise-grade agents. 强大易用的开源企业级智能体平台。
评论