SQL Server MCP (macOS) for LangChain
io.github.tharanabope/sql-server-mcp-macos
SQL Server MCP with RAG capabilities for macOS (Docker SQL Server support)
client:LangChain
transport:stdio
runtime:npm
Install SQL Server MCP (macOS) in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"sql-server-mcp-macos": {
"transport": "stdio",
"command": "npx",
"args": ["-y", "@tharanabopearachchi/sql-server-mcp-macos"],
}
})
tools = await client.get_tools()
get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs