stripe mcp for LangChain
io.github.mrfentmen/stripe-mcp
Query the Stripe API (test-mode key; set STRIPE_SECRET_KEY, Basic): charges, customers, balance.
client:LangChain
transport:stdio
runtime:npm
Install stripe mcp in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"stripe-mcp": {
"transport": "stdio",
"command": "npx",
"args": ["-y", "@mrfentmen/stripe-mcp"],
}
})
tools = await client.get_tools()
get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs