MCP Server

api-mock-server

io.github.lazymac2x/api-mock-server
Developer Tools Public & reachable MCP 2026-07-28

What this MCP does

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

create_mock
OpenAPI/Swagger 스펙(JSON)으로 목업 API 서버를 생성합니다. 즉시 사용 가능한 엔드포인트 URL을 반환합니다.
Input schema
{'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
목업 서버를 삭제합니다.
Input schema
{'type': 'object', 'required': ['mock_id'], 'properties': {'mock_id': {'type': 'string', 'description': '삭제할 목업 서버 ID'}}}
get_mock_endpoint
특정 목업 서버의 상세 정보와 엔드포인트 목록을 반환합니다.
Input schema
{'type': 'object', 'required': ['mock_id'], 'properties': {'mock_id': {'type': 'string', 'description': '목업 서버 ID'}}}
get_mock_logs
목업 서버에 들어온 요청 로그를 조회합니다.
Input schema
{'type': 'object', 'required': ['mock_id'], 'properties': {'limit': {'type': 'integer', 'default': 50, 'description': '최대 로그 수 (기본: 50, 최대: 100)'}, 'mock_id': {'type': 'string', 'description': '목업 서버 ID'}}}
list_mocks
생성된 모든 목업 서버 목록을 반환합니다.
Input schema
{'type': 'object', 'properties': {}}
update_mock_response
특정 엔드포인트의 응답을 수정하거나 새 엔드포인트를 추가합니다.
Input schema
{'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 객체'}}}
Added
get_mock_logs
Sept. 17, 2026, 12:43 p.m.
Added
update_mock_response
Sept. 17, 2026, 12:43 p.m.
Added
delete_mock
Sept. 17, 2026, 12:43 p.m.
Added
get_mock_endpoint
Sept. 17, 2026, 12:43 p.m.
Added
list_mocks
Sept. 17, 2026, 12:43 p.m.
Added
create_mock
Sept. 17, 2026, 12:43 p.m.