1. Conduid
  2. Data
  3. Fence
MCP server · Data

Fence

Local-first security scanner, MCP protocol inspector, dynamic fuzzer, Docker sandbox, and report generator for Model Context Protocol servers.

38Low

Scored 8 hours ago · breakdown

About Fence

Fence is an MCP server published by DaoyuanLi2816 in the Data category: local-first security scanner, MCP protocol inspector, dynamic fuzzer, Docker sandbox, and report generator for Model Context Protocol servers. It is published to PyPI as mcp-fence and runs with uvx.

The repository has 37 stars and 6 forks, is licensed Apache-2.0, and its last commit was on 21 Aug 2026. The latest release is v0.1.2 (11 Jul 2026): init-example was broken for every pip install mcp-fence user. It follows v0.1.1 (10 Jun 2026), and the 3 most recent releases go back to v0.1.0 (16 May 2026). It passes 3 of the 5 static checks Conduid ran on the repository; it does not pass Dependencies pinned and No dynamic code execution. Its topics include fuzzer, llm-security, prompt-injection, sandbox, sarif and scanner.

Install

uvx
uvx mcp-fence
pip
pip install mcp-fence
From source
git clone https://github.com/DaoyuanLi2816/mcp-fence

Security checks

Static checks derived from the repository a month ago. Heuristics on the source, not an audit.

  • ✓README presentThe repository's README runs to about 977 words.
  • ✓License declaredThe repository declares the Apache-2.0 license.
  • ✓Tests presentA test suite exists in the repository.
  • !Dependencies pinnedNo lockfile. Installs can pull different code over time.
  • !No dynamic code executionScanned 35 source files and found 8 calls to eval or shell execution, in src/mcp_fence/constants.py and src/mcp_fence/scanner/code_scan.py among others. Review how tool inputs reach them before granting credentials.

1 check has not been run yet.

Releases

v0.1.2v0.1.2 — init-example actually works on a fresh install · 11 Jul 2026Fixes `init-example` was broken for every `pip install mcp-fence` user. The bundled example servers lived at the repo root and were never packaged into the wheel, so the documented 30-second quickstart failed at step 1 with "bundled…
v0.1.1mcp-fence 0.1.1 · 10 Jun 2026Docs-only patch release — first release published via PyPI trusted publishing. README masthead: SVG hero banner (also rendered on the PyPI project page), centered badges Architecture diagram now uses an absolute URL so it renders on PyPI…
v0.1.0v0.1.0 — first release · 16 May 2026First release. Local-first security toolkit for Model Context Protocol servers. Originally developed as \`mcp-guard\`; renamed to \`mcp-fence\` before the PyPI publish because PyPI's name-similarity rule flagged \`mcp-guard\` against an…

README

The repository's README runs to about 977 words, fetched a month ago. The original in the repository is authoritative.

Read full README
Questions

About Fence

How do I install Fence?

Run uvx mcp-fence, then add the server to your MCP client's configuration.

Is Fence safe to use with an AI agent?

Its trust score is 38 out of 100 (low). It passes 3 of the 5 static checks Conduid ran on the repository; it does not pass Dependencies pinned and No dynamic code execution. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Fence still maintained?

Yes — the latest release is v0.1.2 (11 Jul 2026), and the last commit was 3 months ago. The repository has 37 stars.

What license is Fence released under?

The repository declares the Apache-2.0 license. That applies to the latest release, v0.1.2, as well.