standpoint.mcp module
Standpoint: Model Context Protocol (MCP) surface.
A thin adapter that exposes the FastAPI app from standpoint.api as MCP tools,
so any MCP-aware host (an agent runtime, an IDE integration, a custom shell) can call
position (turn a comparison table into a labelled 2D positioning map plus a
written analysis) as a first-class tool. It uses fastapi-mcp
(https://github.com/tadata-org/fastapi_mcp): one wrapper publishes the whole existing
HTTP surface, so the routes are never duplicated.
Install the extra to pull in fastapi-mcp:
pip install "standpoint[mcp]"
Then run the server (HTTP API + MCP endpoint at /mcp):
standpoint-mcp # console entry point
python -m standpoint.mcp # equivalent
- standpoint.mcp.main()[source]
Console entry point (
standpoint-mcp): serve the API + MCP endpoint.Boots the FastAPI app (now serving both the
/api/...routes and the/mcpMCP endpoint) with uvicorn in a single worker. Local-first: binds to loopback by default (override withSTANDPOINT_HOST/STANDPOINT_PORT).- Return type:
None