InvokePort for LangChain
io.github.gerefull/invokeport
Remote MCP: JSON repair, JSON Schema validation, JSON to TypeScript, CSV to JSON and JSON to CSV.
client:LangChain
transport:streamable-http
runtime:npm
tools:7
Install InvokePort in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"invokeport": {
"transport": "streamable_http",
"url": "https://invokeport.com/api/mcp",
}
})
tools = await client.get_tools()
get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs