diff --git a/docs/toolhive/guides-k8s/deploy-operator-helm.md b/docs/toolhive/guides-k8s/deploy-operator-helm.md index 0cab25ed..61e8a366 100644 --- a/docs/toolhive/guides-k8s/deploy-operator-helm.md +++ b/docs/toolhive/guides-k8s/deploy-operator-helm.md @@ -10,7 +10,7 @@ Kubernetes cluster. ## Prerequisites -- A Kubernetes cluster (v1.19+) +- A Kubernetes cluster (current and two previous minor versions are supported) - Permissions to create resources in the cluster - [`kubectl`](https://kubernetes.io/docs/tasks/tools/) configured to communicate with your cluster @@ -62,7 +62,7 @@ and set a specific ToolHive version, create a `values.yaml` file: ```yaml title="values.yaml" operator: replicaCount: 2 - toolhiveRunnerImage: ghcr.io/stacklok/toolhive:v0.0.42 # or `latest` + toolhiveRunnerImage: ghcr.io/stacklok/toolhive:v0.1.8 # or `latest` ``` Install the operator with your custom values: diff --git a/docs/toolhive/guides-k8s/run-mcp-k8s.md b/docs/toolhive/guides-k8s/run-mcp-k8s.md index 582a3f9c..61d87c22 100644 --- a/docs/toolhive/guides-k8s/run-mcp-k8s.md +++ b/docs/toolhive/guides-k8s/run-mcp-k8s.md @@ -6,7 +6,7 @@ sidebar_position: 20 ## Prerequisites -- A Kubernetes cluster (v1.19+) +- A Kubernetes cluster (current and two previous minor versions are supported) - Permissions to create resources in the cluster - [`kubectl`](https://kubernetes.io/docs/tasks/tools/) configured to communicate with your cluster @@ -210,7 +210,7 @@ format, so you can use any valid pod specification options. This example sets resource limits. -```yaml {13-14} title="my-mcpserver-custom-pod.yaml" +```yaml {14-15} title="my-mcpserver-custom-pod.yaml" apiVersion: toolhive.stacklok.dev/v1alpha1 kind: MCPServer metadata: diff --git a/docs/toolhive/tutorials/toolhive-operator.mdx b/docs/toolhive/tutorials/toolhive-operator.mdx index 6c88bb38..00a58b49 100644 --- a/docs/toolhive/tutorials/toolhive-operator.mdx +++ b/docs/toolhive/tutorials/toolhive-operator.mdx @@ -226,7 +226,7 @@ Configure Visual Studio Code to connect to your MCP server. Open VS Code and access your user settings: 1. Open the command palette (Cmd/Ctrl+Shift+P) -2. Type "Preferences: Open User Settings (JSON)" and select it +2. Type "MCP: Add Server..." and select it -Add the MCP server configuration to your `settings.json` file. If you have -existing settings, merge the following configuration into it: - -```json -{ - // Other existing settings... - - "mcp": { - "servers": { - "fetch": { - "url": "http://localhost:8080/sse#fetch", - "type": "sse" - } - } - } -} -``` +3. Select "HTTP" as the server type + +4. Enter the server URL: `http://localhost:8080/mcp` and press Enter + +5. Enter a name for the server (e.g., "fetch") and press Enter + +6. Choose "Global" to add the server to your global settings + +7. VS Code adds the server and opens the MCP settings file. It should look like + this: + + ```json + { + "servers": { + "fetch": { + "url": "http://localhost:8080/mcp", + "type": "http" + } + }, + "inputs": [] + } + ``` -Save the file and click **Start** to initiate the connection. The indicator -should change to "Running" and show "1 tools". +To verify the connection, click **Start**. The indicator should change to +"Running" and show "1 tools".