Token导航 LogoToken导航TokenDH.com
btx fix MCP logo
安全风控stdio官方级别未说明来源级核验

btx fix MCP

MCP Server

glintefy是一个全面的代码分析和自动修复工具,提供18种以上的质量分析、安全扫描、缓存优化和文档覆盖率检查,支持CLI和MCP服务器两种使用方式。

工具数

0

提示词数

0

GitHub Stars

1

资源数

0
安全PythonClaudeClaude DesktopClaude

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

作者 / 组织

bitranox

提供方

bitranox

最后核验

2026/5/17 20:19

快速接入

先看主来源和安装命令,再打开仓库或文档;下面只保留这个条目的关键接入事实。

命令预览

pip install uv

详细介绍

闪闪发光

![CI](https://github.com/bitranox/glintefy/actions/workflows/ci.yml) ![CodeQL](https://github.com/bitranox/glintefy/actions/workflows/codeql.yml) ![License: MIT](LICENSE) ![Open in Codespaces](https://codespaces.new/bitranox/glintefy?quickstart=1) ![PyPI](https://pypi.org/project/glintefy/) ](https://pypi.org/project/glintefy/) ![Code Style: Ruff](https://docs.astral.sh/ruff/) ![codecov](https://codecov.io/gh/bitranox/glintefy) ![Maintainability](https://qlty.sh/gh/bitranox/projects/glintefy) ![security: bandit](https://github.com/PyCQA/bandit)

代码审查和自动修复工具-作为CLI和MCP服务器提供。

它可用,但处于非常早期的测试阶段——高流失率和制动变化——发布以确保pypi包名称

MCP部分完全未经测试且无法运行——CLI子服务器正在工作,但仍在开发中

______________________________________________________________________

什么是闪闪发光?

glintefy提供全面的代码分析:

  • 18+质量分析:复杂性、可维护性、重复性、类型覆盖率、死代码
  • 安全扫描:用于漏洞检测的Bandit集成
  • 缓存优化:基于证据 @lru_cache 建议
  • 文件覆盖范围:文档字符串完整性分析

有两种使用方法:

模式最适合
命令行界面直接命令行使用、CI/CD管道、脚本
MCP服务器与Claude Desktop集成,人工智能辅助工作流程

______________________________________________________________________

快速开始

安装

# Recommended: uv
pip install uv
uv pip install glintefy

# Alternative: pip
pip install glintefy

# Development
git clone https://github.com/bitranox/glintefy
cd glintefy && make dev

CLI用法(简单)

# Deploy configuration (recommended first step) - this creates a config file with the settings for all tests to adjust
glintefy config-deploy --target app

# Review uncommitted git changes (default)
glintefy review all

# Review all files
glintefy review all --mode full

# Run specific analysis
glintefy review quality
glintefy review security

# Cache optimization with profiling (recommended)
glintefy review profile -- python -m your_app    # Profile your app
glintefy review profile -- pytest tests/         # Or profile tests
glintefy review cache                            # Then analyze

# Clean up analysis data
glintefy review clean                            # Delete all
glintefy review clean -s profile                 # Delete profile only
glintefy review clean --dry-run                  # Preview deletion

MCP服务器使用(简单)

添加到Claude桌面配置(~/.config/claude/claude_desktop_config.json):

{
  "mcpServers": {
    "glintefy-review": {
      "command": "python",
      "args": ["-m", "glintefy.servers.review"]
    }
  }
}

然后在Claude Desktop中:

“检查此项目的代码质量”

______________________________________________________________________

文档

入门指南

文档描述
CLI快速入门5分钟后开始使用CLI
MCP快速入门为Claude Desktop设置MCP服务器
安装指南所有安装方法

用户指南

文档描述
CLI 参考所有CLI命令和选项
MCP工具参考MCP工具和资源
配置所有配置选项
缓存分析LRU缓存优化指南

发展

文档描述
开发指南设置、测试、制定目标
建筑系统设计概述
贡献如何做出贡献

______________________________________________________________________

功能概述

可用分析

分析描述CLI命令
范围文件发现、git更改review scope
质量复杂性、可维护性、重复性review quality
安全漏洞扫描(Bandit)review security
依赖项过时的软件包、漏洞review deps
文档文档字符串覆盖率review docs
演出热点检测、分析review perf
缓存LRU缓存优化review cache

质量指标

度量工具阈值
圈复杂度radon≤10
函数长度自定义≤50行
嵌套深度自定义≤3级
维修性指数≥20
类型覆盖率mypy≥80%
文档字符串覆盖率查询≥80%

______________________________________________________________________

需求

  • Python 3.13+
  • Git(可选)

Git集成

Git是 可选的 但能够实现附加功能:

功能没有Git有Git
范围模式--mode full 扫描所有文件--mode git 仅扫描未提交的更改(默认)
代码改动跳过分析频繁修改的文件
分支信息显示“N/A”显示当前分支

当git不可用时:

  • --mode git 自动回退到 --mode full 带有警告
  • 代码流失分析被自动跳过
  • 缓存分析无需git即可工作(使用内存中的文件备份)
  • 所有其他分析工作正常

______________________________________________________________________

许可证

MIT许可证

______________________________________________________________________

链接

目录标签

目录标签

安全PythonClaude代码质量分析本地部署安全扫描缓存优化文档覆盖率自动化修复

支持客户端

Claude DesktopClaude

接入字段

传输方式(transport,传输协议)

stdio

鉴权方式(authType,认证方式)

token

工具数量(toolCount,工具数)

0

资源数量(resourceCount,资源数)

0

提示词数量(promptCount,提示词数)

0

权限和风险

stdiotoken部署方式未说明

接入前请确认传输方式、认证方式和部署位置,并根据实际工具能力限制访问范围。

安装前确认

不要直接授予不必要的文件、网络或账号权限;先核对安装命令和配置内容。

来源信息

继续浏览同类 MCP