MCP 서버

api-mock-server

io.github.lazymac2x/api-mock-server
개발자 도구 공개 · 연결 가능 MCP 2026-07-28

이 MCP로 할 수 있는 일

Creates and manages mock API servers from OpenAPI or Swagger specifications, including endpoint responses and request logs.

create_mock
OpenAPI/Swagger 스펙(JSON)으로 목업 API 서버를 생성합니다. 즉시 사용 가능한 엔드포인트 URL을 반환합니다.
입력 스키마
{'type': 'object', 'required': ['name', 'spec'], 'properties': {'name': {'type': 'string', 'description': '목업 서버 이름'}, 'spec': {'type': 'object', 'description': 'OpenAPI 3.0 또는 Swagger 2.0 스펙 JSON 객체'}, 'description': {'type': 'string', 'description': '목업 서버 설명 (선택)'}}}
delete_mock
목업 서버를 삭제합니다.
입력 스키마
{'type': 'object', 'required': ['mock_id'], 'properties': {'mock_id': {'type': 'string', 'description': '삭제할 목업 서버 ID'}}}
get_mock_endpoint
특정 목업 서버의 상세 정보와 엔드포인트 목록을 반환합니다.
입력 스키마
{'type': 'object', 'required': ['mock_id'], 'properties': {'mock_id': {'type': 'string', 'description': '목업 서버 ID'}}}
get_mock_logs
목업 서버에 들어온 요청 로그를 조회합니다.
입력 스키마
{'type': 'object', 'required': ['mock_id'], 'properties': {'limit': {'type': 'integer', 'default': 50, 'description': '최대 로그 수 (기본: 50, 최대: 100)'}, 'mock_id': {'type': 'string', 'description': '목업 서버 ID'}}}
list_mocks
생성된 모든 목업 서버 목록을 반환합니다.
입력 스키마
{'type': 'object', 'properties': {}}
update_mock_response
특정 엔드포인트의 응답을 수정하거나 새 엔드포인트를 추가합니다.
입력 스키마
{'type': 'object', 'required': ['mock_id', 'method', 'path'], 'properties': {'path': {'type': 'string', 'description': 'API 경로 (예: /users/{id})'}, 'method': {'enum': ['GET', 'POST', 'PUT', 'PATCH', 'DELETE'], 'type': 'string', 'description': 'HTTP 메서드'}, 'status': {'type': 'integer', 'default': 200, 'description': 'HTTP 상태 코드 (기본: 200)'}, 'headers': {'type': 'object', 'description': '추가 응답 헤더 (선택)'}, 'mock_id': {'type': 'string', 'description': '목업 서버 ID'}, 'response': {'type': 'object', 'description': '반환할 응답 JSON 객체'}}}
추가됨
get_mock_logs
2026년 9월 17일 12:43 PM
추가됨
update_mock_response
2026년 9월 17일 12:43 PM
추가됨
delete_mock
2026년 9월 17일 12:43 PM
추가됨
get_mock_endpoint
2026년 9월 17일 12:43 PM
추가됨
list_mocks
2026년 9월 17일 12:43 PM
추가됨
create_mock
2026년 9월 17일 12:43 PM