Loading languages...
@F

@first-to-fly/code-cleanup

@first-to-fly

A Bun TypeScript project that provides a Model Context Protocol (MCP) server for cleaning up code files using Google's Generative AI. It backs up original files in a .stash directory and allows users to optionally define custom system prompts for the cleanup process.

code cleanup
typescript
bun
google generative ai

# mcpServer Config

{
  "mcpServers": {
    "code-cleanup": {
      "type": "stdio",
      "timeout": 300,
      "command": "npx",
      "args": [
        "--yes",
        "@first-to-fly/code-cleanup"
      ],
      "env": {
        "CODEBASE_PATH": "__PWD__",
        "GOOGLE_API_KEY": "__CODEBASE_GOOGLE_API_KEY__"
      },
      "alwaysAllow": [
        "cleanup_code_files"
      ],
      "disabled": false
    }
  }
}

# stdio

npx --yes @first-to-fly/code-cleanup
Transport:
stdio
Sprache:
TypeScript
Erstellt:4/5/2025
Aktualisiert:4/5/2025