Custom Assistant MCPServer Tool
Since Sitevision 2026.05.1 it is possible to integrate custom tools into the Sitevision Assistant module External link.. All you need to do is to register a tool with you custom functionallity.
Why?
Creating custom tools opens a lot of possibilities and use cases for the Assistant. Maybe you need to fetch real time data from an external system, need to group data in a specific way to ensure a good answer or maybe you need to notify someone by email. The full Sitevision API is available in the tool callback, meaning you can create whatever functionallity you want.
How to integrate a custom tool
To integrate your custom tool into the Sitevision Assistant module, simply deploy a MCPServer to the website and grant access to the MCPServer on the Assistant (Site Settings / Assistants / The Assistant you want to affect).
If the MCPServer registers any tools, these will be included when the AI executes on the user query.
Example tool
Further example
For a more thorough example, consult the Integrating a custom MCP Tools with the Sitevision Assistant module cookbook.
Description
A clear and decisive description is very important to ensure a consistent behavior. An Assistant might have multiple tools available, and with a clear description describing the use case for the tool, a consistent workflow can be achieved.
Sources
To give extra credibility to the answers the AI gives based on the content supplied by the tool, consider providing sources. Available since version 2.7.0 of the Assistant Module External link..
Adding to the source list is as simple as following the given syntax. It's similar to the expected input/output then working with the semanticindex rest-api endpoint or aiAssistant.querySemanticIndex.
Sources are added as an Array to the return object with path _meta.sitevision.assistant.sources.
There are two types of sources, internal and external.
Internal is used for nodes connected to the current site.
External is used for sources from other places.
Options internal source
| Property | Type | Description |
|---|---|---|
id | string | A unique identifier for the source (mandatory) |
| type | string | Use type "internal" (mandatory) |
Options external source
| Property | Type | Description |
|---|---|---|
id | string | A unique identifier for the source (mandatory) |
| type | string | Use type "external" (mandatory) |
| source | string | The origin of the source (mandatory) |
| name | string | The name of the source (mandatory) |
| url | string | The url to the source (optional) |
