Skip to content

Commit 446c543

Browse files
committed
Changes based on feedback
1 parent 3b5b595 commit 446c543

File tree

2 files changed

+57
-7
lines changed

2 files changed

+57
-7
lines changed

doc/user/content/integrations/mcp-agents.md

Lines changed: 29 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -181,19 +181,44 @@ curl -X POST https://<region-id>.materialize.cloud/api/mcp/agents \
181181

182182
### Enabling the endpoint
183183

184-
The agents endpoint is disabled by default. Enable it at runtime using system
185-
parameters:
184+
The agents endpoint is disabled by default.
185+
186+
{{< tabs >}}
187+
188+
{{< tab "Cloud" >}}
189+
190+
Contact [Materialize support](https://materialize.com/docs/support/) to enable
191+
the MCP agents endpoint for your environment. The following parameters control
192+
MCP behavior:
186193

187194
| Parameter | Default | Description |
188195
|-----------|---------|-------------|
189196
| `enable_mcp_agents` | `false` | Enable or disable the `/api/mcp/agents` endpoint. |
190197
| `enable_mcp_agents_query_tool` | `false` | Show or hide the `query` tool on the agents endpoint. |
191198
| `mcp_max_response_size` | `1000000` | Maximum response size in bytes. Queries exceeding this limit return an error. |
192199

193-
```mzsql
194-
ALTER SYSTEM SET enable_mcp_agents = true;
200+
{{< /tab >}}
201+
202+
{{< tab "Self-Managed" >}}
203+
204+
Enable the endpoint by setting system parameters in your
205+
[configuration file](/self-managed-deployments/configuration-system-parameters/):
206+
207+
```yaml
208+
system_parameters:
209+
enable_mcp_agents: "true"
195210
```
196211
212+
| Parameter | Default | Description |
213+
|-----------|---------|-------------|
214+
| `enable_mcp_agents` | `false` | Enable or disable the `/api/mcp/agents` endpoint. |
215+
| `enable_mcp_agents_query_tool` | `false` | Show or hide the `query` tool on the agents endpoint. |
216+
| `mcp_max_response_size` | `1000000` | Maximum response size in bytes. Queries exceeding this limit return an error. |
217+
218+
{{< /tab >}}
219+
220+
{{< /tabs >}}
221+
197222
When the endpoint is disabled, requests return HTTP 503 (Service Unavailable).
198223

199224
## Authentication and access control {#rbac}

doc/user/content/integrations/mcp-observatory.md

Lines changed: 28 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -181,17 +181,42 @@ curl -X POST https://<region-id>.materialize.cloud/api/mcp/observatory \
181181

182182
### Enabling the endpoint
183183

184-
The observatory endpoint is disabled by default. Enable it at runtime:
184+
The observatory endpoint is disabled by default.
185+
186+
{{< tabs >}}
187+
188+
{{< tab "Cloud" >}}
189+
190+
Contact [Materialize support](https://materialize.com/docs/support/) to enable
191+
the MCP observatory endpoint for your environment. The following parameters
192+
control MCP behavior:
185193

186194
| Parameter | Default | Description |
187195
|-----------|---------|-------------|
188196
| `enable_mcp_observatory` | `false` | Enable or disable the `/api/mcp/observatory` endpoint. |
189197
| `mcp_max_response_size` | `1000000` | Maximum response size in bytes. Queries exceeding this limit return an error. |
190198

191-
```mzsql
192-
ALTER SYSTEM SET enable_mcp_observatory = true;
199+
{{< /tab >}}
200+
201+
{{< tab "Self-Managed" >}}
202+
203+
Enable the endpoint by setting system parameters in your
204+
[configuration file](/self-managed-deployments/configuration-system-parameters/):
205+
206+
```yaml
207+
system_parameters:
208+
enable_mcp_observatory: "true"
193209
```
194210
211+
| Parameter | Default | Description |
212+
|-----------|---------|-------------|
213+
| `enable_mcp_observatory` | `false` | Enable or disable the `/api/mcp/observatory` endpoint. |
214+
| `mcp_max_response_size` | `1000000` | Maximum response size in bytes. Queries exceeding this limit return an error. |
215+
216+
{{< /tab >}}
217+
218+
{{< /tabs >}}
219+
195220
When the endpoint is disabled, requests return HTTP 503 (Service Unavailable).
196221

197222
## What you can ask

0 commit comments

Comments
 (0)