mcpgen vs filesystem
Side-by-side comparison to help you pick between these two MCP servers.
mcpgen by lyeslabs | filesystem by modelcontextprotocol | |
|---|---|---|
| Stars | ★ 90 | ★ 85,748 |
| 30d uses | — | — |
| Score | 44 | 77 |
| Official | — | ✓ |
| Categories | Developer ToolsAI / LLM ToolsOther | File SystemDeveloper ToolsProductivity |
| Language | Go | TypeScript |
| Last commit | 12 mo ago | this month |
mcpgen · Summary
mcpgen is a Go tool that generates MCP server boilerplate from OpenAPI 3 specifications.
filesystem · Summary
A feature-rich MCP server for filesystem operations with dynamic directory access control.
mcpgen · Use cases
- Transform existing REST APIs into AI-accessible tools without manual MCP implementation
- Accelerate MCP server development for teams with existing OpenAPI documentation
- Generate boilerplate code for MCP servers handling complex request/response schemas
filesystem · Use cases
- Enable AI models to read and write project files during development
- Allow Claude or other MCP clients to browse and analyze codebases
- Provide secure sandboxed access to specific directories for content generation
mcpgen · Install
Install mcpgen:
go install github.com/lyeslabs/mcpgen/cmd/mcpgen@latestOnce installed, generate an MCP server from your OpenAPI spec:
mcpgen --input openapi.yaml --output generated-serverIn Claude Desktop, configure the generated server by adding to claude_desktop_config.json:
{
"mcpServers": {
"my-api-server": {
"command": "go",
"args": ["run", "/path/to/generated-server/main.go"]
}
}
}filesystem · Install
Installation
Using NPX
{
"mcpServers": {
"filesystem": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-filesystem",
"/path/to/allowed/directory"
]
}
}
}Using Docker
{
"mcpServers": {
"filesystem": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"--mount", "type=bind,src=/path/to/allowed/dir,dst=/projects/allowed/dir",
"mcp/filesystem",
"/projects"
]
}
}
}VS Code Extension
Click the installation buttons in the README to install directly in VS Code.