Skip to content

MCP does not work with certain valid MariaDB identifiers #25

@jbdocuphase

Description

@jbdocuphase

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions