Skip to main content

22.2 MCP Server

The MCP Servers section allows you to publish, through vtenext, an MCP endpoint that makes CRM tools and operations available to compatible external clients. In practice, this section is used to define which MCP server to expose and which tools to publish through it.

In summary: an MCP server is not an AI model and does not replace an AI agent. It is an access point that securely exposes CRM functions, allowing compatible MCP clients to invoke them from external applications.

When to use it

  • To expose CRM tools to external MCP-compatible clients.
  • To precisely select which operations should be made available.
  • To create a stable internal endpoint for use in AI integrations.
  • To generate, if required, an MCP client connected to the same server.

The List View

The list displays all previously configured MCP servers.

image.png

  • Active: indicates whether the server is enabled and publicly available.
  • Endpoint: identifier of the published server.
  • Description: descriptive text for the server.
  • Published Tools: number of tools made available through the server.
  • MCP: associated MCP client, if any, including its synchronization status.

From the list, you can create a new server, edit an existing one, delete it, or copy its full URL.

Creating a New MCP Server

image.png

  1. Open the MCP Servers section.
  2. Click Add.
  3. Check the Base URL displayed by the system and verify that it is accessible from outside the network.
  4. Enter the Endpoint name.
  5. Add a Description, if needed.
  6. Choose whether to also create the associated MCP client.
  7. Select the tools to publish.
  8. Save the configuration.

Configuration Parameters

image.png

  • Active: makes the server available for use.
  • Base URL: initial part of the server address ($site_URL), displayed as read-only. It is automatically generated by the system.
  • Endpoint: final identifier of the server. It is the part that completes the public URL of the MCP server. It must be unique and may contain letters, numbers, underscores, and hyphens.
  • Description: used to explain the purpose of the server to administrators or users responsible for maintaining it.
  • Create MCP Client: automatically creates an MCP client pointing to this server. The connection is kept synchronized and, if the server is deleted, the associated client is also removed.

Published Tools Selection

After the main fields, the screen displays the section dedicated to the published tools.

image.png

IThe toolavailable disponibilitools possonocan provenirecome dafrom piùmultiple areeareas delof sistema,the adsystem, esempio:for example:

  • ToolBase BaseTools
  • Tool SDK Tools (vedisee MCP Server perfor ulteriorifurther dettagli)details)

PuoiYou selezionarlican perselect gruppothem oppureby cercarligroup rapidamenteor tramitequickly ilsearch campofor dithem ricerca.using Alcunithe toolsearch difield. baseSome vengonobasic mantenutitools automaticamenteare dalautomatically sistema,maintained ancheby sethe nonsystem, lieven selezioniif manualmente,they perare garantirenot ilmanually correttoselected, funzionamentoto dell'integrazione.ensure the correct operation of the integration.

EsempiPractical praticiexamples

EsempioExample 1: MCP server for internal CRM tools

You can create a server dedicated to a limited set of tools, for example only those required by an internal assistant or a controlled integration.

Example 2: MCP perserver toolwith interniconnected del CRMclient

PuoiIf creareyou unwant the server dedicatoto abe unimmediately insiemeusable ristrettofrom dithe tool,client perside esempioas solowell, quelliyou necessarican aenable unthe assistente interno o a un'integrazione controllata.

Esempio 2: serverCreate MCP conClient option. In this way, vtenext automatically prepares the client collegato

that

Seconnects vuoito che il server sia subito utilizzabile anche dal lato client, puoi attivare l'opzione Crea MCP client. In questo modo vtenext prepara automaticamente anche il client che punta a quelthat server.

EsempioExample 3: pubblicazione selettiva deiSelective tool publishing

SeIf nonyou vuoido esporrenot tuttewant leto funzioniexpose disponibili,all puoiavailable pubblicarefunctions, soloyou ican toolpublish realmenteonly necessari.the Questotools approcciothat aiutaare aactually mantenererequired. l'integrazioneThis piùapproach ordinatahelps ekeep controllata.the integration more organized and controlled.