Preflight for LangChain
io.github.evanfollis/preflight
Check if your MCP server is ready to publish on the MCP Registry, Smithery, or npm.
client:LangChain
transport:streamable-http
tools:1
Install Preflight in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"preflight": {
"transport": "streamable_http",
"url": "https://skillfoundry.synaplex.ai/products/preflight/mcp/",
}
})
tools = await client.get_tools()
get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs