Compiler Explorer for LangChain
io.github.compiler-explorer/compiler-explorer
Compile code with thousands of compilers, inspect the assembly, and share godbolt.org links
client:LangChain
transport:streamable-http
tools:7
Install Compiler Explorer in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"compiler-explorer": {
"transport": "streamable_http",
"url": "https://godbolt.org/mcp",
}
})
tools = await client.get_tools()
get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs