Back to Browse

Vtenext MCP Server

Developer ToolsUse Caution3.5MCP RegistryLocal
Free

Server data from the Official MCP Registry

VTENext CRM tools for Claude and MCP clients: opportunities, contacts, notes, VTQL queries.

About

VTENext CRM tools for Claude and MCP clients: opportunities, contacts, notes, VTQL queries.

Security Report

3.5
Use Caution3.5High Risk

The VTENext CRM MCP server is a legitimate, purpose-aligned integration that authenticates via the vtiger WebService challenge flow and exposes CRM tools with a read-only mode. However, its VTQL queries are built by directly interpolating user-supplied strings (search, stato, opportunita_id, q, limit, contact search) without escaping, creating SQL/VTQL injection risk, and the query_raw tool allows arbitrary SELECT statements with only a prefix check, which can expose any module's data to the model. Read-only enforcement is only a client-side flag and the access key is passed as an MD5 hash in a POST body, so these issues should be addressed before deployment. Supply chain analysis found 12 known vulnerabilities in dependencies (0 critical, 5 high severity). Package verification found 1 issue.

8 files analyzed · 21 issues found

Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.

Permissions Required

This plugin requests these system permissions. Most are normal for its category.

HTTP Network Access

Connects to external APIs or services over the internet.

env_vars

Check that this permission is expected for this type of plugin.

File System Read

Reads files on your machine. Normal for tools that analyze or process local data.

database

Check that this permission is expected for this type of plugin.

What You'll Need

Set these up before or after installing:

Base URL of your VTENext instanceOptional

Environment variable: VTENEXT_URL

VTENext user the server logs in asOptional

Environment variable: VTENEXT_USERNAME

Access key of that user, in VTENext under Admin > Users > user > Access KeyRequired

Environment variable: VTENEXT_ACCESS_KEY

Set to true to block every write toolOptional

Environment variable: READ_ONLY

How to Install

Add this to your MCP configuration file:

{
  "mcpServers": {
    "mcp-vtenext": {
      "command": "npx",
      "args": [
        "-y",
        "@castaldosolutions/mcp-vtenext@1.1.0"
      ],
      "env": {
        "READ_ONLY": "your-read-only-here",
        "VTENEXT_URL": "your-vtenext-url-here",
        "VTENEXT_USERNAME": "your-vtenext-username-here",
        "VTENEXT_ACCESS_KEY": "your-vtenext-access-key-here"
      }
    }
  }
}

Some servers take additional arguments. See the repository for details.

Documentation

View on GitHub

From the project's GitHub README.

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
READ_ONLY=false

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

Read-only mode

Set READ_ONLY=true to prevent any write operation on VTENext. When enabled, the tools create_opportunita, update_opportunita and add_nota_opportunita return an error instead of writing data.

This is useful when the server is used by AI bots or automated agents that should only read CRM data. To run a read-only instance alongside a full-access one, pass the variable via the MCP config:

{
  "mcpServers": {
    "vtenext-bot": {
      "type": "stdio",
      "command": "node",
      "args": ["/absolute/path/to/mcp/vtenext/server/index.js"],
      "env": {
        "VTENEXT_URL": "http://your-vtenext-instance",
        "VTENEXT_USERNAME": "admin",
        "VTENEXT_ACCESS_KEY": "your_access_key",
        "READ_ONLY": "true"
      }
    }
  }
}

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 (write, blocked in read-only mode)
update_opportunitaUpdate status, amount or notes on an existing opportunity (write, blocked in read-only mode)

Contatti (Contacts)

ToolDescription
search_contattiSearch contacts by name, email or company

Attività e note

ToolDescription
add_nota_opportunitaAdd a comment/note to an opportunity (write, blocked in read-only mode)
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


Maintained by Castaldo Solutions, enterprise-grade technology built for SMEs.

Why we built an MCP server for a CRM instead of an integration: Connecting VTENext to Claude with MCP.

Reviews

No reviews yet

Be the first to review this server!