Skip to content
14 changes: 14 additions & 0 deletions docs/toolhive/guides-ui/network-isolation.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,20 @@ The configuration pictured below allows the MCP server to access
/>
<br />

### Accessing other workloads on the same container network

To allow an MCP server to access other workloads on the same network, you need
to configure network isolation to include the appropriate hostnames and ports.
This is commonly needed when your MCP server needs to communicate with
databases, APIs, or other services that are running on your local host during
development.

For example, in Docker environments, you can add `host.docker.internal` to
access services on the host:

- **Allowed hosts**: `host.docker.internal`
- **Allowed ports**: `3000`

## Related information

- [Run MCP servers](./run-mcp-servers.md)