Skip to content
MCP server

Trestle

Detects leaked secrets (API keys, tokens, private keys) in source code.

Runs locallyStatus and history
Install
Pricing
Open source
Runs
Locally
Version
1.4.1
Listing updated
6 days ago

About Trestle

Trestle is an open-source MCP server. It runs locally on your machine and is started by your AI client.

Install

Run in a terminal

claude mcp add trestle -- npx -y @trestlescan/mcp

Add to claude_desktop_config.json

{
  "mcpServers": {
    "trestle": {
      "command": "npx",
      "args": [
        "-y",
        "@trestlescan/mcp"
      ]
    }
  }
}
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "trestle": {
      "command": "npx",
      "args": [
        "-y",
        "@trestlescan/mcp"
      ]
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

{
  "servers": {
    "trestle": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@trestlescan/mcp"
      ]
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "trestle": {
      "command": "npx",
      "args": [
        "-y",
        "@trestlescan/mcp"
      ]
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "trestle": {
      "command": "npx",
      "args": [
        "-y",
        "@trestlescan/mcp"
      ]
    }
  }
}

Using several servers? Build one config file with the MCP config generator.

Pricing

Open source

Prices change. Check trestlescan.com before you buy.

Trestle FAQ

Is Trestle free?

Yes. Trestle is open source, so you can use and self-host it for free.

How do I add Trestle to Claude Code?

Run this command in your terminal: claude mcp add trestle -- npx -y @trestlescan/mcp

Where this comes from

  • Description: from the official MCP Registry entry.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers