mcp_servers
by shura1981
Overview
This repository provides multiple MCP servers for various utility functions, including extracting text from PDF files, securely interacting with the local file system, and executing SQL queries against a MySQL/MariaDB database.
Installation
npm run mcpEnvironment Variables
- PORT
- NODE_ENV
- LOG_LEVEL
- PDF_TEST_SKIP
- MYSQL_HOST
- MYSQL_USER
- MYSQL_PASSWORD
- MYSQL_DATABASE
- MYSQL_PORT
- DEBUG_MYSQL
Security Notes
CRITICAL VULNERABILITIES: 1. MySQL Server: Uses hardcoded default database credentials (MYSQL_USER: `crisenri_intranet`, MYSQL_PASSWORD: `].wKbv44W4LW8b`) if environment variables are not set. This exposes sensitive information directly in the source code. 2. MySQL Server: The `execute_query` tool directly takes an arbitrary SQL query string from client input and executes it without any sanitization or validation. This leads to a severe SQL Injection vulnerability. The `multipleStatements: true` setting further exacerbates this risk. 3. PDF Extractor: The `extract_text` and `extract_page` MCP tools take a `filePath` argument directly from client input without validating if it's within an allowed directory. This allows for arbitrary file read vulnerabilities, potentially exposing any file on the server. While the `filesystem` server demonstrates good security practices by rigorously validating paths against an allowed directory list, the presence of critical flaws in other parts of the repository significantly lowers the overall security posture.
Similar Servers
tiger-linear-mcp-server
Provides LLMs with focused tools to interact with the Linear API for issue and project management.
tiger-gh-mcp-server
Provides focused tools to LLMs for interacting with GitHub repositories and data via the Model Context Protocol.
tiger-memory-mcp-server
A backend server for a Minecraft-related application, likely providing data management or proxy services.
thoughtbox
Provides cognitive enhancement tools for LLM agents, enabling structured reasoning, mental modeling, and interactive literate programming with JavaScript/TypeScript execution.