Skip to main content
Glama

proxy_clear_upstream

Remove the global upstream proxy to send traffic directly to target servers, bypassing intermediate proxy layers.

Instructions

Remove the global upstream proxy. Traffic will go directly to target servers.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The tool handler for proxy_clear_upstream which calls proxyManager.clearGlobalUpstream() to remove the upstream proxy.
    server.tool(
      "proxy_clear_upstream",
      "Remove the global upstream proxy. Traffic will go directly to target servers.",
      {},
      async () => {
        try {
          await proxyManager.clearGlobalUpstream();
          return {
            content: [{
              type: "text",
              text: JSON.stringify({ status: "success", message: "Global upstream cleared." }),
            }],
          };
        } catch (e) {
          return { content: [{ type: "text", text: JSON.stringify({ status: "error", error: String(e) }) }] };
        }
      },
    );
Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/yfe404/proxy-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server