0.0.2 • Published 6 months ago

@buildwithlayer/flowglad-mcp v0.0.2

Weekly downloads
-
License
-
Repository
-
Last release
6 months ago

Flowglad MCP Server

⚠️ 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.

Setup

Requirements

  • 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

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.

{
  "mcpServers": {
    "Flowglad": {
      "command": "npx",
      "args": [
        "@buildwithlayer/flowglad-mcp@latest",
        "--all-tools" // Optional (can also use -a)
      ],
      "env": {
        "FLOWGLAD_API_KEY": "YOUR FLOWGLAD API KEY"
      }
    }
  }
}

Features

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.

Supported Tools

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

Supported Prompts