Skip to content
You are reading the docs for Wanaku next, the Rust-based server (early access of 0.3.0). Read the Classic docs for the Java-based Wanaku 0.2.

Connect upstream MCP servers with forwards ​

A forward connects Wanaku to one upstream MCP server. Agents call the tools through Wanaku, and Wanaku forwards each allowed call to the upstream server.

Register a forward ​

Use the CLI to register a forward to an MCP server:

bash
wanaku forwards add --service="http://localhost:8180/mcp" --name my-mcp-server --namespace default --no-auth

Wanaku connects to the upstream server. It discovers and registers all available tools. Each forward connects to one upstream MCP server. Wanaku automatically discovers the tools, resources, and prompts on that server.

List the discovered tools:

bash
wanaku tools list --no-auth

To register more upstream servers, add one forward for each server. To register forwards at startup, put them in the forwards section of wanaku.yaml. To register forwards through the REST API, read Create a Forward.

When Wanaku runs in a container, localhost is the container itself. Read Run Wanaku in a container for the addresses of services on the host.

Next steps ​