最近跟着教程折腾MCP,用的官方Python SDK写了个简单的服务器,暴露了一个查询本地SQLite的函数。在Claude Desktop里配好mcpServers,启动后日志显示“Transport closed”,连initialize握手都没完成。我确认了URL是http://localhost:8000/mcp,也试过用--transport ssestreamable-http两种模式,都不行。