Skip to main content

PDQ Deploy MCP Server

This project is an MCP (Model Context Protocol) server that provides read-only access to PDQ Deploy through a clone of its SQLite database. You can simply ask a question in plain English and have an AI agent query PDQ Deploy for you! This works well for open-ended, complex problems and questions that you can wait on while eating lunch.

This project was created by Evan Redden.

Requirements

  • Python 3.10+ and version 2.0.0+ of the mcp module.
  • Access to a PDQ Deploy SQLite database.
  • An MCP-compatible client like GitHub Copilot in VS Code.

Installation

You can easily install this repository as a PIP package:

pip install pdq-deploy-mcp

If you want to modify this repository, you can clone it and install the required modules instead:

git clone "https://github.com/eredden/PDQ-Deploy-MCP"

cd "PDQ-Deploy-MCP"

pip install -e .

Setup

You must create a clone of your PDQ Deploy SQLite database to read from. Do not use Copy-Item or robocopy to copy the database, as copying mid-write will corrupt your clone. Use the native BackupDatabase command provided with PDQ Deploy to avoid corruption:

PDQDeploy BackupDatabase -Path "C:\Backups\PDQ\" -Force

If you are using the .mcp.json config provided for GitHub Copilot in this repository, then save the database in the default .\db\Database.db path of this repository.

Do not point this MCP server at a live PDQ Deploy database. Using the live database will create SHARED locks that prevent PDQ Deploy from writing to the SQLite database.

Usage

GitHub Copilot in Visual Studio Code

  1. Open this repository in Visual Studio Code.
  2. Open the .mcp.json file and select Start above the pdq-deploy-mcp string.
  3. Open the Interactive Chat in Visual Studio Code using CTRL + Alt + I.
  4. If you have not already authenticated with GitHub Coplot, then do that!
  5. Ask GitHub Copilot about anything related to PDQ Deploy!

Other Coding Assistants

You can run this MCP server manually using the following command:

pdq-deploy-mcp --db-path ".\path\to\your\Database.db"

As for how to integrate it with other AI coding assistants, figure it out! Feel free to contribute information here if you find a way to do this.

Metadata

Release files for pdq-deploy-mcp 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pdq-deploy-mcp 1.0.0
File Size Uploaded Provenance Actions
pdq_deploy_mcp-1.0.0.tar.gz 7.3 kB Without provenance Details for pdq_deploy_mcp-1.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pdq-deploy-mcp 1.0.0
File Interpreter ABI Platform Actions
pdq_deploy_mcp-1.0.0-py3-none-any.whl Python 3 none any Details for pdq_deploy_mcp-1.0.0-py3-none-any.whl

Total release size: 14.6 kB

Release files / pdq_deploy_mcp-1.0.0.tar.gz

Download URL pdq_deploy_mcp-1.0.0.tar.gz
Size 7.3 kB
Tags Source
SHA-256 checksum
How to use checksums
5f72143fab2aa0c5b1b1b88773baebd6126f01c8384482bd6a667650843f20b6
BLAKE2b-256 checksum
How to use checksums
c1328a162bc83075da933d062d0147b490df8535eac5ced14a201490f0d3592d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.7

Release files / pdq_deploy_mcp-1.0.0-py3-none-any.whl

Download URL pdq_deploy_mcp-1.0.0-py3-none-any.whl
Size 7.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4968489c355eb29cc60d1c8b537b8966b3163a7b5203f8efa9a6aec20e0125b6
BLAKE2b-256 checksum
How to use checksums
5d6dc54a57e050b34f47f285f84656937fd16e889b80e50c683401cabddd0725
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.7

Security for pdq-deploy-mcp 1.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page