Add stdio MCP launcher for Claude Desktop

Claude Desktop's config file only supports stdio transport.
This script launches the MCP server in stdio mode, connecting
to the already-running Diligence backend at localhost:8000.
This commit is contained in:
Claude 2026-08-03 03:33:42 +00:00
parent aeb0b438cc
commit 8aab7c0c4a

4
mcp_stdio.py Normal file
View file

@ -0,0 +1,4 @@
"""Launch Diligence MCP server in stdio mode for Claude Desktop."""
from diligence.mcp.server import create_mcp_server
mcp = create_mcp_server(api_url="http://localhost:8000")
mcp.run(transport="stdio")