Skip to content
Projects

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-mcp

or::

python -m scope_profiler.mcp_server

Requires the optional mcp extra: pip install "scope-profiler[mcp]".

Functions

NameDescription
create_serverBuild the MCP server and register every tool. Does not start it.
mainEntry point for the scope-profiler-mcp console script.

create_serverfunction#

def create_server() -> FastMCP

Build the MCP server and register every tool. Does not start it.

mainfunction#

def main() -> None

Entry point for the scope-profiler-mcp console script.