Skip to content

Commit 6a57761

Browse files
authored
Initial MCP enabling and server config guide (#6)
* Initial MCP enabling and server config guide * MCP guide improvements
1 parent 5c08b09 commit 6a57761

File tree

2 files changed

+29
-0
lines changed

2 files changed

+29
-0
lines changed

docs/user-guide/configurations.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,4 +88,28 @@ Datasource profiles.yml.
8888
DATU_DBT_PROFILES=
8989
```
9090

91+
#### MCP related configuration
92+
93+
##### Enable MCP Connectivity
94+
95+
Set the following environment variable to enable MCP connectivity in Datu:
96+
97+
```sh
98+
DATU_ENABLE_MCP=true
99+
```
100+
101+
##### MCP Servers Configuration
102+
Define your MCP servers in a JSON config file (e.g. mcp_config.json):
103+
104+
```sh
105+
{
106+
"mcpServers": {
107+
"sql_generator": {
108+
"command": "python",
109+
"args": ["-m", "datu.mcp.tools.sql_generator"],
110+
"env": { "PYTHONPATH": "." }
111+
}
112+
}
113+
}
114+
```
91115

mkdocs.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,12 @@ nav:
5656
- user-guide/configurations.md
5757
- Deploy:
5858
- Container service: user-guide/deploy/deploy_as_container_service.md
59+
- MCP Connectivity:
60+
- user-guide/MCP Connectivity/mcp_connectivity.md
5961
- Contribute ❤️: https://github.com/Datuanalytics/datu-core/blob/main/CONTRIBUTING.md
62+
63+
64+
6065
- Architecture:
6166
- Overview: architecture/README.md
6267
- Contribute ❤️: https://github.com/Datuanalytics/datu-core/blob/main/CONTRIBUTING.md

0 commit comments

Comments
 (0)