tools
tools
¶
Marianne MCP tools for conductor records, controls, and artifacts.
This module implements MCP tools that expose conductor-managed Marianne score execution to external AI agents. Tools are organized by category:
- JobTools: submitted-score lifecycle management (list, get, start)
- ControlTools: conductor control operations (pause, resume, cancel)
- ArtifactTools: Workspace and artifact management
Each tool follows the MCP specification for parameter schemas and return values. Tools leverage the existing JobControlService for consistent behavior with the dashboard.
Classes¶
JobTools
¶
Marianne submitted-score lifecycle management tools.
Provides MCP tools for running, monitoring, and querying submitted scores. Tools require explicit user consent due to file system and process execution.
Routes through the conductor for all operations.
Source code in src/marianne/mcp/tools.py
Methods:¶
list_tools
async
¶
List all submitted-score management tools.
Source code in src/marianne/mcp/tools.py
56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 | |
call_tool
async
¶
Execute a job management tool.
Source code in src/marianne/mcp/tools.py
ControlTools
¶
Marianne conductor control tools.
Provides MCP tools for controlling conductor records for submitted scores. These tools interact with running score processes and require user consent.
Routes through the conductor for all operations.
Source code in src/marianne/mcp/tools.py
Methods:¶
list_tools
async
¶
List all job control tools.
Source code in src/marianne/mcp/tools.py
call_tool
async
¶
Execute a job control tool.
Source code in src/marianne/mcp/tools.py
ArtifactTools
¶
Marianne artifact and workspace management tools.
Provides MCP tools for browsing workspace files and accessing job artifacts. File system access is restricted to designated workspace directories.
Source code in src/marianne/mcp/tools.py
Methods:¶
list_tools
async
¶
call_tool
async
¶
Execute an artifact management tool.