Feedback

DeepSource MCP Server

@sapientpants Claim

Basic information

Runtime
TypeScript
Version
1.0.0
Category
License
MIT
Transports
stdio
Author
sapientpants
Submitted by
Community
Quality
20
Stars
6

About DeepSource MCP Server

Integrate DeepSource's static code analysis tools for real-time project metrics, issue tracking, and code quality insights in your workflow.

DeepSource is a MCP server in the Auth Security category listed in the AddMCP.net directory, published by sapientpants. Supported transport: stdio. Runtime: TypeScript. License: MIT. The repository has 6 GitHub stars. Source code is hosted on github.com. Related topics: auth-security, community, deepsource, developer-tools, mcp.

Setup

{
    "mcpServers": {
        "deepsource": {
            "command": "npx",
            "args": [
                "-y",
                "deepsource-mcp-server@latest"
            ],
            "env": {
                "DEEPSOURCE_API_KEY": "your-deepsource-api-key"
            }
        }
    }
}

DeepSource MCP Server config

Add this server to your MCP-compatible client using the configuration below.

{
    "mcpServers": {
        "deepsource": {
            "command": "npx",
            "args": [
                "-y",
                "deepsource-mcp-server@latest"
            ],
            "env": {
                "DEEPSOURCE_API_KEY": "your-deepsource-api-key"
            }
        }
    }
}

DeepSource MCP Server tools

Tool list not available yet

This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.

We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.

Overview

What is DeepSource?

The DeepSource MCP Server is a Model Context Protocol (MCP) server that integrates with DeepSource to give AI assistants access to code quality metrics, issues, and analysis results. It enables AI assistants to retrieve code metrics, filter issues, check quality status, and analyze project quality over time via DeepSource’s GraphQL API.

How to use DeepSource?

Install via npm (npx [email protected]) or run the Docker image (sapientpants/deepsource-mcp-server). Provide your DeepSource API key as the environment variable DEEPSOURCE_API_KEY. Configure the server in your AI assistant’s MCP client, e.g., by adding a deepsource entry to claude_desktop_config.json with the appropriate command and environment variable.

Key features of DeepSource

  • Integrates with DeepSource via GraphQL API
  • Implements the Model Context Protocol for AI assistants
  • Retrieves project lists, issues, and analysis runs
  • Supports pagination and filtering of results
  • Built with TypeScript for type safety
  • Runs on Linux, macOS, and Windows

Use cases of DeepSource

  • An AI assistant checks the latest code quality issues from a DeepSource project
  • A developer queries analysis run history for a specific project
  • An automated workflow retrieves issue details for a given commit
  • A code review tool surfaces DeepSource findings during pull request analysis

Frequently asked questions

1 What does the DeepSource MCP Server do?

It acts as a bridge between AI assistants (via the Model Context Protocol) and DeepSource’s code quality analysis platform, allowing assistants to query projects, issues, and analysis runs.

2 What are the prerequisites for running this server?

Node.js 20 or higher and pnpm 10.7.0 or higher for local builds, or Docker for containerized deployment. You also need a DeepSource API key.

3 How do I provide my DeepSource API key?

Set the environment variable DEEPSOURCE_API_KEY when starting the server. Examples are shown in the configuration snippets for Docker and npx.

4 What tools does the server expose?

Four tools: deepsource_projects (list projects), deepsource_project_issues (get issues with optional pagination), deepsource_project_runs (list analysis runs with pagination), and deepsource_run (get a specific run by runUid or commitOid).

5 Where can I find the source code and license?

The repository is on GitHub at sapientpants/deepsource-mcp-server and is licensed under the MIT license.

Comments

No comments yet

Be the first to share feedback about this listing. Sign in to leave a comment.

Sign In

Feedback 💬