Back to Home
samlevan icon

safely-update-bear-mcp

Verified Safe

by samlevan

Overview

Provides a safety system for AI assistants to update Bear notes by creating previews for user review and approval.

Installation

Run Command
python src/mcp_server.py

Security Notes

The server uses `subprocess.run` to interact with the Bear app via `x-callback-url`, with all content parameters properly URL-encoded using `urllib.parse.quote` to prevent injection. SQLite database interactions for reading notes use parameterized queries, preventing SQL injection. The local database file has secure permissions (600). The web interface for previews correctly escapes HTML content, mitigating XSS risks. No `eval` or similar dangerous patterns are used without clear justification. The overall design prioritizes user review and explicit approval before applying changes to Bear notes, significantly enhancing safety.

Similar Servers

Stats

Interest Score0
Security Score9
Cost ClassLow
Avg Tokens75
Stars0
Forks0
Last Update2025-11-30

Tags

Bear NotesAI SafetyPreviewRollbackLocal-firstMarkdown