MCP Server

The MCP (Model Context Protocol) server exposes SpikeLab’s core analysis methods as tools that can be called programmatically by LLM-based analysis agents. It provides a JSON-based interface to load data, run analyses, and retrieve results.

Main MCP server implementation for spike data analysis.

Registers all tools and handles transport (stdio or SSE).

async spikelab.mcp_server.server.main()[source]

Run the MCP server with the selected transport.