Skip to content

Commit 4896302

Browse files
authored
Add mcpgen-cli OpenAPI to MCP generator (apisyouwonthate#790)
1 parent b3a28cc commit 4896302

1 file changed

Lines changed: 47 additions & 0 deletions

File tree

src/content/tools/mcpgen-cli.md

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
---
2+
name: 'mcpgen-cli'
3+
description: 'Generate MCP servers from OpenAPI or Postman specifications.'
4+
categories:
5+
- mcp
6+
- code-generators
7+
languages: { 'Python': true }
8+
link: 'https://pypi.org/project/mcpgen-cli/'
9+
repo: 'https://github.com/JnanaSrota/mcpgen'
10+
oaiSpecs:
11+
oas: true
12+
overlays: false
13+
arazzo: false
14+
oasVersions:
15+
v2: false
16+
v3: true
17+
v3_1: true
18+
v3_2: false
19+
---
20+
21+
## Overview
22+
23+
mcpgen-cli generates a ready-to-run MCP server from an OpenAPI or Postman spec, so an existing API can be exposed to Claude, Cursor, and other MCP clients without hand-writing the integration layer.
24+
25+
## Features
26+
27+
- Generates a complete MCP server from OpenAPI or Postman input
28+
- Installable via `pip install mcpgen-cli`
29+
- [2-3 more real ones — auth handling, transports supported, output structure, whatever's actually true]
30+
31+
## Usage
32+
33+
```bash
34+
pip install mcpgen-cli
35+
```
36+
37+
Generate from an OpenAPI specification:
38+
39+
```bash
40+
mcpgen generate --input openapi.yaml --output ./mcp-server
41+
```
42+
43+
Generate from a Postman collection:
44+
45+
```bash
46+
mcpgen generate --input collection.json --output ./mcp-server
47+
```

0 commit comments

Comments
 (0)