DIL MCP server¶
The Data Intelligence Layer come with a built-in MCP server helpin AI agents to fetch metrics and use them to provide content improvement suggestions or take actions.
MCP server configuration¶
You can check the service existence with the following command:
1 | |
You can check the route existence with the following command:
1 | |
This MCP server need to be associated to some SiteAccesses and allowed to be accessed from some hosts. For details, see Data Intelligence Layer configuration.
MCP server test¶
You can use the MCP server from an agent CLI command. Like in the Work with MCP servers example, you can use a wrapper script to ease JWT token acquisition.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 | |
Notice:
- the
adminin MCP server URL as defaultURIElement: 1SiteAccess matching is used in this local test example - the
X-Siteaccess: adminheader when requiring the JWT token TODO: mention this need in mcp_usage.md example instead. - the
Accept-Language: enheader when establishing the gateway TODO: Why is it suddenly needed? Because it's the admin SiteAccess?
Prompt examples¶
How the French translation is covered?
Pick me one random folder that need translation into French.