Skip to main content
Glama
ajkeast

My Coding Buddy MCP Server

by ajkeast

My Coding Buddy MCP 服务器

一个个人 MCP(模型上下文协议)服务器,作为编码伴侣,提供简化开发工作流程的工具。它连接到各种编码客户端,并提供 MySQL 数据库实用程序。

概述

此 MCP 服务器提供:

  • 用于 MySQL 的数据库内省和查询执行工具

  • 与 VS Code、Cursor 等编码客户端的集成

  • 用于自定义工具开发的可扩展架构

Related MCP server: obsmcp

设置

安装依赖项:

uv sync

MCP 配置

在您的 MCP 客户端配置文件中配置服务器(例如 Cursor 的 .cursor/mcp.json):

{
  "mcpServers": {
    "coding-buddy": {
      "command": "uv",
      "args": ["--directory", "/your_repo_directory_here", "run", "server.py"]
    }
  }
}

功能

  • 列出数据库、表和视图

  • 执行带有格式化结果的 SQL 查询

  • 获取表结构、索引和 DDL

  • 按模式搜索表

  • 获取行数和列信息

使用方法

该服务器提供可通过兼容 MCP 的客户端调用的 SQL 工具。工具包括数据库列表、模式检查和查询执行。

测试

提供了一个全面的测试脚本来验证 SQL 连接并测试所有 SQL 工具功能:

python test_sql_tools.py

测试脚本将:

  • 使用环境变量验证数据库连接

  • 测试所有 SQL 工具功能,包括数据库列表、表操作和查询执行

  • 为每个测试用例提供详细输出

确保您的 .env 文件包含所需的数据库凭据:

  • SQL_HOST

  • SQL_USER

  • SQL_PASSWORD

  • SQL_DATABASE

贡献

欢迎贡献。提交拉取请求或针对功能请求和错误报告提出问题。

了解更多

有关 MCP 协议的更多信息,请访问官方 MCP 文档。

Install Server
F
license - not found
A
quality
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • -
    license
    A
    quality
    Not graded
    maintenance
    A Model Context Protocol server that allows LLMs to interact with Python environments, enabling code execution, file operations, package management, and development workflows.
    9
  • A
    license
    Not graded
    quality
    D
    maintenance
    A local-first MCP server and continuity control plane that helps AI coding tools maintain project state, tasks, and context across sessions, models, and interruptions, with features like session tracking, token-efficient context assembly, and code understanding via Code Atlas.
    MIT
  • A
    license
    A
    quality
    D
    maintenance
    A Model Context Protocol server that provides development standards and best practices context to AI coding assistants, ensuring generated code adheres to team/project conventions.
    3
    38
    1
    MIT
  • A
    license
    A
    quality
    B
    maintenance
    A semantic code context server that connects your local repository to AI assistants via the Model Context Protocol, enabling dynamic codebase exploration without copy-pasting.
    5
    38
    3
    MIT

View all related MCP servers

Related MCP Connectors

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ajkeast/Coding-Buddy-MCP-Server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server