mariadb-mcp

Validate MariaDB MCP connection scope and read/write permissions before executing SQL.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/nowonbun/nowonbun-harness --skill mariadb-mcp
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: mariadb-mcp
Source: https://github.com/nowonbun/nowonbun-harness/tree/main/codex-skills/tool-usage-management_mariadb-mcp
Command: npx skills add https://github.com/nowonbun/nowonbun-harness --skill mariadb-mcp

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Handles safe usage of MariaDB MCP by enforcing restricted connection scope, read-only permissions, and pre-execution SQL validation.

Core Features & Use Cases

  • Verify reachability and permission boundaries before executing MCP tasks.
  • Enforce that MCP connections are scoped to the appropriate database (stock) when applicable.
  • Validate SQL and restrict write operations according to current permissions to prevent unsafe changes.

Quick Start

Begin a MariaDB MCP task with a scoped connection to the stock database, read-only permissions, and a parameterized SQL statement.

Frequently Asked Questions about mariadb-mcp

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I enforce read-only permissions for MariaDB MCP queries?

MariaDB MCP enforces read-only permissions by validating connection scope and checking write permissions before executing any SQL. It restricts operations to single-read statements and parameterized inputs to prevent unsafe changes.

What is connection scope validation for MariaDB MCP and why do I need it?

Connection scope validation for MariaDB MCP ensures database connections are restricted to a defined database boundary before executing queries. It is needed to prevent unauthorized access and maintain safe permission boundaries during MCP tasks.

Can I execute write operations through a scoped MariaDB MCP connection?

You cannot execute write operations through a scoped MariaDB MCP connection when read-only permissions are enforced. The pre-execution SQL validation restricts statements to single-read queries and blocks any unsafe write operations.

How do I set up a safe MariaDB MCP query with parameterized SQL?

To set up a safe MariaDB MCP query, begin with a scoped connection to the target database, enforce read-only permissions, and use parameterized SQL statements. This satisfies explicit permission boundaries and prevents unsafe operations.

What are the limitations of using read-only MariaDB MCP for database health checks?

Limitations of read-only MariaDB MCP for database health checks include the inability to perform schema modifications or write operations. It is restricted to single-read statements and parameterized inputs within a defined database scope.