Back to Home
elliemci icon

mcp-adk

by elliemci

Overview

Develops and connects AI agents to interact with either a local SQLite database or a remote Notion workspace via the Model Context Protocol (MCP).

Installation

Run Command
python3 local_mcp/agent.py

Environment Variables

  • NOTION_API_KEY
  • NOTION_TOKEN

Security Notes

The `local_mcp/server.py` is highly vulnerable to SQL injection. The `get_table_schema`, `query_db_table`, and `delete_data` functions directly interpolate user-provided parameters (`table_name`, `columns`, `condition`) into SQL queries using f-strings without any sanitization or parameterized queries. An attacker could craft malicious input to execute arbitrary SQL commands, access unauthorized data, or delete records. This makes the local server unsafe to run with untrusted input. The `remote_mcp/agent.py` relies on an external `npx @notionhq/notion-mcp-server` command, introducing a dependency on a third-party package whose security is not directly auditable from this source code, though it's assumed to be official.

Similar Servers

Stats

Interest Score0
Security Score1
Cost ClassMedium
Avg Tokens500
Stars0
Forks0
Last Update2025-11-22

Tags

AI AgentMCPSQLiteNotionDatabase