diff --git a/docs/user-guide/configurations.md b/docs/user-guide/configurations.md index 759ba9c..3b265e4 100644 --- a/docs/user-guide/configurations.md +++ b/docs/user-guide/configurations.md @@ -88,4 +88,28 @@ Datasource profiles.yml. DATU_DBT_PROFILES= ``` +#### MCP related configuration + +##### Enable MCP Connectivity + +Set the following environment variable to enable MCP connectivity in Datu: + +```sh +DATU_ENABLE_MCP=true +``` + +##### MCP Servers Configuration +Define your MCP servers in a JSON config file (e.g. mcp_config.json): + +```sh +{ + "mcpServers": { + "sql_generator": { + "command": "python", + "args": ["-m", "datu.mcp.tools.sql_generator"], + "env": { "PYTHONPATH": "." } + } + } +} +``` diff --git a/mkdocs.yml b/mkdocs.yml index 973e679..e465be1 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -56,7 +56,12 @@ nav: - user-guide/configurations.md - Deploy: - Container service: user-guide/deploy/deploy_as_container_service.md + - MCP Connectivity: + - user-guide/MCP Connectivity/mcp_connectivity.md - Contribute ❤️: https://github.com/Datuanalytics/datu-core/blob/main/CONTRIBUTING.md + + + - Architecture: - Overview: architecture/README.md - Contribute ❤️: https://github.com/Datuanalytics/datu-core/blob/main/CONTRIBUTING.md