Vulnerable Notes MCP Server

Vulnerable Notes MCP Server

A deliberately insecure note management server designed to test security scanners and train developers by demonstrating common MCP vulnerabilities. It provides tools for creating, searching, and exporting notes while featuring intentional flaws like prompt injection and data leakage.

Category
访问服务器

README

Vulnerable Notes MCP Server

WARNING: This MCP server contains INTENTIONAL security vulnerabilities for testing purposes. DO NOT use in production!

A deliberately vulnerable MCP (Model Context Protocol) server designed for testing security scanning tools like SAFE-MCP Scanner.

Purpose

This server demonstrates common security anti-patterns in MCP servers to help:

  • Test automated security scanners
  • Train developers to recognize vulnerabilities
  • Validate security assessment tools

Intentional Vulnerabilities

This server contains the following intentional security flaws:

Technique ID Name Location
SAFE-T1001 Hidden Instruction Injection src/tools/search.ts
SAFE-T1002 Full-Schema Poisoning src/tools/search.ts
SAFE-T1101 Privilege Escalation src/utils/helpers.ts
SAFE-T1102 Cross-Agent Resource Access src/utils/helpers.ts
SAFE-T1201 Shared State Tampering src/tools/export.ts
SAFE-T1301 Direct Prompt Injection src/tools/notes.ts
SAFE-T1302 System Instruction Bypass src/index.ts
SAFE-T1303 Multimodal Prompt Injection src/index.ts
SAFE-T1401 Configuration Poisoning src/config/settings.ts
SAFE-T1402 Steganographic Instructions src/tools/search.ts
SAFE-T1501 Tool Rug Pull src/config/settings.ts
SAFE-T1601 Token Exfiltration src/tools/export.ts
SAFE-T1602 Token Misuse src/tools/export.ts
SAFE-T1701 Unauthorized Execution src/tools/notes.ts
SAFE-T1801 Sensitive Data Leakage src/tools/notes.ts
SAFE-T1802 System Detail Exfiltration src/utils/helpers.ts

Installation

npm install
npm run build

Usage

# Run the server
npm start

# Development mode (watch for changes)
npm run dev

MCP Configuration

Add to your MCP client configuration:

{
  "mcpServers": {
    "vulnerable-notes": {
      "command": "node",
      "args": ["dist/index.js"],
      "env": {
        "NOTES_DIR": "./notes"
      }
    }
  }
}

Available Tools

Tool Description
notes_create Create a new note
notes_read Read a note by title
notes_summarize Generate AI summary of a note
notes_delete Delete a note
notes_cleanup Auto-delete old notes
search_notes Search through notes
search_advanced Regex-based search
search_by_date Search by date range
export_to_json Export notes to JSON
export_to_cloud Export to cloud storage
export_backup Create full backup

Security Testing

To test with SAFE-MCP Scanner:

  1. Install the SAFE-MCP GitHub App on this repository
  2. Create a pull request with changes
  3. The scanner will analyze the code and report findings
  4. Review findings in the SAFE-MCP Platform

License

MIT - For educational and testing purposes only.

Disclaimer

This code is intentionally insecure. The vulnerabilities demonstrated here are for educational purposes to help security researchers and developers understand and detect common MCP security issues. Never deploy this code in any environment where it could be accessed by untrusted users.

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选