独立运营 · 不出售排名位置  · 我们怎么评估工具 →
Anclum 提交收录
D

dominicfarr/mcp-secuirty-working-notes-example

simple reference on mcp security model through client policies and server elicitation

装之前:没有可直接复制的命令 · 许可证未标注 · 链接可访问

第一步:pip install -r requirements-dev.txt

无 SECURITY.md
在 GitHub 查看 ↗链接已于 2026-11-12 核查 · HTTP 200 · 打开的是厂商自己的官网

我们没有从该仓库取到可核对的安装命令,也没有公开的远端端点。这两样都没有时,我们不出配置——编一条出来比不给更糟。 各客户端的接法 →

★ 数取值
2 ★ · dominicfarr/mcp-secuirty-working-notes-example · 取自 GitHub 搜索 API · (2026-11-13 20:00:50 核对)
来源明细
从该仓库的 GitHub 页面直接读取 · 条目类型:开源项目
收录与活跃
收录于 2026-10-22 · 最近见到 2026-11-14 · 共见到 27 次 · 被 1 个来源列出
评分构成
综合分 103 · 2 ★ · 1 个来源 · repo
常见问题(答案都来自我们的记录)
它适合谁 / 用来做什么?
我们把它归在这些标签下: MCP 服务。标签来自条目自身,不是我们强加的分类。
谁维护它、还在更新吗?
仓库 dominicfarr/mcp-secuirty-working-notes-example;我们收录于 2026-10-22;最近见到 2026-11-14。这里没有"官方认证"或"质量评级"——我们只记录来源与时间。

# MCP Secuirty Reference

以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →

A small, runnable reference for where security lives in MCP: what the client decides, what the server must check, and what changes when a model makes the calls. Client and server run locally over stdio; every guarantee has a test named after it.
Write-up: MCP Security series (Part 1), and MCP stopped waiting on the move to MCP 2026-07-28.
## The parts
The project is organised by threat rather than by MCP primitive:
| Part | What it shows | Read |
| 1. Deterministic controls (client/app.py, no LLM) | Tool permission policies, binding human-in-the-loop approval, audit logs on both sides, server-side path validation, the allowed folder, and elicitation over multi round-trip requests | docs/part-1-controls.md |
| 2. Model in the loop (client/host.py) | The same client and server with an LLM making the calls. With its defences off it is a baseline: a planted instruction in a file the model reads steers it into a write nobody asked for. Two client-side rules stop that: changes ask once untrusted content is in the chat, and a call you said no to isn't retried in the same turn. Tool poisoning and changed tool definitions are future work | docs/part-2-host.md |
| 3. Remote-server authorization (separate repo, not started) | OAuth and token handling for MCP servers over HTTP | |
## Quick start
bash
python3 -m venv mcpsecurityenv && source mcpsecurityenv/bin/activate
pip install -r requirements-dev.txt
python3 client/app.py server/server.py # Part 1: http://127.0.0.1:7863
python3 client/host.py server/server.py # Part 2: http://127.0.0.1:7864 (needs a model, below)
pytest # every guarantee, about 1 minute
Part 2's model defaults to a local one, free: brew install ollama, start it, then ollama pull qwen2.5:7b. OpenAI and Anthropic work too; see Part 2.
## More
Development: setup details, tests and CI, the lock file, project layout, and protocol versions (this repo speaks MCP 2026-07-28 only).
收录徽章(可选)
想把收录标记放进 README 就复制这行,可选,不影响收录。
[![Listed on Anclum](https://anclum.com/badge/listed.svg)](https://anclum.com/zh/s/dominicfarr-mcp-secuirty-working-notes-example/)
来源
github · https://github.com/dominicfarr/mcp-secuirty-working-notes-example
按领域浏览
MCP 服务
Traction
2 ★
收录于
今天
安全策略
我们没在该仓库根目录找到 SECURITY.md(这不代表不安全)

同类推荐

全部 6,229 →

所属领域与标签

每个标签都能点进去看同类的全部条目。数字是当前库里的真实条数。

浏览全部领域 →

← 返回索引