MCP.Market

Trestle MCP server

by trestlescan.com·com.trestlescan/trestle·v1.4.1·2 stars

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

B77/100grade B
What users say
No reviews yet
Be the first
Safety scan
B77/100

full report

Adoption
New

2 stars37 downloads/wk

Reviews

Write one

Nobody has reviewed Trestle yet.

If you have run it, two minutes of your experience saves the next person an afternoon.

Trestle tools

No tool declarations could be read from the package source. They show once the server is installed.

Public scan report

scanner v0.1.9 · 2026-09-26 · same rubric, same numbers if you re-run it

no findings
  • Code scan2 source files scanned25/25
  • –Live reliabilityno gateway calls yet and no remote to proben/a
  • –Tool poisoningtools not inspected (local package is not executed); not countedn/a
  • Auth qualitylocal package, no credentials required12/15
  • Maintenancelast push 97 days ago8/15
  • Maintainer identitynamespace and repository owner differ; website matches verified namespace5/10
Overall 77/100. Components that don't apply are left out of the denominator. Any critical finding is an F.RubricAppeal a findingJSON

How Trestle compares

Against every graded MCP server, from our own scans and uptime checks. Updated after each scan run.

Safety score
77/100
higher than 50% of 48,255 servers
GitHub stars
2
more than 75% of 28,688 servers
Downloads a week
37
more than 28% of 12,191 servers with a package

Install Trestle in Claude Code, Cursor or VS Code

Runs npx -y @trestlescan/mcp on your machine. Read the scan report first; the gateway never runs local packages.

claude mcp add trestle -- npx -y @trestlescan/mcp
Add to Cursor

What the publisher says

From the Trestle repository's README, as published. We do not edit it. Read it on GitHub

A local secret scanner for source code. Trestle finds API keys, access tokens, passwords, private keys, and certificates before commiting them by mistake, and keeps them from leaving your machine.

This is the Community edition. Open source under Apache-2.0, and a mirror of the version distributed at [trestlescan.com][trestlescan].

What Trestle does

Anthropic, Stripe, AWS, GitHub, Google, Slack, Sentry, and more), plus unfamiliar keys spotted by entropy, variable names, and surrounding code.

  • Detection. Hundreds of credential patterns from real services (OpenAI,

expressions, so it can tell an environment variable from a build argument, a header, a parameter, or a constant in source.

  • Code-aware. Trestle parses your files instead of running plain regular

pre-commit hook, language server for LSP-aware editors (Neovim, Helix, Zed, JetBrains), MCP server for AI assistants (Claude Code, Cursor, Copilot, Codex), and a native VS Code extension.

  • Runs everywhere you work. Command line scanner, file watcher,

no account, no signup.

  • Local only. Runs entirely on your machine. No network, no telemetry,

.gitignore and your own skip rules.

  • One static binary. No runtime to install, multi-threaded, and honors

Building from source

A recent stable Rust toolchain is the only prerequisite.

cargo build --release

This builds two binaries: trestle, which does not make network requests, and trestle-net, which can check whether found secrets are still live.

Quick start

In any project directory:

trestle install  # adds a pre-commit hook and AI instructions
trestle scan     # scans the current directory

Other commands:

  • trestle watch keeps scanning as files change.
  • trestle lsp starts the language server.
  • trestle mcp starts the MCP server.
  • trestle uninstall removes the integration from a project.

Checking whether a secret is live

The default trestle binary does not make network requests. The separate trestle-net binary adds an optional check that contacts each detected secret's provider to confirm whether the credential is still valid:

trestle-net scan --validate

Each finding is then labeled (active), (inactive), or (could not verify). This check runs only in trestle-net, so the trestle binary remains fully offline.

The full documentation is available at [trestlescan.com/documentation][docs].

GitHub Action

Use the official GitHub Action to scan every push and pull request:

name: Secret scan

on:
  push:
  pull_request:

jobs:
  trestle:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - uses: toro-guapo/trestle-action@v1

See [toro-guapo/trestle-action][trestle-action] for inputs, outputs, SARIF upload to the GitHub Security tab, and supported runners.

Community and Pro

Trestle is open core.

with its location and the rule that flagged it. Apache-2.0 licensed.

  • Community (this repository) handles detection. Every finding is reported

secret from source, what to keep in your local .env, and per-platform rotation guides for AWS, GitHub Actions, Vercel, Netlify, Kubernetes, Doppler, and other targets. Distributed under a commercial license.

  • Pro adds remediation guidance: for each finding, the steps to remove the

Pro is available at [trestlescan.com][trestlescan].

About this repository

This is a read-only mirror, refreshed on every Community release. Development happens in a private repository.

Issues and discussion are welcome on GitHub. Pull requests are not accepted through this mirror. If you have a fix or an idea, please open an issue.

License

Apache License 2.0. See LICENSE.

Shortened. The full README is on GitHub.

Nothing above is checked by us. What we check is on the safety report.

Trestle: common questions

Is Trestle MCP server safe?
Mostly: it is graded B (77/100). Read the Trestle safety report
How do I install Trestle?
It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
Does Trestle need an API key?
Not as far as the registry entry and our scan can tell: no credentials are declared or required.
Is Trestle maintained?
The last commit was 136 days ago (2026-06-21). The latest release is v1.4.1.
How does Trestle compare with other MCP servers?
safety score 77/100 (higher than 50% of 48,255 servers); github stars 2 (more than 75% of 28,688 servers); downloads a week 37 (more than 28% of 12,191 servers with a package). Full comparison.