mcp-claw 0.1.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/README.md +40 -0
- package/dist/bundle.js +57 -0
- package/dist/cli.d.ts +4 -0
- package/dist/index.d.ts +30 -0
- package/package.json +48 -0
package/README.md
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
# mcp-claw
|
|
2
|
+
|
|
3
|
+
AI-powered MCP server generator. Turn any API (folder, URL, OpenAPI spec) into a working MCP server.
|
|
4
|
+
|
|
5
|
+
## Install
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
npm install -g mcp-claw
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Usage
|
|
12
|
+
|
|
13
|
+
```bash
|
|
14
|
+
# Generate from local folder
|
|
15
|
+
mcp-claw generate ./my-api-docs/
|
|
16
|
+
|
|
17
|
+
# Generate from URL
|
|
18
|
+
mcp-claw generate https://petstore.swagger.io/v2/swagger.json
|
|
19
|
+
|
|
20
|
+
# Configure API key
|
|
21
|
+
mcp-claw config set --key "your-openrouter-api-key"
|
|
22
|
+
mcp-claw config set --parser anthropic/claude-sonnet-4.5
|
|
23
|
+
|
|
24
|
+
# View history
|
|
25
|
+
mcp-claw memory show
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
## Pipeline
|
|
29
|
+
|
|
30
|
+
Explorer -> Architect -> Builder -> Tester -> (Publish)
|
|
31
|
+
|
|
32
|
+
- **Explorer**: reads files, crawls URLs (Playwright), extracts PDFs
|
|
33
|
+
- **Architect**: LLM semantic analysis -> MCP tool IR
|
|
34
|
+
- **Builder**: generates fastmcp-compatible server code
|
|
35
|
+
- **Tester**: validates generated server
|
|
36
|
+
|
|
37
|
+
## Requirements
|
|
38
|
+
|
|
39
|
+
- Node.js >= 18
|
|
40
|
+
- OpenRouter API key (https://openrouter.ai)
|