api-flow-analyzer

Cloudflare Workers MCP server: api-flow-analyzer

¿Debería usar esto?

Calidad y seguridad

A
Calidad de la descripción
97%
Integridad del esquema
100%
Calidad de los nombres
93%
Riesgo de envenenamiento
100%
Coincidencia de permisos
100%
Cumplimiento del protocolo
100%

Basado en el análisis automatizado de las definiciones de herramientas y el cumplimiento del protocolo.

Costo de contexto

~605Tokens (definiciones de herramientas)
~1.0 KBTamaño de respuesta típico
Impacto mínimo en la atención (0.47% del contexto de 128k)

Este es el número aproximado de tokens que se consumen cada vez que las herramientas del servidor se cargan en el contexto de un modelo. Los recuentos más altos reducen la atención disponible para otras tareas.

Instalar

Instalación con un clic

Agrega esto a tu archivo `claude_desktop_config.json`:

{
  "mcpServers": {
    "api-flow-analyzer": {
      "url": "https://api.lazy-mac.com/api-flow-analyzer/mcp"
    }
  }
}

Puntos de conexión remotos

https://api.lazy-mac.com/api-flow-analyzer/mcpstreamable-http

Qué puede hacer

Inventario de herramientas

Herramientas (6)

🟢 Solo lectura🟡 Escritura🔴 Eliminación⚪ Desconocido
⚪track_call(method, endpoint, duration_ms, response_size_bytes, status_code, ...)

Record and track an individual API call with metadata

Esquema de entrada

{
  "type": "object",
  "properties": {
    "method": {
      "type": "string",
      "description": "HTTP method (GET, POST, etc.)"
    },
    "endpoint": {
      "type": "string",
      "description": "API endpoint URL"
    },
    "duration_ms": {
      "type": "number",
      "description": "Call duration in milliseconds"
    },
    "response_size_bytes": {
      "type": "number",
      "description": "Response payload size"
    },
    "status_code": {
      "type": "number",
      "description": "HTTP status code"
    },
    "service_name": {
      "type": "string",
      "description": "Source service identifier"
    }
  },
  "required": [
    "method",
    "endpoint",
    "duration_ms",
    "status_code"
  ]
}
🟢analyze_flow(calls, flow_id)

Analyze complete API call flow and identify patterns

Esquema de entrada

{
  "type": "object",
  "properties": {
    "calls": {
      "type": "array",
      "description": "Array of API calls with metadata",
      "items": {
        "type": "object",
        "properties": {
          "method": {
            "type": "string"
          },
          "endpoint": {
            "type": "string"
          },
          "duration_ms": {
            "type": "number"
          },
          "timestamp": {
            "type": "number"
          }
        }
      }
    },
    "flow_id": {
      "type": "string",
      "description": "Unique request flow identifier"
    }
  },
  "required": [
    "calls",
    "flow_id"
  ]
}
⚪detect_redundancy(calls, threshold_pct)

Identify duplicate or redundant API calls in a flow

Esquema de entrada

{
  "type": "object",
  "properties": {
    "calls": {
      "type": "array",
      "description": "Array of API calls to analyze",
      "items": {
        "type": "object"
      }
    },
    "threshold_pct": {
      "type": "number",
      "description": "Similarity threshold percentage (0-100)",
      "default": 80
    }
  },
  "required": [
    "calls"
  ]
}
⚪suggest_batching(calls, batch_size_limit)

Recommend batching opportunities for parallel API calls

Esquema de entrada

{
  "type": "object",
  "properties": {
    "calls": {
      "type": "array",
      "description": "Array of API calls to optimize",
      "items": {
        "type": "object"
      }
    },
    "batch_size_limit": {
      "type": "number",
      "description": "Max items per batch",
      "default": 50
    }
  },
  "required": [
    "calls"
  ]
}
🟢calculate_savings(current_calls, optimized_calls, cost_per_call_usd, avg_latency_ms)

Calculate estimated cost and latency savings from optimizations

Esquema de entrada

{
  "type": "object",
  "properties": {
    "current_calls": {
      "type": "number",
      "description": "Current number of API calls"
    },
    "optimized_calls": {
      "type": "number",
      "description": "Optimized number of calls"
    },
    "cost_per_call_usd": {
      "type": "number",
      "description": "Cost per API call in USD",
      "default": 0.0001
    },
    "avg_latency_ms": {
      "type": "number",
      "description": "Average latency per call in ms"
    }
  },
  "required": [
    "current_calls",
    "optimized_calls"
  ]
}
🟢get_dependency_graph(calls)

Generate dependency graph of API calls showing call sequence and relationships

Esquema de entrada

{
  "type": "object",
  "properties": {
    "calls": {
      "type": "array",
      "description": "Array of API calls with dependencies",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "endpoint": {
            "type": "string"
          },
          "depends_on": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        }
      }
    }
  },
  "required": [
    "calls"
  ]
}

Comunidad

Califica este servidor

Evidencia

Observaciones recientes

verificadoversión no registrada6 herramientas
verificadoversión no registrada6 herramientas