mcp-openapi-schema-explorer 1.1.0 → 1.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.devcontainer/Dockerfile +3 -0
- package/.devcontainer/devcontainer.json +1 -1
- package/.github/dependabot.yml +12 -0
- package/.github/workflows/ci.yml +21 -1
- package/.husky/pre-commit +0 -3
- package/.releaserc.json +8 -0
- package/.tokeignore +1 -0
- package/CHANGELOG.md +27 -0
- package/DOCKERHUB_README.md +126 -0
- package/Dockerfile +31 -2
- package/README.md +157 -23
- package/assets/logo-400.png +0 -0
- package/assets/logo-full.png +0 -0
- package/dist/src/index.js +4 -0
- package/dist/src/index.js.map +1 -1
- package/dist/src/version.d.ts +1 -1
- package/dist/src/version.js +1 -1
- package/justfile +1 -1
- package/llms-install.md +210 -0
- package/memory-bank/activeContext.md +86 -132
- package/memory-bank/productContext.md +8 -6
- package/memory-bank/progress.md +11 -2
- package/memory-bank/systemPatterns.md +6 -3
- package/memory-bank/techContext.md +6 -3
- package/package.json +7 -6
- package/src/index.ts +12 -4
- package/src/version.ts +1 -1
- package/test/__tests__/unit/handlers/component-detail-handler.test.ts +7 -1
- package/test/__tests__/unit/handlers/component-map-handler.test.ts +7 -1
- package/test/__tests__/unit/handlers/operation-handler.test.ts +7 -1
- package/test/__tests__/unit/handlers/path-item-handler.test.ts +7 -1
- package/test/__tests__/unit/handlers/top-level-field-handler.test.ts +4 -5
package/.github/dependabot.yml
CHANGED
|
@@ -5,9 +5,21 @@ updates:
|
|
|
5
5
|
schedule:
|
|
6
6
|
interval: 'weekly'
|
|
7
7
|
open-pull-requests-limit: 10
|
|
8
|
+
groups:
|
|
9
|
+
# Group all development dependencies together
|
|
10
|
+
dev-dependencies:
|
|
11
|
+
dependency-type: 'development'
|
|
12
|
+
|
|
13
|
+
# Group production dependencies together
|
|
14
|
+
production-dependencies:
|
|
15
|
+
dependency-type: 'production'
|
|
8
16
|
|
|
9
17
|
- package-ecosystem: 'github-actions'
|
|
10
18
|
directory: '/'
|
|
11
19
|
schedule:
|
|
12
20
|
interval: 'weekly'
|
|
13
21
|
open-pull-requests-limit: 10
|
|
22
|
+
groups:
|
|
23
|
+
github-actions:
|
|
24
|
+
patterns:
|
|
25
|
+
- '*'
|
package/.github/workflows/ci.yml
CHANGED
|
@@ -96,6 +96,7 @@ jobs:
|
|
|
96
96
|
uses: actions/checkout@v4
|
|
97
97
|
with:
|
|
98
98
|
persist-credentials: false
|
|
99
|
+
|
|
99
100
|
- name: Setup Node.js
|
|
100
101
|
uses: actions/setup-node@v4
|
|
101
102
|
with:
|
|
@@ -105,8 +106,27 @@ jobs:
|
|
|
105
106
|
- name: Install all dependencies
|
|
106
107
|
run: npm ci --include=dev
|
|
107
108
|
|
|
109
|
+
# Docker setup steps (Still needed for the environment where the action runs)
|
|
110
|
+
- name: Set up QEMU
|
|
111
|
+
uses: docker/setup-qemu-action@v3
|
|
112
|
+
- name: Set up Docker Buildx
|
|
113
|
+
uses: docker/setup-buildx-action@v3
|
|
114
|
+
- name: Log in to Docker Hub
|
|
115
|
+
uses: docker/login-action@v3
|
|
116
|
+
with:
|
|
117
|
+
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
|
118
|
+
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
|
119
|
+
|
|
108
120
|
- name: Semantic Release
|
|
109
121
|
uses: cycjimmy/semantic-release-action@v4
|
|
122
|
+
with:
|
|
123
|
+
# Add the docker plugin to extra_plugins
|
|
124
|
+
extra_plugins: |
|
|
125
|
+
@semantic-release/changelog
|
|
126
|
+
@semantic-release/exec
|
|
127
|
+
@semantic-release/git
|
|
128
|
+
@codedependant/semantic-release-docker
|
|
110
129
|
env:
|
|
111
|
-
GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }}
|
|
130
|
+
GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }} # Use dedicated release token if needed
|
|
112
131
|
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
|
132
|
+
# Docker login is handled by the login-action step above
|
package/.husky/pre-commit
CHANGED
package/.releaserc.json
CHANGED
|
@@ -18,6 +18,14 @@
|
|
|
18
18
|
"message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
|
|
19
19
|
}
|
|
20
20
|
],
|
|
21
|
+
[
|
|
22
|
+
"@codedependant/semantic-release-docker",
|
|
23
|
+
{
|
|
24
|
+
"dockerProject": "kadykov",
|
|
25
|
+
"dockerImage": "mcp-openapi-schema-explorer",
|
|
26
|
+
"dockerLogin": false
|
|
27
|
+
}
|
|
28
|
+
],
|
|
21
29
|
"@semantic-release/github"
|
|
22
30
|
]
|
|
23
31
|
}
|
package/.tokeignore
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
package-lock.json
|
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,30 @@
|
|
|
1
|
+
# [1.3.0](https://github.com/kadykov/mcp-openapi-schema-explorer/compare/v1.2.1...v1.3.0) (2025-08-12)
|
|
2
|
+
|
|
3
|
+
### Bug Fixes
|
|
4
|
+
|
|
5
|
+
- Use more generic instructions ([1372aae](https://github.com/kadykov/mcp-openapi-schema-explorer/commit/1372aaea824f2b9eb5d4c3569acc4f38c82550fd))
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
- add brief instructions so LLMs can better understand how to use the server ([c55c4ec](https://github.com/kadykov/mcp-openapi-schema-explorer/commit/c55c4ec029a7603746bf506340d8e3ffd54a6532))
|
|
10
|
+
|
|
11
|
+
## [1.2.1](https://github.com/kadykov/mcp-openapi-schema-explorer/compare/v1.2.0...v1.2.1) (2025-04-13)
|
|
12
|
+
|
|
13
|
+
### Bug Fixes
|
|
14
|
+
|
|
15
|
+
- update Node.js setup to match Dockerfile version and include dev dependencies ([8658705](https://github.com/kadykov/mcp-openapi-schema-explorer/commit/86587059268ad4c18d219729b39e4e4f990e05e9))
|
|
16
|
+
|
|
17
|
+
# [1.2.0](https://github.com/kadykov/mcp-openapi-schema-explorer/compare/v1.1.0...v1.2.0) (2025-04-13)
|
|
18
|
+
|
|
19
|
+
### Bug Fixes
|
|
20
|
+
|
|
21
|
+
- remove husky.sh sourcing from pre-commit hook ([2cf9455](https://github.com/kadykov/mcp-openapi-schema-explorer/commit/2cf9455f1432cb0c6cbda71d61cad9f2f87031ab))
|
|
22
|
+
- update Docker Hub login to use secrets for credentials ([ab2136b](https://github.com/kadykov/mcp-openapi-schema-explorer/commit/ab2136bd8c052d7287ef1fd6d2768a9fd93148c8))
|
|
23
|
+
|
|
24
|
+
### Features
|
|
25
|
+
|
|
26
|
+
- implement Docker support with multi-stage builds and CI integration ([910dc02](https://github.com/kadykov/mcp-openapi-schema-explorer/commit/910dc021b3e203574dee93198ce5896a9e8aa16d))
|
|
27
|
+
|
|
1
28
|
# [1.1.0](https://github.com/kadykov/mcp-openapi-schema-explorer/compare/v1.0.2...v1.1.0) (2025-04-13)
|
|
2
29
|
|
|
3
30
|
### Features
|
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
# MCP OpenAPI Schema Explorer
|
|
2
|
+
|
|
3
|
+
[](https://hub.docker.com/r/kadykov/mcp-openapi-schema-explorer)
|
|
4
|
+
[](https://github.com/kadykov/mcp-openapi-schema-explorer)
|
|
5
|
+
[](https://opensource.org/licenses/MIT)
|
|
6
|
+
|
|
7
|
+
This Docker image runs the **MCP OpenAPI Schema Explorer**, an MCP (Model Context Protocol) server that provides token-efficient access to OpenAPI (v3.0) and Swagger (v2.0) specifications via **MCP Resources**.
|
|
8
|
+
|
|
9
|
+
It allows MCP clients (like Cline or Claude Desktop) to explore the structure and details of large OpenAPI specifications without needing to load the entire file into an LLM's context window.
|
|
10
|
+
|
|
11
|
+
**Source Code & Full Documentation:** [https://github.com/kadykov/mcp-openapi-schema-explorer](https://github.com/kadykov/mcp-openapi-schema-explorer)
|
|
12
|
+
|
|
13
|
+
## Features
|
|
14
|
+
|
|
15
|
+
- **MCP Resource Access:** Explore OpenAPI specs via intuitive URIs (`openapi://info`, `openapi://paths/...`, `openapi://components/...`).
|
|
16
|
+
- **OpenAPI v3.0 & Swagger v2.0 Support:** Loads both formats, automatically converting v2.0 to v3.0.
|
|
17
|
+
- **Local & Remote Files:** Load specs from local file paths (via volume mount) or HTTP/HTTPS URLs.
|
|
18
|
+
- **Token-Efficient:** Designed to minimize token usage for LLMs.
|
|
19
|
+
- **Multiple Output Formats:** Get detailed views in JSON (default), YAML, or minified JSON (`--output-format`).
|
|
20
|
+
- **Dynamic Server Name:** Server name in MCP clients reflects the `info.title` from the loaded spec.
|
|
21
|
+
- **Reference Transformation:** Internal `$ref`s (`#/components/...`) are transformed into clickable MCP URIs.
|
|
22
|
+
|
|
23
|
+
## How to Run
|
|
24
|
+
|
|
25
|
+
Pull the image:
|
|
26
|
+
|
|
27
|
+
```bash
|
|
28
|
+
docker pull kadykov/mcp-openapi-schema-explorer:latest
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
The container expects the path or URL to the OpenAPI specification as a command-line argument.
|
|
32
|
+
|
|
33
|
+
### Using a Remote Specification URL
|
|
34
|
+
|
|
35
|
+
Pass the URL directly to `docker run`:
|
|
36
|
+
|
|
37
|
+
```bash
|
|
38
|
+
docker run --rm -i kadykov/mcp-openapi-schema-explorer:latest https://petstore3.swagger.io/api/v3/openapi.json
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
### Using a Local Specification File
|
|
42
|
+
|
|
43
|
+
Mount your local file into the container using the `-v` flag and provide the path _inside the container_ as the argument:
|
|
44
|
+
|
|
45
|
+
```bash
|
|
46
|
+
# Example: Mount local file ./my-spec.yaml to /spec/api.yaml inside the container
|
|
47
|
+
docker run --rm -i -v "$(pwd)/my-spec.yaml:/spec/api.yaml" kadykov/mcp-openapi-schema-explorer:latest /spec/api.yaml
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
_(Note: Replace `$(pwd)/my-spec.yaml` with the actual absolute path to your local file on the host machine)_
|
|
51
|
+
|
|
52
|
+
### Specifying Output Format
|
|
53
|
+
|
|
54
|
+
Use the `--output-format` flag (optional, defaults to `json`):
|
|
55
|
+
|
|
56
|
+
```bash
|
|
57
|
+
# Using YAML output with a remote URL
|
|
58
|
+
docker run --rm -i kadykov/mcp-openapi-schema-explorer:latest https://petstore3.swagger.io/api/v3/openapi.json --output-format yaml
|
|
59
|
+
|
|
60
|
+
# Using minified JSON with a local file
|
|
61
|
+
docker run --rm -i -v "$(pwd)/my-spec.yaml:/spec/api.yaml" kadykov/mcp-openapi-schema-explorer:latest /spec/api.yaml --output-format json-minified
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
Supported formats: `json`, `yaml`, `json-minified`.
|
|
65
|
+
|
|
66
|
+
## Tags
|
|
67
|
+
|
|
68
|
+
- `latest`: Points to the most recent stable release.
|
|
69
|
+
- Specific version tags (e.g., `1.2.1`) are available corresponding to the npm package versions.
|
|
70
|
+
|
|
71
|
+
## Usage with MCP Clients
|
|
72
|
+
|
|
73
|
+
You can configure your MCP client (like Cline or Claude Desktop) to run this Docker image as an MCP server.
|
|
74
|
+
|
|
75
|
+
### Example: Remote URL Specification
|
|
76
|
+
|
|
77
|
+
```json
|
|
78
|
+
// Example: ~/.config/cline/mcp_config.json
|
|
79
|
+
{
|
|
80
|
+
"mcpServers": {
|
|
81
|
+
"My API Spec (Docker Remote)": {
|
|
82
|
+
"command": "docker",
|
|
83
|
+
"args": [
|
|
84
|
+
"run",
|
|
85
|
+
"--rm",
|
|
86
|
+
"-i", // Required for MCP communication
|
|
87
|
+
"kadykov/mcp-openapi-schema-explorer:latest",
|
|
88
|
+
"https://petstore3.swagger.io/api/v3/openapi.json"
|
|
89
|
+
// Optional: Add "--output-format", "yaml" here if needed
|
|
90
|
+
],
|
|
91
|
+
"env": {}
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
```
|
|
96
|
+
|
|
97
|
+
### Example: Local File Specification
|
|
98
|
+
|
|
99
|
+
```json
|
|
100
|
+
// Example: ~/.config/cline/mcp_config.json
|
|
101
|
+
{
|
|
102
|
+
"mcpServers": {
|
|
103
|
+
"My API Spec (Docker Local)": {
|
|
104
|
+
"command": "docker",
|
|
105
|
+
"args": [
|
|
106
|
+
"run",
|
|
107
|
+
"--rm",
|
|
108
|
+
"-i", // Required for MCP communication
|
|
109
|
+
"-v",
|
|
110
|
+
"/full/path/to/your/local/openapi.yaml:/spec/api.yaml", // Host path : Container path
|
|
111
|
+
"kadykov/mcp-openapi-schema-explorer:latest",
|
|
112
|
+
"/spec/api.yaml", // Path inside the container
|
|
113
|
+
"--output-format",
|
|
114
|
+
"yaml" // Optional format
|
|
115
|
+
],
|
|
116
|
+
"env": {}
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
```
|
|
121
|
+
|
|
122
|
+
_(Remember to replace `/full/path/to/your/local/openapi.yaml` with the correct absolute path on your host machine)_
|
|
123
|
+
|
|
124
|
+
## Support
|
|
125
|
+
|
|
126
|
+
For issues or questions, please refer to the [GitHub repository](https://github.com/kadykov/mcp-openapi-schema-explorer) or open an [issue](https://github.com/kadykov/mcp-openapi-schema-explorer/issues).
|
package/Dockerfile
CHANGED
|
@@ -1,3 +1,32 @@
|
|
|
1
|
-
|
|
1
|
+
# Stage 1: Builder
|
|
2
|
+
FROM node:22-alpine AS builder
|
|
2
3
|
|
|
3
|
-
WORKDIR /
|
|
4
|
+
WORKDIR /app
|
|
5
|
+
|
|
6
|
+
# Copy necessary files for installation and build
|
|
7
|
+
COPY package.json package-lock.json ./
|
|
8
|
+
COPY tsconfig.json ./
|
|
9
|
+
COPY src ./src
|
|
10
|
+
|
|
11
|
+
# Install all dependencies (including devDependencies needed for build)
|
|
12
|
+
RUN npm ci
|
|
13
|
+
|
|
14
|
+
# Build the project
|
|
15
|
+
RUN npm run build
|
|
16
|
+
|
|
17
|
+
# Stage 2: Release
|
|
18
|
+
FROM node:22-alpine AS release
|
|
19
|
+
|
|
20
|
+
WORKDIR /app
|
|
21
|
+
|
|
22
|
+
# Copy only necessary files from the builder stage
|
|
23
|
+
COPY --from=builder /app/package.json ./package.json
|
|
24
|
+
COPY --from=builder /app/package-lock.json ./package-lock.json
|
|
25
|
+
COPY --from=builder /app/dist ./dist
|
|
26
|
+
|
|
27
|
+
# Install only production dependencies
|
|
28
|
+
RUN npm ci --omit=dev --ignore-scripts
|
|
29
|
+
|
|
30
|
+
# Set the entrypoint to run the compiled server
|
|
31
|
+
# Corrected path based on tsconfig.json ("rootDir": ".", "outDir": "dist")
|
|
32
|
+
ENTRYPOINT ["node", "dist/src/index.js"]
|
package/README.md
CHANGED
|
@@ -1,8 +1,16 @@
|
|
|
1
|
+
<p align="center">
|
|
2
|
+
<img src="assets/logo-400.png" alt="MCP OpenAPI Schema Explorer Logo" width="200">
|
|
3
|
+
</p>
|
|
4
|
+
|
|
1
5
|
# MCP OpenAPI Schema Explorer
|
|
2
6
|
|
|
3
7
|
[](https://badge.fury.io/js/mcp-openapi-schema-explorer)
|
|
8
|
+
[](https://badge.fury.io/js/mcp-openapi-schema-explorer)
|
|
9
|
+
[](https://hub.docker.com/r/kadykov/mcp-openapi-schema-explorer)
|
|
4
10
|
[](https://opensource.org/licenses/MIT)
|
|
5
11
|
[](https://codecov.io/gh/kadykov/mcp-openapi-schema-explorer)
|
|
12
|
+
[](https://mseep.ai/app/819a3ba3-ad54-4657-9241-648497e57d7b)
|
|
13
|
+
[](https://github.com/kadykov/mcp-openapi-schema-explorer)
|
|
6
14
|
|
|
7
15
|
An MCP (Model Context Protocol) server that provides token-efficient access to OpenAPI (v3.0) and Swagger (v2.0) specifications via **MCP Resources**.
|
|
8
16
|
|
|
@@ -23,21 +31,52 @@ While other MCP servers exist that provide access to OpenAPI specs via _Tools_,
|
|
|
23
31
|
|
|
24
32
|
For more details on MCP clients and their capabilities, see the [MCP Client Documentation](https://modelcontextprotocol.io/clients).
|
|
25
33
|
|
|
26
|
-
##
|
|
34
|
+
## Installation
|
|
35
|
+
|
|
36
|
+
For the recommended usage methods (`npx` and Docker, described below), **no separate installation step is required**. Your MCP client will download the package or pull the Docker image automatically based on the configuration you provide.
|
|
37
|
+
|
|
38
|
+
However, if you prefer or need to install the server explicitly, you have two options:
|
|
39
|
+
|
|
40
|
+
1. **Global Installation:** You can install the package globally using npm:
|
|
41
|
+
|
|
42
|
+
```bash
|
|
43
|
+
npm install -g mcp-openapi-schema-explorer
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
See **Method 3** below for how to configure your MCP client to use a globally installed server.
|
|
47
|
+
|
|
48
|
+
2. **Local Development/Installation:** You can clone the repository and build it locally:
|
|
49
|
+
```bash
|
|
50
|
+
git clone https://github.com/kadykov/mcp-openapi-schema-explorer.git
|
|
51
|
+
cd mcp-openapi-schema-explorer
|
|
52
|
+
npm install
|
|
53
|
+
npm run build
|
|
54
|
+
```
|
|
55
|
+
See **Method 4** below for how to configure your MCP client to run the server from your local build using `node`.
|
|
27
56
|
|
|
28
|
-
|
|
57
|
+
## Adding the Server to your MCP Client
|
|
29
58
|
|
|
30
|
-
|
|
59
|
+
This server is designed to be run by MCP clients (like Claude Desktop, Windsurf, Cline, etc.). To use it, you add a configuration entry to your client's settings file (often a JSON file). This entry tells the client how to execute the server process (e.g., using `npx`, `docker`, or `node`). The server itself doesn't require separate configuration beyond the command-line arguments specified in the client settings entry.
|
|
60
|
+
|
|
61
|
+
Below are the common methods for adding the server entry to your client's configuration.
|
|
62
|
+
|
|
63
|
+
### Method 1: npx (Recommended)
|
|
64
|
+
|
|
65
|
+
Using `npx` is recommended as it avoids global/local installation and ensures the client uses the latest published version.
|
|
66
|
+
|
|
67
|
+
**Example Client Configuration Entry (npx Method):**
|
|
68
|
+
|
|
69
|
+
Add the following JSON object to the `mcpServers` section of your MCP client's configuration file. This entry instructs the client on how to run the server using `npx`:
|
|
31
70
|
|
|
32
71
|
```json
|
|
33
72
|
{
|
|
34
73
|
"mcpServers": {
|
|
35
|
-
"My API Spec": {
|
|
74
|
+
"My API Spec (npx)": {
|
|
36
75
|
"command": "npx",
|
|
37
76
|
"args": [
|
|
38
77
|
"-y",
|
|
39
|
-
"mcp-openapi-schema-explorer",
|
|
40
|
-
"
|
|
78
|
+
"mcp-openapi-schema-explorer@latest",
|
|
79
|
+
"<path-or-url-to-spec>",
|
|
41
80
|
"--output-format",
|
|
42
81
|
"yaml"
|
|
43
82
|
],
|
|
@@ -47,33 +86,128 @@ This server is designed to be run by MCP clients. The recommended way to configu
|
|
|
47
86
|
}
|
|
48
87
|
```
|
|
49
88
|
|
|
50
|
-
**Configuration
|
|
89
|
+
**Configuration Notes:**
|
|
90
|
+
|
|
91
|
+
- Replace `"My API Spec (npx)"` with a unique name for this server instance in your client.
|
|
92
|
+
- Replace `<path-or-url-to-spec>` with the absolute local file path or full remote URL of your specification.
|
|
93
|
+
- The `--output-format` is optional (`json`, `yaml`, `json-minified`), defaulting to `json`.
|
|
94
|
+
- To explore multiple specifications, add separate entries in `mcpServers`, each with a unique name and pointing to a different spec.
|
|
51
95
|
|
|
52
|
-
|
|
53
|
-
- **`command`:** Use `"npx"` to run the package directly.
|
|
54
|
-
- **`args`:**
|
|
55
|
-
- `"-y"`: Auto-confirms the `npx` installation prompt if needed the first time.
|
|
56
|
-
- `"mcp-openapi-schema-explorer"`: The name of the package to execute.
|
|
57
|
-
- `"/path/to/your/local/openapi.json"`: **Required.** The absolute path to your local spec file or the full URL to a remote spec (e.g., `"https://remote/url/spec.json"`).
|
|
58
|
-
- `"--output-format", "yaml"`: **Optional.** Specifies the output format for detailed resource views. Defaults to `"json"`. Other options are `"yaml"` and `"json-minified"`.
|
|
59
|
-
- **`env`:** Currently, no environment variables are needed for this server.
|
|
96
|
+
### Method 2: Docker
|
|
60
97
|
|
|
61
|
-
|
|
98
|
+
You can instruct your MCP client to run the server using the official Docker image: `kadykov/mcp-openapi-schema-explorer`.
|
|
62
99
|
|
|
63
|
-
|
|
100
|
+
**Example Client Configuration Entries (Docker Method):**
|
|
64
101
|
|
|
65
|
-
|
|
102
|
+
Add one of the following JSON objects to the `mcpServers` section of your MCP client's configuration file. These entries instruct the client on how to run the server using `docker run`:
|
|
66
103
|
|
|
67
|
-
|
|
104
|
+
- **Remote URL:** Pass the URL directly to `docker run`.
|
|
105
|
+
|
|
106
|
+
- **Using a Remote URL:**
|
|
107
|
+
|
|
108
|
+
```json
|
|
109
|
+
{
|
|
110
|
+
"mcpServers": {
|
|
111
|
+
"My API Spec (Docker Remote)": {
|
|
112
|
+
"command": "docker",
|
|
113
|
+
"args": [
|
|
114
|
+
"run",
|
|
115
|
+
"--rm",
|
|
116
|
+
"-i",
|
|
117
|
+
"kadykov/mcp-openapi-schema-explorer:latest",
|
|
118
|
+
"<remote-url-to-spec>"
|
|
119
|
+
],
|
|
120
|
+
"env": {}
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
```
|
|
125
|
+
|
|
126
|
+
- **Using a Local File:** (Requires mounting the file into the container)
|
|
127
|
+
```json
|
|
128
|
+
{
|
|
129
|
+
"mcpServers": {
|
|
130
|
+
"My API Spec (Docker Local)": {
|
|
131
|
+
"command": "docker",
|
|
132
|
+
"args": [
|
|
133
|
+
"run",
|
|
134
|
+
"--rm",
|
|
135
|
+
"-i",
|
|
136
|
+
"-v",
|
|
137
|
+
"/full/host/path/to/spec.yaml:/spec/api.yaml",
|
|
138
|
+
"kadykov/mcp-openapi-schema-explorer:latest",
|
|
139
|
+
"/spec/api.yaml",
|
|
140
|
+
"--output-format",
|
|
141
|
+
"yaml"
|
|
142
|
+
],
|
|
143
|
+
"env": {}
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
```
|
|
148
|
+
**Important:** Replace `/full/host/path/to/spec.yaml` with the correct absolute path on your host machine. The path `/spec/api.yaml` is the corresponding path inside the container.
|
|
149
|
+
|
|
150
|
+
### Method 3: Global Installation (Less Common)
|
|
151
|
+
|
|
152
|
+
If you have installed the package globally using `npm install -g`, you can configure your client to run it directly.
|
|
68
153
|
|
|
69
154
|
```bash
|
|
155
|
+
# Run this command once in your terminal
|
|
70
156
|
npm install -g mcp-openapi-schema-explorer
|
|
71
157
|
```
|
|
72
158
|
|
|
73
|
-
|
|
159
|
+
**Example Client Configuration Entry (Global Install Method):**
|
|
160
|
+
|
|
161
|
+
Add the following entry to your MCP client's configuration file. This assumes the `mcp-openapi-schema-explorer` command is accessible in the client's execution environment PATH.
|
|
162
|
+
|
|
163
|
+
```json
|
|
164
|
+
{
|
|
165
|
+
"mcpServers": {
|
|
166
|
+
"My API Spec (Global)": {
|
|
167
|
+
"command": "mcp-openapi-schema-explorer",
|
|
168
|
+
"args": ["<path-or-url-to-spec>", "--output-format", "yaml"],
|
|
169
|
+
"env": {}
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
```
|
|
174
|
+
|
|
175
|
+
- Ensure the `command` (`mcp-openapi-schema-explorer`) is accessible in the PATH environment variable used by your MCP client.
|
|
176
|
+
|
|
177
|
+
### Method 4: Local Development/Installation
|
|
178
|
+
|
|
179
|
+
This method is useful if you have cloned the repository locally for development or to run a modified version.
|
|
180
|
+
|
|
181
|
+
**Setup Steps (Run once in your terminal):**
|
|
182
|
+
|
|
183
|
+
1. Clone the repository: `git clone https://github.com/kadykov/mcp-openapi-schema-explorer.git`
|
|
184
|
+
2. Navigate into the directory: `cd mcp-openapi-schema-explorer`
|
|
185
|
+
3. Install dependencies: `npm install`
|
|
186
|
+
4. Build the project: `npm run build` (or `just build`)
|
|
187
|
+
|
|
188
|
+
**Example Client Configuration Entry (Local Development Method):**
|
|
189
|
+
|
|
190
|
+
Add the following entry to your MCP client's configuration file. This instructs the client to run the locally built server using `node`.
|
|
191
|
+
|
|
192
|
+
```json
|
|
193
|
+
{
|
|
194
|
+
"mcpServers": {
|
|
195
|
+
"My API Spec (Local Dev)": {
|
|
196
|
+
"command": "node",
|
|
197
|
+
"args": [
|
|
198
|
+
"/full/path/to/cloned/mcp-openapi-schema-explorer/dist/src/index.js",
|
|
199
|
+
"<path-or-url-to-spec>",
|
|
200
|
+
"--output-format",
|
|
201
|
+
"yaml"
|
|
202
|
+
],
|
|
203
|
+
|
|
204
|
+
"env": {}
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
```
|
|
74
209
|
|
|
75
|
-
|
|
76
|
-
- `args`: Would only contain the `<path-or-url-to-spec>` and optional `--output-format` flag (omit `npx` and `-y`).
|
|
210
|
+
**Important:** Replace `/full/path/to/cloned/mcp-openapi-schema-explorer/dist/src/index.js` with the correct absolute path to the built `index.js` file in your cloned repository.
|
|
77
211
|
|
|
78
212
|
## Features
|
|
79
213
|
|
|
@@ -148,4 +282,4 @@ This project uses [`semantic-release`](https://github.com/semantic-release/seman
|
|
|
148
282
|
|
|
149
283
|
## Future Plans
|
|
150
284
|
|
|
151
|
-
|
|
285
|
+
(Future plans to be determined)
|
|
Binary file
|
|
Binary file
|
package/dist/src/index.js
CHANGED
|
@@ -42,10 +42,14 @@ async function main() {
|
|
|
42
42
|
const serverName = spec.info?.title
|
|
43
43
|
? `Schema Explorer for ${spec.info.title}`
|
|
44
44
|
: defaultServerName;
|
|
45
|
+
// Brief help content for LLMs
|
|
46
|
+
const helpContent = `Use resorces/templates/list to get a list of available resources. Use openapi://paths to get a list of all endpoints.`;
|
|
45
47
|
// Create MCP server with dynamic name
|
|
46
48
|
const server = new McpServer({
|
|
47
49
|
name: serverName,
|
|
48
50
|
version: VERSION, // Use the imported version
|
|
51
|
+
}, {
|
|
52
|
+
instructions: helpContent,
|
|
49
53
|
});
|
|
50
54
|
// Set up formatter and new handlers
|
|
51
55
|
const formatter = createFormatter(config.outputFormat);
|
package/dist/src/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,SAAS,EAAE,gBAAgB,EAAE,MAAM,yCAAyC,CAAC,CAAC,0BAA0B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BAAuB,EACvB;YACE,QAAQ,EAAE,SAAS,CAAC,WAAW,EAAE,EAAE,6BAA6B;YAChE,WAAW,EACT,0GAA0G;YAC5G,IAAI,EAAE,kBAAkB;SACzB,EACD,sBAAsB,CAAC,aAAa,CACrC,CAAC;QAEF,eAAe;QACf,MAAM,SAAS,GAAG,IAAI,oBAAoB,EAAE,CAAC;QAC7C,MAAM,MAAM,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC;IAClC,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,OAAO,CAAC,KAAK,CACX,yBAAyB,EACzB,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CACvD,CAAC;QACF,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;IAClB,CAAC;AACH,CAAC;AAED,iBAAiB;AACjB,IAAI,EAAE,CAAC,KAAK,CAAC,KAAK,CAAC,EAAE;IACnB,OAAO,CAAC,KAAK,CAAC,kBAAkB,EAAE,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC;IAC1F,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AAClB,CAAC,CAAC,CAAC"}
|
package/dist/src/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const VERSION = "1.
|
|
1
|
+
export declare const VERSION = "1.3.0";
|
package/dist/src/version.js
CHANGED