An MCP server for Flowglad generated by @buildwithlayer
npm install @buildwithlayer/flowglad-mcp> ⚠️ Warning: This project is in active development and subject to rapid changes. Features and APIs may be modified frequently. If you have feedback or workflows you'd like to see supported, please get in touch.
Model Context Protocol (MCP) is a standardized protocol for managing context between large language models (LLMs) and external systems or services like Flowglad.
Flowglad's MCP server allows you to use any MCP Client (Claude Desktop, Cursor, Windsurf and many others) to use natural language and your LLM to accomplish things with Flowglad.
- Node.js >= v18.0.0
- MCP Client
- Flowglad API Key
> ⚠️ Security Warning: Never share or commit your Flowglad API Key. If exposed, immediately rotate it in your Flowglad Dashboard. Add it to your .gitignore file and use environment variables in production.
Installation will vary depending on your client, but in most cases you'll need to add the JSON below to your MCP config file. Be sure to insert your Flowglad API token.
``json`
{
"mcpServers": {
"Flowglad": {
"command": "npx",
"args": [
"@buildwithlayer/flowglad-mcp@latest",
"--all-tools" // Optional (can also use -a)
],
"env": {
"FLOWGLAD_API_KEY": "YOUR FLOWGLAD API KEY"
}
}
}
}
This project supports tools for all Flowglad API endpoints by adding the --all-tools or -a argument. It also supports some prompt workflows tested in Cursor which allow you to quickstart Flowglad applications.
By default, the following core Flowglad API tools are enabled:
- productslist,
- productsget,
- productsedit,
- productscreate,
- priceslist,
- pricescreate,
- pricesedit,
- paymentslist,
- paymentsget,
- customerslist,
- customersget,
- customerscreate,
- customersedit
To access additional tools:
1. Add --all-tools or -a argument to your config
2. Run the MCP server
3. Use your MCP client's tool discovery feature
- IntegrateFlowgladNextJS` - follows our Next.js quickstart guide to help integrate Flowglad into your Next.js project.