smithery ai github for LangChain
ai.smithery/smithery-ai-github
Access the GitHub API, enabling file operations, repository management, search functionality, and…
client:LangChain
transport:streamable-http
Install smithery ai github in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"smithery-ai-github": {
"transport": "streamable_http",
"url": "https://server.smithery.ai/@smithery-ai/github/mcp",
}
})
tools = await client.get_tools()
get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs