Integrations
Provides access to Python coding style guidelines based on PEP 8 and best practices for project layout, dependency management, and testing.
Offers React best practices including component structure, hooks usage, component patterns, state management, performance optimization, and TypeScript integration.
编码标准 MCP 服务器
该 MCP 服务器提供用于访问各种技术(Java、Python、React)的编码风格指南和最佳实践的工具。
先决条件
- Python 3.8 或更高版本
- MCP 包(
pip install mcp
) - UV 包管理器(推荐)
快速入门
- 在Claude中安装服务器:
- 以开发模式运行:
MCP 检查器将在端口 3000 上启动。
可用工具
风格指南
访问特定于语言的编码样式指南:
- Java:整洁代码实践、命名约定、代码组织
- Python:基于 PEP 8 的指南,Pythonic 代码实践
- React:组件结构、钩子使用、TypeScript 集成
最佳实践
访问特定语言的应用程序最佳实践:
- Java:项目结构、架构、测试、安全性
- Python:项目布局、依赖管理、测试实践
- React:组件模式、状态管理、性能优化
API 参考
java_style_guide
:获取 Java 编码风格指南- 返回:Markdown 格式的样式指南
- 示例:
nortal_coding_standards_java_style_guide()
java_best_practices
:获取 Java 应用程序最佳实践- 返回:Markdown 格式的最佳实践
- 示例:
nortal_coding_standards_java_best_practices()
python_style_guide
:获取 Python 编码风格指南- 返回:Markdown 格式的样式指南
- 例如:
nortal_coding_standards_python_style_guide()
python_best_practices
:获取 Python 应用程序最佳实践- 返回:Markdown 格式的最佳实践
- 示例:
nortal_coding_standards_python_best_practices()
react_best_practices
:获取 React 应用程序最佳实践- 返回:Markdown 格式的最佳实践
- 示例:
nortal_coding_standards_react_best_practices()
配置
MCP 客户端配置
将其添加到您的 MCP 客户端配置文件(例如~/.codeium/windsurf/mcp_config.json
):
将/absolute/path/to/coding-standards-mcp/server.py
替换为您的实际服务器路径。
This server cannot be installed
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
提供用于访问各种技术(包括 Java、Python 和 React)的编码风格指南和最佳实践的工具。
Related Resources
Related MCP Servers
- AsecurityAlicenseAqualityProvides tools for collecting and documenting code from directories.Last updated -48112TypeScriptMIT License
- AsecurityAlicenseAqualityFacilitates searching and accessing programming resources across platforms like Stack Overflow, MDN, GitHub, npm, and PyPI, aiding LLMs in finding code examples and documentation.Last updated -625JavaScriptAGPL 3.0
- -securityFlicense-qualityA utility toolkit that enhances Claude's code interaction capabilities by providing seamless tools for Java code analysis, manipulation, and testing workflows.Last updated -2TypeScript
- -securityAlicense-qualityA server that provides structured access to markdown documentation from NPM packages, Go Modules, or PyPi packages, enabling informed code generation by exposing these docs as resources or tools.Last updated -1TypeScriptMIT License