Loading...
pip install xiyan-mcp-server{
"mcpServers": {
"xiyan-mcp-server": {
"command": "/xxx/python",
"args": [
"-m",
"xiyan_mcp_server"
],
"env": {
"YML": "PATH/TO/YML"
}
}
}
}get_dataRetrieves data from a database using natural language queries converted to SQL.
Executes SQL queries, which can potentially modify data.
{dialect}://{table_name}Obtains sample data from a specified database table for model reference.
Provides read-only access to a portion of the table data.
{dialect}://Lists the names of the databases available in the current connection.
Provides read-only access to database names.
The XiYan MCP server presents moderate risk due to its ability to execute SQL queries. Local deployment significantly reduces risk by eliminating external API dependencies. Securely managing database credentials and validating LLM configurations are crucial for safe operation.