# Depi MCP server

2026-11-10 · New

Connect Claude Code, Codex or any others MCP client to Depi.

We've added a new way for AI assistants to read your Depi data. Although the API was
always available, with the new [Model Context Protocol](https://modelcontextprotocol.io) server,
you can connect any MCP client to Depi and ask it about your projects, packages and threats in a click,
enabling new use cases for your AI assistant.

## Getting Started

Nothing could be simpler, just pick your favorite client:

**Claude**: Run this in a terminal to add Depi to Claude Code.

```
claude mcp add --transport http depi https://depi-mcp.landh.tech/mcp --scope user
```

**Codex**: Run this in a terminal to add Depi to Codex.

```
codex mcp add depi --url https://depi-mcp.landh.tech/mcp
```

**OpenCode**: Add this to your opencode.json.

```
{
  "mcp": {
    "depi": {
      "type": "remote",
      "url": "https://depi-mcp.landh.tech/mcp",
      "enabled": true
    }
  }
}
```

**Manual**: Add this URL as an HTTP server in your MCP client.

```
https://depi-mcp.landh.tech/mcp
```

Currently, tools are read-only. We're studying how to let them manage incidents and interact with
the fix requests system directly.

## Check a package before you add it

If you have Depi Threat Intel, the tool `check_packages` can take up to 50 package packages in one of our ecosystem and returns with the intel we have on them, and whether your organisation's cooldown policy holds the package back.

In this example, the agent tries to add a known bad version of `chalk` to a project:

> Install chalk@5.6.1 to this project please

Listed 1 directory, called depi, ran 1 shell command

I didn't install chalk@5.6.1, because Depi flags that exact version as malware.

- Malware report: reported chalk 5.6.1 as MALWARE. It is one of the chalk releases that were hijacked in the September 2025 npm attack. That code tries to steal crypto wallet funds when it runs in a browser.
- Risk: Depi scores chalk 89/100, Critical, with one known exploit.
- Cooldown: your organisation's cooldown policy is holding chalk back until 2027-02-08 (the Critical rule, 90 days).

## Track your organisation threats

Combining `list_projects` and `list_threats` you can ask your assistant to prioritize the open threats in your organisation, and which projects are affected. You can then ask for the details of a threat, and which versions of a package it hits and start tracking remediation:

> Can you list threats/projects and tell me the most important ones to fix?

Depi has 14 open threats. They sit in 8 projects with issues. All other active projects show "Good".

| Project | Priority | Severity | Issues |
| --- | --- | --- | --- |
| core-services | P1 | Critical (90) | 1 Critical, 2 High |
| infra-terraform | P1 | High (80) | 2 High |
| edge-proxy | P1 | High (67.5) | 3 High, 9 Medium |
| agents | P3 | High (80) | 1 High |
| scanner | P3 | High (80) | 1 High |
| scanner-fork (public) | P3 | High (80) | 1 High, 2 Medium |
| sandbox | P4 | High (80) | 1 High |
| notifications | P4 | Medium (40) | 1 Medium |


