-
Notifications
You must be signed in to change notification settings - Fork 171
Description
Describe the bug
Hi,
I'm integrating Stripe MCP into my agent. I've tested the 'create_invoice' tool and noticed that it always returned an error with the message "Failed to create invoice". I checked the logs and the parameters the agent passed to the MCP tool are as follows:
[
{
"tool_name": "create_invoice",
"Tool_Parameters": {
"customer": "cus_Si6SJRAgyxHHui"
}
}
]
I tested with HTTP request tool and used only the "customer" parameter. Also, in another workflow of mine where the agent used the http request tool to create an invoice, it worked just fine.
I only had this issue when using MCP. Could you please have a look into this?
Thank you very much.
To Reproduce
- MCP Tool description: Use this tool to create a Stripe invoice.
- Prompt to the agent: Create an invoice for customer with id cus_Si6SJRAgyxHHui.
- Agent's response: I attempted to create an invoice for the customer with ID cus_Si6SJRAgyxHHui, but the operation failed with a "Failed to create invoice" error.
Expected behavior
The MCP tool should be executed successfully.
Code snippets
OS
macOS
Language version
n8n MCP Client
Library version
Latest as of 13th August 2025
API version
Latest as of 13th August 2025
Additional context
No response