MariaDB / MariaDB/mcp

MCP does not work with certain valid MariaDB identifiers

Open
#25 7 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
204
Forks
85
PR merge metrics
No merged PRs in 30d

Description

Steps to reproduce:

  1. Create a table called foo.bar
  2. Ask agent to get the schema for the table foo.bar
  3. MCP will error saying the table identifier is invalid.

Unfortunately, if you ask the agent to quote the identifier, the MCP call will still error.

Error stems from the fact that the isidentifier Python string method is being utilized instead of using a different method to enforce MariaDB's identifier rules.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No file or test is named. Start by reproducing the schema request for the MariaDB table foo.bar, then locate the Python MCP code using isidentifier and compare it with MariaDB identifier rules. Done means valid identifiers such as foo.bar work, including when quoted.

Written by the indexing model from the issue text.

Assessment

Tech stack
mariadb, python
Domain
databases
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.