{
  "name": "xiyan-mcp-server",
  "display_name": "XiYan MCP Server",
  "description": "An MCP server that supports fetching data from a database using natural language queries, powered by XiyanSQL as the text-to-SQL LLM.",
  "repository": {
    "type": "git",
    "url": "https://github.com/XGenerationLab/xiyan_mcp_server"
  },
  "homepage": "https://github.com/XGenerationLab/xiyan_mcp_server",
  "author": {
    "name": "XGenerationLab"
  },
  "license": "Apache-2.0",
  "categories": [
    "Databases"
  ],
  "tags": [
    "database",
    "sql",
    "database"
  ],
  "installations": {
    "python": {
      "type": "python",
      "command": "python",
      "args": [
        "-m",
        "xiyan_mcp_server"
      ],
      "env": {
        "YML": "${YML}"
      }
    }
  },
  "arguments": {
    "YML": {
      "description": "The path to the YAML configuration file required for setting up the server environment variables.",
      "required": true,
      "example": "path/to/yml"
    }
  },
  "tools": [
    {
      "name": "get_data",
      "description": "Fetch the data from database through a natural language query\n\n    Args:\n        query: The query in natual language\n    ",
      "inputSchema": {
        "properties": {
          "query": {
            "title": "Query",
            "type": "string"
          }
        },
        "required": [
          "query"
        ],
        "title": "get_dataArguments",
        "type": "object"
      }
    }
  ]
}