MCP-Server
by dannycowles
Overview
Interactive command-line chat application integrating with Anthropic AI models, providing document retrieval, command-based prompts, and extensible tool integrations via the MCP protocol.
Installation
uv run main.pyEnvironment Variables
- ANTHROPIC_API_KEY
- CLAUDE_MODEL
- DB_HOST
- DB_NAME
- DB_USER
- DB_PASSWORD
- USE_UV
Security Notes
The `mcp_server.py` exposes `read_file` and `edit_file` tools that allow the AI (and potentially a malicious user through crafted prompts) to read and write arbitrary files on the system where the server is running. This is a critical vulnerability that could lead to information disclosure or remote code execution. Database credentials are handled via environment variables, and SQL queries use parameterized statements, which is good practice to prevent SQL injection.
Similar Servers
zenfeed
An AI-powered information hub that acts as an intelligent RSS reader, real-time news knowledge base, and personal assistant for monitoring events and delivering analysis reports.
mcp-server-infranodus
Integrates InfraNodus knowledge graph and text network analysis capabilities into LLM workflows and AI assistants for generating knowledge graphs, detecting content gaps, identifying topics, and performing SEO analysis.
meds-mcp
A Medical Context Protocol (MCP) server for retrieving and analyzing de-identified patient EHR data, facilitating LLM-powered chat interaction and evidence review with medical ontologies and faceted search.
dotbox-mcp
An MCP server that enables LLMs to execute .NET workloads in isolated Docker containers for C# code execution, project management, and web API hosting.