MariaDB MCP Server

by abel9851
MIT License
5
  • Apple

Integrations

  • Allows querying MariaDB databases to retrieve schema information and execute read-only SQL operations against MariaDB instances.

mcp-server-mariadb

mariadb에서 데이터를 검색하기 위한 MCP 서버 구현

특징

자원

데이터베이스의 스키마 목록 노출

도구

  • 쿼리_데이터베이스
    • MariDB에 대한 읽기 전용 작업 실행

의존

마리아디비 설치

  • 스코틀랜드 사람
    • mariadb를 설치할 때 아래와 같은 os 오류가 발생할 수 있습니다. mariadb-connector-c를 설치하면 해결할 수 있습니다.

지엑스피1

  1. brew install mariadb-connector-c 실행하세요
  2. echo 'export PATH="/opt/homebrew/opt/mariadb-connector-c/bin:$PATH"' >> ~/.bashrc 실행합니다.
  3. 환경 변수 export MARIADB_CONFIG=$(brew --prefix mariadb-connector-c)/bin/mariadb_config 설정합니다.
  4. uv add mariadb 다시 실행하세요.

Claude Desktop과 함께 사용

구성 파일

Claude Desktop 구성 파일 경로:

  • MacOS : ~/Library/Application Support/Claude/claude_desktop_config.json
  • 윈도우 : %APPDATA%\Claude\claude_desktop_config.json
{ "mcpServers": { "mcp_server_mariadb": { "command": "/PATH/TO/uvx" "args": [ "mcp-server-mariadb", "--host", "${DB_HOST}", "--port", "${DB_PORT}", "--user", "${DB_USER}", "--password", "${DB_PASSWORD}", "--database", "${DB_NAME}" ] } } }

참고 : 다음 플레이스홀더를 실제 경로로 바꾸세요.

  • /PATH/TO/uvx : uvx 실행 파일의 전체 경로
{ "mcpServers": { "mcp_server_mariadb": { "command": "/PATH/TO/uv", "args": [ "--directory", "/YOUR/SOURCE/PATH/mcp-server-mariadb/src/mcp_server_mariadb", "run", "server.py" ], "env": { "MARIADB_HOST": "127.0.0.1", "MARIADB_USER": "USER", "MARIADB_PASSWORD": "PASSWORD", "MARIADB_DATABASE": "DATABASE", "MARIADB_PORT": "3306" } } } }

참고 : 다음 플레이스홀더를 실제 경로로 바꾸세요.

  • /PATH/TO/uv : UV 실행 파일의 전체 경로
  • /YOUR/SOURCE/PATH/mcp-server-mariadb/src/mcp_server_mariadb : 서버 소스 코드 경로

특허

이 mcp 서버는 MIT 라이선스에 따라 라이선스가 부여되었습니다. 저장소의 LICENSE 파일을 참조하세요.

-
security - not tested
A
license - permissive license
-
quality - not tested

Claude가 MariaDB 데이터베이스에 대해 읽기 전용 쿼리를 실행하고 자연어를 통해 데이터베이스 스키마를 탐색할 수 있도록 하는 MCP 서버 구현입니다.

  1. Features
    1. Resources
    2. Tools
  2. dependency
    1. install mariadb
  3. Usage with Claude Desktop
    1. Configuration File
  4. License

    Related MCP Servers

    • A
      security
      A
      license
      A
      quality
      An MCP server implementation that integrates Claude with Salesforce, enabling natural language interactions with Salesforce data and metadata for querying, modifying, and managing objects and records.
      Last updated -
      7
      18
      4
      TypeScript
      MIT License
      • Apple
      • Linux
    • -
      security
      A
      license
      -
      quality
      An MCP server that enables natural language querying of Supabase PostgreSQL databases using Claude 3.7, allowing users to inspect schemas, execute SQL, manage migrations, and convert natural language to SQL queries.
      Last updated -
      Python
      MIT License
      • Linux
      • Apple
    • A
      security
      F
      license
      A
      quality
      MCP server that allows Claude AI to interact directly with MySQL databases, enabling query execution and table information retrieval through natural language.
      Last updated -
      1
      6
      3
      JavaScript
    • -
      security
      -
      license
      -
      quality
      An MCP server that allows working with MySQL databases by providing tools for executing read-only SQL queries, getting table schemas, and listing database tables.
      Last updated -
      1
      JavaScript

    View all related MCP servers

    ID: axor9jvqwx