Token导航 LogoToken导航TokenDH.com
MCP Pii Detector logo
开发工具stdio官方级别未说明来源级核验

MCP Pii Detector

MCP Server

一个现代化的Python项目开发工具包,提供代码质量检查、安全扫描、自动化测试、文档生成等功能。

工具数

0

提示词数

0

GitHub Stars

1

资源数

0
安全代码质量ShellVS Code文档生成VS Code

安装说明

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

作者 / 组织

okadai23

提供方

okadai23

最后核验

2026/5/17 20:21

运行时

Docker

快速接入

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

命令预览

docker run {{PROJECT_NAME_SLUG}}

详细介绍

{{PROJECT_NAME}}

{{PROJECT_DESCRIPTION}}

Features

  • Modern Python project structure with uv and nox
  • Comprehensive code quality tools (Ruff, Black, isort, Pyright)
  • Security scanning (Bandit, pip-audit, Safety)
  • Automated testing with pytest and coverage
  • Documentation with MkDocs Material
  • Pre-commit hooks for code quality
  • Conventional commits with Commitizen
  • GitHub Actions CI/CD pipeline
  • Docker support

Quick Start

Prerequisites

  • Python 3.12+
  • uv (Python package manager)

Installation

# Clone the repository
git clone 
cd {{PROJECT_NAME_SLUG}}

# Install dependencies
uv pip install -e ".[dev]"

# Install pre-commit hooks
pre-commit install

Development Commands

CommandDescription
nox -s lintRun linting with Ruff
nox -s format_codeFormat code with Ruff
nox -s typingRun type checking with Pyright
nox -s testRun tests with coverage
nox -s securityRun security checks
nox -s docsBuild documentation
nox -s ciRun all CI checks
nox -s all_checksRun all quality checks

Testing

# Run tests with coverage
nox -s test

# Run tests in parallel
pytest -n auto

# Run specific test markers
pytest -m "not slow"

Documentation

# Build documentation
nox -s docs

# Serve documentation locally
mkdocs serve

Docker

# Build Docker image
docker build -t {{PROJECT_NAME_SLUG}} .

# Run Docker container
docker run {{PROJECT_NAME_SLUG}}

Project Structure

{{PROJECT_NAME_SLUG}}/
├── src/                    # Source code
├── tests/                  # Test files
├── docs/                   # Documentation
├── .github/                # GitHub configuration
├── .vscode/                # VS Code settings
├── constraints/            # Dependency constraints
├── pyproject.toml          # Project configuration
├── noxfile.py              # Nox tasks
├── mkdocs.yml              # Documentation configuration
├── Dockerfile              # Docker configuration
└── README.md               # This file

Contributing

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes
  4. Run quality checks: nox -s all_checks
  5. Commit using conventional commits: cz commit
  6. Create a pull request

Development Workflow

Code Quality

The project uses several tools to maintain code quality:

  • Ruff: Fast Python linter and formatter
  • Black: Uncompromising code formatter
  • isort: Import sorting
  • Pyright: Type checking
  • Bandit: Security linting
  • pip-audit: Dependency vulnerability scanning
  • Safety: Commercial-grade security scanning

Pre-commit Hooks

Pre-commit hooks automatically run quality checks before each commit:

# Install pre-commit hooks
pre-commit install

# Run all hooks manually
pre-commit run --all-files

Conventional Commits

The project uses conventional commits for versioning:

# Use Commitizen for commits
cz commit

# Bump version
cz bump

License

This project is licensed under the {{LICENSE_TYPE}} License - see the LICENSE file for details.

開発環境セットアップ手順

手動セットアップ

pipx のインストール(入っていない場合)

sudo apt update
sudo apt install pipx
pipx ensurepath

詳細はpipx の公式ドキュメントを参照してください。

uv のインストール

pipx install uv

詳細はuv の公式ドキュメントを参照してください。

対象の Python バージョンのインストール

uv python install [TARGET_PYTHON_VERSION]

仮想環境の作成

uv venv

ライブラリのインストール

uv sync

pre-commit の設定

uv run pre-commit install

ここまではsetup.shで実行できます

nox の実行

uv run nox

仮想環境の有効化

source .venv/bin/activate

仮想環境の終了

deactivate

自動セットアップスクリプト

環境のセットアップを自動化するために、setup.shスクリプトを用意しています。

setup.sh の使用方法

このスクリプトを使用することで、開発環境のセットアップを簡単に行うことができます。

  1. setup.shファイルをプロジェクトのルートディレクトリに配置します。
  1. スクリプトに実行権限を付与します:
    chmod +x setup.sh
  1. スクリプトを実行します:
    ./setup.sh

注意事項:

  • スクリプトは sudo コマンドを使用するため、実行時にパスワードの入力を求められる場合があります。
  • Python のバージョンインストール行はデフォルトでコメントアウトされています。使用する場合は、スクリプトを編集し、適切なバージョン番号を指定してください。
  • 仮想環境の有効化と終了は、スクリプト実行後に手動で行う必要があります。

目录标签

目录标签

安全代码质量ShellVS Code文档生成本地部署自动化测试安全扫描Python开发

支持客户端

VS Code

接入字段

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

stdio

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

none

运行时(runtime,运行环境)

Docker

工具数量(toolCount,工具数)

0

资源数量(resourceCount,资源数)

0

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

0

权限和风险

stdionone部署方式未说明

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

安装前确认

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

来源信息

继续浏览同类 MCP