Command Palette

Search for a command to run...

UnylyUnyly
Browse all

Flowgate Sdk

FreeNot checked

Type-safe SDK, CLI, and MCP server for the Flowgate Governed execution layer for private capital.

GitHubEmbed

About

Type-safe SDK, CLI, and MCP server for the Flowgate Governed execution layer for private capital.

README

Typed clients for the Flowgate governed execution layer — a TypeScript SDK, a command-line interface, and an MCP server for programmatic, shell, and LLM-driven access to the Flowgate API.

This is a pnpm monorepo containing three packages:

Package Description
@iflowgate/sdk Type-safe client generated from the OpenAPI spec
@iflowgate/cli The flowgate command-line interface
@iflowgate/mcp-server Model Context Protocol server (stdio)

API access

Flowgate API access is provisioned per integrator. The demo deployment shown in this README requires an API key that is not publicly distributed. To request access for evaluation, contact [email protected].

Installation

npm install @iflowgate/sdk @iflowgate/cli

Note: these packages are not yet published to npm. They are currently available via the workspace / private registry. Publishing is a separate milestone. Until then, clone this repository and link the packages locally.

SDK quickstart

import { Flowgate } from '@iflowgate/sdk';

const fg = new Flowgate({ apiKey: process.env.FLOWGATE_API_KEY });

const issuers = await fg.issuers.list();
const capTable = await fg.capTable.get('Flowgate Systems Inc.');
console.log(capTable.total_fully_diluted_shares);

Every request and response type is generated from the committed OpenAPI spec (openapi.json), so parameters, bodies, and results are checked at compile time.

Error handling

Non-2xx responses throw a FlowgateError carrying the HTTP status, the parsed detail from the API, and the endpoint that was called.

import { Flowgate, FlowgateError } from '@iflowgate/sdk';

try {
  await fg.capTable.get('Unknown Issuer');
} catch (error) {
  if (error instanceof FlowgateError) {
    console.error(error.status, error.detail, error.endpoint);
  }
}

CLI quickstart

The CLI reads your API key from the FLOWGATE_API_KEY environment variable. Substitute your own key for <your-api-key>:

export FLOWGATE_API_KEY=<your-api-key>

flowgate issuers
flowgate cap-table get "Flowgate Systems Inc."
flowgate compliance rules

Add --json to any command for compact single-line JSON on stdout with the progress spinner disabled — useful for piping into jq or other scripts:

flowgate issuers --json

SDK surface

Group Methods
capTable get, proposals, approveProposal, rejectProposal
capTableEvents create
investors list, portfolio
capitalCalls list, overdue, payments
compliance rules, getRule, createRule
issuers list

Note: approveProposal(id, { reviewer }) and rejectProposal(id, { reviewer }) accept a reviewer string and send it as the ?reviewer= query parameter, matching the API specification — these endpoints take no request body.

MCP server

@iflowgate/mcp-server exposes Flowgate as read-only tools over stdio, so an LLM client can query the API directly.

Note: @iflowgate/mcp-server is not yet published to npm. Until it is, run it from a local build (node packages/mcp-server/dist/index.js) instead of via npx.

Add it to your MCP client configuration:

{
  "mcpServers": {
    "flowgate": {
      "command": "npx",
      "args": ["-y", "@iflowgate/mcp-server"],
      "env": { "FLOWGATE_API_KEY": "<your-api-key>" }
    }
  }
}

Available tools:

Tool Description
get_cap_table Get the cap table for an issuer
list_investors List all investors
get_investor_portfolio Get the portfolio for an investor
list_capital_calls List all capital calls
list_compliance_rules List all compliance rules
list_issuers List all issuers

The server requires FLOWGATE_API_KEY and exits with a stderr message if it is not set.

API reference

Full API documentation is available at https://flowgate2.onrender.com/redoc.

Development

Requires Node 20+ and pnpm.

pnpm install       # install workspace dependencies
pnpm -r regen       # regenerate packages/sdk/src/schema.d.ts from openapi.json
pnpm -r typecheck   # type-check every package
pnpm -r test        # run the test suites
pnpm -r build       # build every package

License

Apache License 2.0 — see LICENSE.

from github.com/titouhalloub/flowgate-sdk

Installing Flowgate Sdk

This server has no published package — it is built from source. Open the repository and follow its README.

▸ github.com/titouhalloub/flowgate-sdk

FAQ

Is Flowgate Sdk MCP free?

Yes, Flowgate Sdk MCP is free — one-click install via Unyly at no cost.

Does Flowgate Sdk need an API key?

No, Flowgate Sdk runs without API keys or environment variables.

Is Flowgate Sdk hosted or self-hosted?

Self-hosted: the server runs locally on your machine via the install command above.

How do I install Flowgate Sdk in Claude Desktop, Claude Code or Cursor?

Open Flowgate Sdk on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.

Related MCPs

$5

Stripe

Payments, customers, subscriptions

Stripeby Stripe

malamutemayhem/unclick-agent-native-endpoints

110+ tools for AI agents spanning social media, finance, gaming, music, AU-specific services, and utilities. Zero-config local tools plus platform connectors. n

malamutemayhemby malamutemayhem

whiteknightonhorse/APIbase

API hub covering travel (Amadeus, Sabre), Polymarket prediction markets, crypto and weather, paid per call via x402 in USDC.

whiteknightonhorseby whiteknightonhorse

trackerfitness729-jpg/sitelauncher-mcp-server

Deploy live HTTPS websites on subdomains or custom .xyz domains, paid in USDC on Base, with templates for crypto tokens and AI agent profiles.

trackerfitness729-jpgby trackerfitness729-jpg

embeddedlayers/mcp-analytics

Statistical analysis, forecasting and ML on CSV files or live data from Shopify, Stripe, GA4 and more, with interactive HTML reports.

embeddedlayersby embeddedlayers

carrierone/verilexdata-mcp

Pay-per-query x402 datasets: NPI healthcare, SEC filings, OFAC sanctions, crypto whales, Polymarket signals, patents and economic indicators.

carrieroneby carrierone

paracetamol951/P-Link-MCP

HTTP 402 (Payment Required) implementation using Solana.

paracetamol951by paracetamol951

tipdotmd/tip-md-x402-mcp-server

Cryptocurrency tipping using the x402 payment protocol and CDP Wallet.

tipdotmdby tipdotmd

laundromatic/shopgraph

Structured product data from the open web — Schema.org + AI extraction for e-commerce enrichment. Pay per call via Stripe. [shopgraph.dev](https://shopgraph.dev

laundromaticby laundromatic

mrslbt/xendit-mcp

Xendit payment gateway for Southeast Asia: invoices, disbursements, balance checks and bank transfers.

mrslbtby mrslbt

Compare Flowgate Sdk with

Not sure what to pick?

Find your stack in 60 seconds

Author?

Embed badge for your README

Browse similar

All finance MCPs