
Security News
/Research
Wallet-Draining npm Package Impersonates Nodemailer to Hijack Crypto Transactions
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
@stripe/mcp
Advanced tools
The Stripe Model Context Protocol server allows you to integrate with Stripe APIs through function calling. This protocol supports various tools to interact with different Stripe services.
Stripe hosts a remote MCP server at https://mcp.stripe.com. View the docs here. To run the Stripe MCP server locally using npx, use the following command:
# To set up all available tools
npx -y @stripe/mcp --tools=all --api-key=YOUR_STRIPE_SECRET_KEY
# To set up specific tools
npx -y @stripe/mcp --tools=customers.create,customers.read,products.create --api-key=YOUR_STRIPE_SECRET_KEY
# To configure a Stripe connected account
npx -y @stripe/mcp --tools=all --api-key=YOUR_STRIPE_SECRET_KEY --stripe-account=CONNECTED_ACCOUNT_ID
Make sure to replace YOUR_STRIPE_SECRET_KEY
with your actual Stripe secret key. Alternatively, you could set the STRIPE_SECRET_KEY in your environment variables.
Add the following to your claude_desktop_config.json
. See here for more details.
{
"mcpServers": {
"stripe": {
"command": "npx",
"args": [
"-y",
"@stripe/mcp",
"--tools=all",
"--api-key=STRIPE_SECRET_KEY"
]
}
}
}
of if you're using Docker
{
“mcpServers”: {
“stripe”: {
“command”: “docker",
“args”: [
“run”,
"--rm",
"-i",
“mcp/stripe”,
“--tools=all”,
“--api-key=STRIPE_SECRET_KEY”
]
}
}
}
Tool | Description |
---|---|
balance.read | Retrieve balance information |
coupons.create | Create a new coupon |
coupons.read | Read coupon information |
customers.create | Create a new customer |
customers.read | Read customer information |
disputes.read | Read disputes information |
disputes.update | Update an existing dispute |
documentation.read | Search Stripe documentation |
invoiceItems.create | Create a new invoice item |
invoices.create | Create a new invoice |
invoices.read | Read invoice information |
invoices.update | Update an existing invoice |
paymentIntents.read | Read payment intent information |
paymentLinks.create | Create a new payment link |
prices.create | Create a new price |
prices.read | Read price information |
products.create | Create a new product |
products.read | Read product information |
refunds.create | Create a new refund |
subscriptions.read | Read subscription information |
subscriptions.update | Update subscription information |
To debug your server, you can use the MCP Inspector.
First build the server
npm run build
Run the following command in your terminal:
# Start MCP Inspector and server with all tools
npx @modelcontextprotocol/inspector node dist/index.js --tools=all --api-key=YOUR_STRIPE_SECRET_KEY
First build the server
docker build -t mcp/stripe .
Run the following command in your terminal:
docker run -p 3000:3000 -p 5173:5173 -v /var/run/docker.sock:/var/run/docker.sock mcp/inspector docker run --rm -i mcp/stripe --tools=all --api-key=YOUR_STRIPE_SECRET_KEY
YOUR_STRIPE_SECRET_KEY
with your actual Stripe API secret key.FAQs
A command line tool for setting up Stripe MCP server
The npm package @stripe/mcp receives a total of 1,424 weekly downloads. As such, @stripe/mcp popularity was classified as popular.
We found that @stripe/mcp demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 59 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
Security News
/Research
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.