Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/toolhive/guides-k8s/deploy-operator-helm.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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:
Expand Down
4 changes: 2 additions & 2 deletions docs/toolhive/guides-k8s/run-mcp-k8s.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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:
Expand Down
47 changes: 26 additions & 21 deletions docs/toolhive/tutorials/toolhive-operator.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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

<ThemedImage
alt='VS Code user settings in command palette'
Expand All @@ -239,26 +239,31 @@ access your user settings:
className='screenshot'
/>

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".

<ThemedImage
alt='VS Code MCP settings'
Expand Down Expand Up @@ -315,7 +320,7 @@ retrieve the content and provide a summary.
You're manually configuring VS Code to connect to your MCP server running in
Kubernetes. The port-forward creates a tunnel from your local machine
(port 8080) to the Kubernetes service, allowing GitHub Copilot to communicate
with the server using the SSE (server-sent events) protocol.
with the server using the Streamable HTTP protocol.

:::

Expand Down
Binary file modified static/img/toolhive/quickstart/vscode-agent-mode-dark.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified static/img/toolhive/quickstart/vscode-agent-mode-light.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified static/img/toolhive/quickstart/vscode-mcp-running-dark.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified static/img/toolhive/quickstart/vscode-mcp-running-light.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified static/img/toolhive/quickstart/vscode-mcp-start-dark.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified static/img/toolhive/quickstart/vscode-mcp-start-light.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified static/img/toolhive/quickstart/vscode-settings-dark.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified static/img/toolhive/quickstart/vscode-settings-light.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading