src.marcus_mcp.tool_groups module#

Tool group definitions for multi-endpoint Marcus server.

This module defines which tools are available on each endpoint to provide role-based access without dynamic tool switching.

src.marcus_mcp.tool_groups.get_tools_for_endpoint(endpoint_type)[source]#

Get the set of tool names available for a specific endpoint type.

Parameters:

endpoint_type (str) – The type of endpoint (‘human’, ‘agent’, or ‘analytics’)

Returns:

Set of tool names available for this endpoint

Return type:

Set[str]

src.marcus_mcp.tool_groups.is_tool_allowed(endpoint_type, tool_name)[source]#

Check if a tool is allowed for a specific endpoint type.

Parameters:
  • endpoint_type (str) – The type of endpoint (‘human’, ‘agent’, or ‘analytics’)

  • tool_name (str) – The name of the tool to check

Returns:

True if the tool is allowed for this endpoint

Return type:

bool