Package Information
Released: 12 mo ago
Downloads: 27 weekly / 57 monthly
Latest Version: 0.1.1
Author: Ivan Martin
Documentation
Dolibarr MCP n8n Nodes
This package contains custom n8n nodes for interacting with the Dolibarr MCP Server.
Installation
Option 1: Local Development Installation
- Build the package:
cd n8n-nodes
npm install
npm run build
- Link the package locally:
npm link
- In your n8n installation, link the package:
cd ~/.n8n
npm link @im/n8n-nodes-dolibarr-mcp
Option 2: Installation via n8n Interface
- Access your n8n instance settings
- Go to "Community Nodes"
- Install the package:
@im/n8n-nodes-dolibarr-mcp
Available Nodes
1. Dolibarr (MCP)
Specialized node for Dolibarr with user-friendly interface:
- Operations: Get, Create, Update, Delete
- Predefined Endpoints: Third Parties, Products, Users, Invoices, etc.
- Simplified Interface for common operations
2. MCP Client
Generic node for interacting with any MCP server:
- Automatic Discovery of available tools
- Dynamic Execution of MCP tools
- Compatible with all compliant MCP servers
Configuration
- Start the Dolibarr MCP Server:
# From the project root directory
NITRO_HOST=0.0.0.0 npm run dev
- Configure the nodes:
- MCP Server URL:
http://host.docker.internal:3000/mcp(for n8n in Docker) - Or:
http://localhost:3000/mcp(for local n8n)
- MCP Server URL:
Usage Examples
Get all third parties (customers/suppliers)
{
"operation": "get",
"endpoint": "thirdparties"
}
Create a new customer
{
"operation": "create",
"endpoint": "thirdparties",
"data": {
"name": "New Company",
"client": 1
}
}
Update an existing customer
{
"operation": "update",
"endpoint": "thirdparties",
"resourceId": "123",
"data": {
"name": "Updated Company"
}
}
Troubleshooting
Connection Error
- Verify the MCP server is running
- Use
NITRO_HOST=0.0.0.0for Docker - Test with curl:
curl -X POST http://localhost:3000/mcp \
-H "Content-Type: application/json" \
-d '{"jsonrpc": "2.0", "method": "tools/list", "params": {}, "id": 1}'
Dependency Issues
npm install --legacy-peer-deps
Development
Build
npm run build
Watch mode
npm run dev
Lint
npm run lint