Skip to main content
Glama
mako10k

Web Proxy MCP Server

by mako10k

ssl_switch_ca

Switch to a specified Certificate Authority on the Web Proxy MCP Server to manage SSL certificates for automated traffic monitoring and analysis.

Instructions

Switch to a different Certificate Authority

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
caNameYesName of the CA to switch to

Implementation Reference

  • MCP tool handler for ssl_switch_ca: validates args, calls sslManager.switchCA, returns formatted success message with new CA details.
    case 'ssl_switch_ca': const switchResult = await this.sslManager.switchCA(args.caName); return { content: [{ type: "text", text: `🔄 Switched to CA: ${switchResult.caName}\n📁 CA Directory: ${switchResult.caDir}` }] };
  • Tool schema definition: requires caName string parameter.
    ssl_switch_ca: { name: "ssl_switch_ca", description: "Switch to a different Certificate Authority", inputSchema: { type: "object", properties: { caName: { type: "string", description: "Name of the CA to switch to" } }, required: ["caName"] } },
  • Core SSLManager.switchCA implementation: updates current CA, verifies existence, loads info, returns new details.
    async switchCA(caName) { this.currentCA = caName; this.caDir = path.join(this.caBaseDir, this.currentCA); const caExists = await this._checkCAExists(); if (!caExists) { throw new Error(`CA '${caName}' does not exist`); } await this._loadCAInfo(); return { caName, caDir: this.caDir }; }

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/mako10k/mcp-web-proxy'

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