MCP Hub
Back to servers

mcp-vtenext

MCP server for VTENext CRM (open-source vtiger-based). Query, create and update opportunities and contacts via natural language using the VTENext WebService API. Supports list, search, get, create, update on Potentials and Contacts modules, plus raw VTQL queries.

glama
Forks
1
Updated
Mar 22, 2026

mcp-vtenext

MCP server for VTENext CRM — exposes the WebService API as tools for Claude and other MCP-compatible clients.

Requirements

  • Node.js 18+
  • A running VTENext instance (self-hosted or Docker — see ../docker)

Setup

cd mcp/vtenext/server
npm install
cp .env.example .env

Edit .env:

VTENEXT_URL=http://your-vtenext-instance
VTENEXT_USERNAME=admin
VTENEXT_ACCESS_KEY=your_access_key

The access key is in VTENext under Admin → Users → [user] → Access Key.

Claude Code integration

Add to .mcp.json in your project root:

{
  "mcpServers": {
    "vtenext": {
      "type": "stdio",
      "command": "node",
      "args": ["/absolute/path/to/mcp/vtenext/server/index.js"]
    }
  }
}

Tools

Opportunità (Potentials)

ToolDescription
list_opportunitaList opportunities with optional filters (status, search, limit)
get_opportunitaGet full details of an opportunity by ID
search_opportunitaSearch opportunities by name
create_opportunitaCreate a new opportunity
update_opportunitaUpdate status, amount or notes on an existing opportunity

Contatti (Contacts)

ToolDescription
search_contattiSearch contacts by name, email or company

Attività e note

ToolDescription
add_nota_opportunitaAdd a comment/note to an opportunity
list_attivita_opportunitaList activities linked to an opportunity

Utilità

ToolDescription
describe_moduloShow available fields for any VTENext module
query_rawRun a raw VTQL SELECT query

Authentication

VTENext uses the vtiger WebService protocol:

  1. GET /webservice.php?operation=getchallenge → token
  2. MD5(token + accessKey) → hashed key
  3. POST /webservice.php with operation=login (form-encoded) → sessionName

Sessions are cached for 4 minutes (token lifetime is 5 minutes).

Tests

# Unit tests (no VTENext required)
npm test

# Integration tests (requires live VTENext at VTENEXT_URL)
npm run test:integration

License

MIT

Reviews

No reviews yet

Sign in to write a review