api-flow-analyzer
Cloudflare Workers MCP server: api-flow-analyzer
사용해야 할까요
품질 및 안전성
A
도구 정의와 프로토콜 준수에 대한 자동 분석을 기반으로 합니다.
컨텍스트 비용
~605토큰 (도구 정의)
~1.0 KB일반적인 응답 크기
최소한의 주의 영향 (128k 컨텍스트의 0.47%)
이는 서버의 도구가 모델의 컨텍스트에 로드될 때마다 소비되는 대략적인 토큰 수입니다. 수치가 높을수록 다른 작업에 사용할 수 있는 주의가 줄어듭니다.
설치
원클릭 설치
`claude_desktop_config.json` 파일에 다음을 추가하세요:
{
"mcpServers": {
"api-flow-analyzer": {
"url": "https://api.lazy-mac.com/api-flow-analyzer/mcp"
}
}
}원격 엔드포인트
https://api.lazy-mac.com/api-flow-analyzer/mcpstreamable-http할 수 있는 일
도구 목록
도구 (6)
🟢 읽기 전용🟡 쓰기🔴 삭제⚪ 알 수 없음
⚪track_call(method, endpoint, duration_ms, response_size_bytes, status_code, ...)
Record and track an individual API call with metadata
입력 스키마
{
"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
입력 스키마
{
"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
입력 스키마
{
"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
입력 스키마
{
"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
입력 스키마
{
"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
입력 스키마
{
"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"
]
}커뮤니티
증거
최근 관측
검증됨버전이 기록되지 않음도구 6개
검증됨버전이 기록되지 않음도구 6개
검증됨버전이 기록되지 않음도구 6개