MCP低风险未认领

text2sql

Ask any SQL database in natural language. Agent explores schema, writes SQL, self-corrects.

cpenniman12cpenniman12/text2sql-mcp★ 1更新于 2026年6月28日

server.json

{
  "$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
  "name": "io.github.cpenniman12/text2sql-mcp",
  "description": "Ask any SQL database in natural language. Agent explores schema, writes SQL, self-corrects.",
  "title": "text2sql",
  "repository": {
    "url": "https://github.com/cpenniman12/text2sql-mcp",
    "source": "github"
  },
  "version": "0.1.2",
  "packages": [
    {
      "registryType": "pypi",
      "identifier": "text2sql-mcp",
      "version": "0.1.2",
      "transport": {
        "type": "stdio"
      },
      "environmentVariables": [
        {
          "description": "SQLAlchemy connection URL, e.g. sqlite:///mydb.db or postgresql://user:pass@host/db",
          "isRequired": true,
          "format": "string",
          "name": "TEXT2SQL_DATABASE_URL"
        },
        {
          "description": "Anthropic API key (required if using the default Anthropic model)",
          "format": "string",
          "isSecret": true,
          "name": "ANTHROPIC_API_KEY"
        },
        {
          "description": "OpenAI API key (required when TEXT2SQL_MODEL is set to an openai:* model)",
          "format": "string",
          "isSecret": true,
          "name": "OPENAI_API_KEY"
        },
        {
          "description": "Optional LangChain model id (default: anthropic:claude-sonnet-4-6)",
          "format": "string",
          "name": "TEXT2SQL_MODEL"
        }
      ]
    }
  ]
}

权限

声明检测
运行代码—python
安装—pypi:text2sql-mcp@0.1.2
安装时运行脚本—无
网络无无
需要的凭据ANTHROPIC_API_KEYOPENAI_API_KEYANTHROPIC_API_KEYOPENAI_API_KEY
工作区外的路径—无
智能体工具—无

检查

低风险 · 没有发现需要提醒的地方。

未经人工审核 · 已做规则检查;模型审核尚未开启。

版本

  1. #10.1.2最新2026年10月7日