Skip to main content
Glama
wangguoxi0814

datasource-mcp

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
DB_HOSTNoMySQL host127.0.0.1
DB_NAMENoDatabase nameaix
DB_PORTNoMySQL port3306
DB_USERNoMySQL userroot
DB_PASSWORDNoMySQL passwordroot
DB_CONNECT_TIMEOUTNoConnection timeout (seconds)5

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}
logging
{}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
extensions
{
  "io.modelcontextprotocol/ui": {}
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
db_exeB

执行 SQL 并返回 JSON 字符串结果。

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

B3.2/5.0

Scored across 1 tool

Disambiguation5/5

With only one tool, there is no ambiguity in tool selection. The tool's description clearly states it executes SQL and returns JSON.

Naming Consistency4/5

A single tool name, db_exe, follows snake_case and is understandable, but it lacks a clear verb_noun pattern. However, consistency is not an issue with only one tool.

Tool Count2/5

The server has only one tool, which is too few for a datasource MCP server. Its apparent scope would typically require multiple tools for connection management, schema inspection, and querying.

Completeness2/5

The tool surface is severely limited; it only executes SQL. There are no tools to list tables, describe schemas, or manage data sources, causing significant gaps for agents.

Maintenance

ActivityStale
ResponsivenessNo issues