Operator Type:
Operator Scope of Action:
Operator Purpose:
Operator Data Type Returned:
Operator First Added:
Operator in Current Baseline:
Operator Altered Since Baseline:
Operator [other Operator type actions]
Document [operators of similar scope]
Document configuration [other Document configuration operators]
Dictionary [about Dictionary data type]
v11.8.0
11.8.0
As at baseline
mcp()
From v11.8.0, the mcp() operator returns a Dictionary with useful information about the current state of the document’s MCP connection. Keys are:
- status: one of [
active,broken,disallowed,disabled,none] - protocol: the version string of the MCP protocol in use
- connected: one of [
true,false] - client: the client AI, a string such as "
claude-code" or "gemini" - version: the client's version string, such as "
2.1.138"
Example:
$MyDictionary = mcp();