Quack MCP Server

by nowucca

167 downloads Not rated yet
GitHub

About

# Quack MCP Server Quack is a continuous integration server built as an MCP server that automates code analysis and testing for Python code. It provides tools for linting and static type analysis of Python code. ## Features - **Linting**: Analyzes Python code for style, formatting, and code quality issues using…

Explore

- Linting: Analyzes Python code for style, formatting, and code quality issues using pylint.
- Static Analysis: Performs static type checking using mypy to identify type errors.
- Asynchronous Processing: Jobs are processed asynchronously, allowing for concurrent analysis of multiple code submissions.
- Job Management: Track and retrieve results of submitted jobs.

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name Quack MCP Server
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

Quack exposes the following MCP tools:

1. submit_code: Submit code for both linting and static analysis.
2. submit_code_for_linting: Submit code for linting only.
3. submit_code_for_static_analysis: Submit code for static analysis only.
4. get_job_results: Get the results of a submitted job.
5. list_jobs: List all jobs and their status.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "quack mcp server": {
            "quack-mcp-server": {
                "command": "python3",
                "args": [
                    "quack.py"
                ]
            }
        }
    }
}

McpServers

{
    "quack-mcp-server": {
        "command": "python3",
        "args": [
            "quack.py"
        ]
    }
}

Quack is a continuous integration server built as an MCP server that automates code analysis and testing for Python code. It provides tools for linting and static type analysis of Python code.

Features

- Linting: Analyzes Python code for style, formatting, and code quality issues using pylint.
- Static Analysis: Performs static type checking using mypy to identify type errors.
- Asynchronous Processing: Jobs are processed asynchronously, allowing for concurrent analysis of multiple code submissions.
- Job Management: Track and retrieve results of submitted jobs.

Installation

1. Clone the repository:

git clone https://github.com/yourusername/quack.git
cd quack

2. Install dependencies:

pip install -r requirements.txt

The Quack server requires the following dependencies:

mcp[cli]
pylint
mypy
pytest
pytest-asyncio

Usage

Starting the Server

To start the Quack server with stdio transport (default):

python3 quack.py

For debug logging:

python3 quack.py --debug

To start the server with SSE (Server-Sent Events) transport for HTTP communication:

python3 quack.py --sse --host=0.0.0.0 --port=8000

Alternatively, you can use the provided shell script:

```bash

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.