scope_profiler.mcp_server.server
MCP server exposing scope-profiler to AI coding agents (e.g. Claude Code).
This module is a thin adapter: every tool below immediately delegates to a
plain function in :mod:scope_profiler.mcp_server.tools, which in turn
delegates to the existing scope_profiler Python API (the same functions
inspect/plot/diff/run use). No profiling, HDF5-parsing,
summary or comparison logic lives here.
Run directly::
scope-profiler-mcpor::
python -m scope_profiler.mcp_serverRequires the optional mcp extra: pip install "scope-profiler[mcp]".
Functions
| Name | Description |
|---|---|
create_server | Build the MCP server and register every tool. Does not start it. |
main | Entry point for the scope-profiler-mcp console script. |