api-mock-server
Cloudflare Workers MCP server: api-mock-server
Sollte ich dies verwenden
Qualität und Sicherheit
B
Befunde (5)
- LOWin list_mocks
- LOWin get_mock_endpoint
- LOWin delete_mock
- LOWin update_mock_response
- LOWin get_mock_logs
Basierend auf einer automatisierten Analyse der Tool-Definitionen und der Einhaltung des Protokolls.
Kontextkosten
~614Tokens (Tool-Definitionen)
~588 BTypische Antwortgröße
Minimale Auswirkung auf die Aufmerksamkeit (0.48% von 128k Kontext)
Dies ist die ungefähre Anzahl der Tokens, die jedes Mal verbraucht werden, wenn die Tools des Servers in den Kontext eines Modells geladen werden. Höhere Werte verringern die Aufmerksamkeit, die für andere Aufgaben verfügbar ist.
Installieren
Installation mit einem Klick
Fügen Sie dies Ihrer Datei `claude_desktop_config.json` hinzu:
{
"mcpServers": {
"api-mock-server": {
"url": "https://api.lazy-mac.com/api-mock-server/mcp"
}
}
}Remote-Endpunkte
https://api.lazy-mac.com/api-mock-server/mcpstreamable-httpWas es kann
Tool-Inventar
Tools (6)
🟢 Nur lesen🟡 Schreiben🔴 Löschen⚪ Unbekannt
🟡create_mock(name, spec, description)
OpenAPI/Swagger 스펙(JSON)으로 목업 API 서버를 생성합니다. 즉시 사용 가능한 엔드포인트 URL을 반환합니다.
Eingabe-Schema
{
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "목업 서버 이름"
},
"spec": {
"type": "object",
"description": "OpenAPI 3.0 또는 Swagger 2.0 스펙 JSON 객체"
},
"description": {
"type": "string",
"description": "목업 서버 설명 (선택)"
}
},
"required": [
"name",
"spec"
]
}🟢list_mocks
생성된 모든 목업 서버 목록을 반환합니다.
Eingabe-Schema
{
"type": "object",
"properties": {}
}🟢get_mock_endpoint(mock_id)
특정 목업 서버의 상세 정보와 엔드포인트 목록을 반환합니다.
Eingabe-Schema
{
"type": "object",
"properties": {
"mock_id": {
"type": "string",
"description": "목업 서버 ID"
}
},
"required": [
"mock_id"
]
}🔴delete_mock(mock_id)
목업 서버를 삭제합니다.
Eingabe-Schema
{
"type": "object",
"properties": {
"mock_id": {
"type": "string",
"description": "삭제할 목업 서버 ID"
}
},
"required": [
"mock_id"
]
}🟡update_mock_response(mock_id, method, path, status, response, ...)
특정 엔드포인트의 응답을 수정하거나 새 엔드포인트를 추가합니다.
Eingabe-Schema
{
"type": "object",
"properties": {
"mock_id": {
"type": "string",
"description": "목업 서버 ID"
},
"method": {
"type": "string",
"description": "HTTP 메서드",
"enum": [
"GET",
"POST",
"PUT",
"PATCH",
"DELETE"
]
},
"path": {
"type": "string",
"description": "API 경로 (예: /users/{id})"
},
"status": {
"type": "integer",
"description": "HTTP 상태 코드 (기본: 200)",
"default": 200
},
"response": {
"type": "object",
"description": "반환할 응답 JSON 객체"
},
"headers": {
"type": "object",
"description": "추가 응답 헤더 (선택)"
}
},
"required": [
"mock_id",
"method",
"path"
]
}🟢get_mock_logs(mock_id, limit)
목업 서버에 들어온 요청 로그를 조회합니다.
Eingabe-Schema
{
"type": "object",
"properties": {
"mock_id": {
"type": "string",
"description": "목업 서버 ID"
},
"limit": {
"type": "integer",
"description": "최대 로그 수 (기본: 50, 최대: 100)",
"default": 50
}
},
"required": [
"mock_id"
]
}Community
Nachweis
Aktuelle Beobachtungen
verifiziertVersion nicht aufgezeichnet6 Tools
verifiziertVersion nicht aufgezeichnet6 Tools