ratchet for LangChain
com.ratchetgate/ratchet
Your agent asks before it acts, so the same real-world action is attempted at most once.
client:LangChain
transport:streamable-http
runtime:npm
tools:15
Install ratchet in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"ratchet": {
"transport": "streamable_http",
"url": "https://ratchetgate.com/mcp",
}
})
tools = await client.get_tools()
get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs
What LangChain can do once it is connected
- ratchet_get_circuit
- ratchet_begin_effect
- ratchet_report_effect
- ratchet_extend_lease
- ratchet_get_effect
- ratchet_resolve_effect
- ratchet_get_run
- ratchet_list_effects
- ratchet_get_policy
- ratchet_unwind_group
- ratchet_get_group
- ratchet_get_usage
- ratchet_list_receipts
- ratchet_reconcile_effects
- ratchet_get_prevented_loss