├── .gitignore ├── LICENSE ├── README.md ├── assets └── logo.png ├── llms-install.md ├── package.json ├── pnpm-lock.yaml ├── src ├── McpService.ts ├── cli.ts ├── core │ ├── Cache.ts │ ├── Logger.ts │ ├── SpecProcessor.ts │ ├── SpecScanner.ts │ ├── SpecService.ts │ ├── __tests__ │ │ ├── SpecExplorer.test.ts │ │ ├── SpecPersister.test.ts │ │ ├── SpecProcessor.test.ts │ │ └── SpecScanner.test.ts │ ├── command.ts │ └── interfaces │ │ ├── ISpecProcessor.ts │ │ ├── ISpecScanner.ts │ │ ├── ISpecService.ts │ │ └── ISyncManager.ts └── index.ts ├── test └── data │ ├── basic-api.json │ ├── invalid.txt │ ├── petstore-swagger2.json │ ├── petstore.yaml │ ├── task-management.yaml │ └── user-management.yaml └── vitest.config.ts /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ReAPI-com/mcp-openapi/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ReAPI-com/mcp-openapi/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ReAPI-com/mcp-openapi/HEAD/README.md -------------------------------------------------------------------------------- /assets/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ReAPI-com/mcp-openapi/HEAD/assets/logo.png -------------------------------------------------------------------------------- /llms-install.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ReAPI-com/mcp-openapi/HEAD/llms-install.md -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ReAPI-com/mcp-openapi/HEAD/package.json -------------------------------------------------------------------------------- /pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ReAPI-com/mcp-openapi/HEAD/pnpm-lock.yaml -------------------------------------------------------------------------------- /src/McpService.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ReAPI-com/mcp-openapi/HEAD/src/McpService.ts -------------------------------------------------------------------------------- /src/cli.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ReAPI-com/mcp-openapi/HEAD/src/cli.ts -------------------------------------------------------------------------------- /src/core/Cache.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ReAPI-com/mcp-openapi/HEAD/src/core/Cache.ts -------------------------------------------------------------------------------- /src/core/Logger.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ReAPI-com/mcp-openapi/HEAD/src/core/Logger.ts -------------------------------------------------------------------------------- /src/core/SpecProcessor.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ReAPI-com/mcp-openapi/HEAD/src/core/SpecProcessor.ts -------------------------------------------------------------------------------- /src/core/SpecScanner.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ReAPI-com/mcp-openapi/HEAD/src/core/SpecScanner.ts -------------------------------------------------------------------------------- /src/core/SpecService.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ReAPI-com/mcp-openapi/HEAD/src/core/SpecService.ts -------------------------------------------------------------------------------- /src/core/__tests__/SpecExplorer.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ReAPI-com/mcp-openapi/HEAD/src/core/__tests__/SpecExplorer.test.ts -------------------------------------------------------------------------------- /src/core/__tests__/SpecPersister.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ReAPI-com/mcp-openapi/HEAD/src/core/__tests__/SpecPersister.test.ts -------------------------------------------------------------------------------- /src/core/__tests__/SpecProcessor.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ReAPI-com/mcp-openapi/HEAD/src/core/__tests__/SpecProcessor.test.ts -------------------------------------------------------------------------------- /src/core/__tests__/SpecScanner.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ReAPI-com/mcp-openapi/HEAD/src/core/__tests__/SpecScanner.test.ts -------------------------------------------------------------------------------- /src/core/command.ts: -------------------------------------------------------------------------------- 1 | export interface CliCommand { 2 | folderPath: string; 3 | } 4 | -------------------------------------------------------------------------------- /src/core/interfaces/ISpecProcessor.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ReAPI-com/mcp-openapi/HEAD/src/core/interfaces/ISpecProcessor.ts -------------------------------------------------------------------------------- /src/core/interfaces/ISpecScanner.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ReAPI-com/mcp-openapi/HEAD/src/core/interfaces/ISpecScanner.ts -------------------------------------------------------------------------------- /src/core/interfaces/ISpecService.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ReAPI-com/mcp-openapi/HEAD/src/core/interfaces/ISpecService.ts -------------------------------------------------------------------------------- /src/core/interfaces/ISyncManager.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ReAPI-com/mcp-openapi/HEAD/src/core/interfaces/ISyncManager.ts -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ReAPI-com/mcp-openapi/HEAD/src/index.ts -------------------------------------------------------------------------------- /test/data/basic-api.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ReAPI-com/mcp-openapi/HEAD/test/data/basic-api.json -------------------------------------------------------------------------------- /test/data/invalid.txt: -------------------------------------------------------------------------------- 1 | invalid text -------------------------------------------------------------------------------- /test/data/petstore-swagger2.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ReAPI-com/mcp-openapi/HEAD/test/data/petstore-swagger2.json -------------------------------------------------------------------------------- /test/data/petstore.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ReAPI-com/mcp-openapi/HEAD/test/data/petstore.yaml -------------------------------------------------------------------------------- /test/data/task-management.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ReAPI-com/mcp-openapi/HEAD/test/data/task-management.yaml -------------------------------------------------------------------------------- /test/data/user-management.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ReAPI-com/mcp-openapi/HEAD/test/data/user-management.yaml -------------------------------------------------------------------------------- /vitest.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ReAPI-com/mcp-openapi/HEAD/vitest.config.ts --------------------------------------------------------------------------------