TokenToSeaMCP Hub
中文 Console

XiYan MCP Server

XGenerationLabChina

Query databases in natural language, using XiYanSQL as the text-to-SQL model.

Setup

Choose your client, copy the config, then fill in any required environment variables.

Add to CursorAdd to VS Code

claude mcp add xiyan --env CONFIG_PATH='<CONFIG_PATH>' --env YML='<YML>' -- python -m xiyan_mcp_server

Environment variables

  • CONFIG_PATH
  • YML

Replace the placeholders with your own credentials and keep them out of version control.