Connect another MCP client
Senso MCP complies with the MCP standard: your site isn’t tied to a single assistant. Any compatible client can connect to it in the same way.
Generic MCP client
A generic MCP client communicates with the server over HTTP and authenticates via OAuth. Using the .well-known discovery documents, it configures authentication automatically from the server URL alone.
Required parameters
- the MCP server URL:
https://your-site.tld/api/index.php/v1/mcp; - the transport: Streamable HTTP (the older SSE transport is not used);
- authentication: OAuth, discovered automatically (nothing to enter), or a Joomla API token (see below).
Configuration example
Most clients accept a configuration like this:
{
"mcpServers": {
"my-joomla-site": {
"url": "https://your-site.tld/api/index.php/v1/mcp"
}
}
}
Refer to your client's documentation for the exact location of this setting.
API token or OAuth?
There are two authentication methods, intended for two different use cases:
- OAuth — for interactive assistants (Claude, ChatGPT, Copilot…). The user signs in to your site, chooses the scopes to grant, and can revoke the connection at any time. There is no secret to copy and paste.
- Joomla API token — for automations and servers (n8n, Make, Zapier, scripts). The token is created in the user's profile, under the API Token tab, and sent in the
Authorization: Bearer <token>header. The account must have the API Login permission. A token grants access to every tool allowed by the account's ACL, without a consent screen: reserve it for a dedicated account and follow the principle of least privilege.
Direct JSON-RPC call
MCP is simply JSON-RPC over HTTP. A tool that does not have an MCP client, or a simple “HTTP Request” module, can therefore call the server directly. To list the available tools:
curl -s -X POST "https://your-site.tld/api/index.php/v1/mcp" \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'
To call a tool, in this case to create an article:
{
"jsonrpc": "2.0",
"id": 2,
"method": "tools/call",
"params": {
"name": "create_article",
"arguments": {
"title": "My article",
"catid": 8,
"body": "<p>Article text.</p>"
}
}
}
The tools/list response describes each tool and the JSON schema for its arguments: this is the reference to consult when constructing your calls. The same rules apply as with an assistant: site settings, the account's ACL and read-only mode.