anvie-frappe-mcp-wrapper
by binsarjr
README.md
# anvie-frappe-mcp-wrapper
A simplified wrapper for frappe-mcp that automates setup and configuration. This wrapper eliminates the need for manual Rust installation and complex configuration steps.
## Features
- **Automatic binary download**: Downloads the correct frappe-mcp binary for your platform
- **Simplified setup**: Interactive setup without manual configuration files
- **Multi-project support**: Manage multiple Frappe projects with easy switching
- **Zero dependencies**: Uses only Node.js built-in modules
- **MCP stdio support**: Ready to use with MCP clients
## Installation
```bash
npm install -g anvie-frappe-mcp-wrapper
```
## Usage
### Setup a new project
```bash
anvie-frappe-mcp-wrapper setup
```
Or with command line arguments:
```bash
anvie-frappe-mcp-wrapper setup --name myproject --bench /path/to/bench --app myapp --site site1.localhost
```
### List configurations
```bash
anvie-frappe-mcp-wrapper config list
```
### Switch between projects
```bash
anvie-frappe-mcp-wrapper config use myproject
```
### Remove a configuration
```bash
anvie-frappe-mcp-wrapper config remove myproject
```
### Update binary
```bash
anvie-frappe-mcp-wrapper update
```
### Run MCP server
```bash
anvie-frappe-mcp-wrapper run
```
## MCP Configuration
Add this to your MCP client configuration:
```json
{
"mcpServers": {
"frappe": {
"command": "npx",
"args": ["anvie-frappe-mcp-wrapper"],
"env": {}
}
}
}
```
## How it works
1. **Binary Management**: Downloads and manages frappe-mcp binaries in `~/.anvie/frappe-mcp/bin/`
2. **Configuration Storage**: Stores project configurations in `~/.anvie/frappe-mcp/configs/`
3. **Auto-detection**: Automatically detects your platform and downloads the correct binary
4. **Environment Setup**: Sets up the correct environment variables for the frappe-mcp server
## Development
```bash
bun install
bun run build
```
## License
MIT
This server cannot be deployed
Maintenance
ActivityInactive
ResponsivenessNo issues