🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@trestlescan/mcp

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@trestlescan/mcp

MCP server for Trestle, a local secret scanner for source code.

latest
Source
npmnpm
Version
1.4.1
Version published
Weekly downloads
34
9.68%
Maintainers
1
Weekly downloads
 
Created
Source

@trestlescan/mcp

The Model Context Protocol (MCP) server for Trestle, a local secret scanner for source code. It lets AI assistants check code for secrets such as API keys, tokens, and private keys before changes are written or committed.

This package runs trestle mcp over stdio. It installs the Trestle CLI (@trestlescan/cli) as a dependency and starts its MCP server. The scan runs entirely on your machine.

Use with an MCP client

Most clients launch the server for you from its MCP Registry entry. To configure it by hand, run the following over stdio, where the trailing path is the workspace to scan (it defaults to the current directory):

npx -y @trestlescan/mcp .

Example client configuration:

{
  "mcpServers": {
    "trestle": {
      "command": "npx",
      "args": ["-y", "@trestlescan/mcp", "."]
    }
  }
}
  • Trestle CLI: @trestlescan/cli
  • Documentation: trestlescan.com/documentation/mcp
  • Source code: github.com/toro-guapo/trestle

License

Apache-2.0

Keywords

trestle

FAQs

Package last updated on 29 Jun 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts