English · Русский
Flexbe TypeScript SDK
TypeScript client for the Flexbe API.
npm install @flexbe/sdk
import { FlexbeClient } from "@flexbe/sdk";
const client = new FlexbeClient({
apiKey: "your-api-key",
});
const site = client.getSiteApi(123);
const pages = await site.pages.getPages({
limit: 10,
offset: 0,
type: "page",
status: "published",
});
console.log(pages.list);
Documentation
- Get started — install the package, create a client, work with a site or an account
- Requests and errors — headers, query strings, status codes, timeouts, plain HTTP
- Sites — list and create projects, read and update the site, build HTML
- Pages — pages and folders
- Page versions — read and save versions
- Page data — version JSON: layout, entities, codes, animations
- Leads — lead cards, order lines, shipping, reservations
- Ecommerce — products and categories
- Promotions
- Images
- Files
- Domains — domains on a site and on an account
- Redirects
- Settings
- Statistics
- Catalogs — languages and currencies
- MCP — connect the MCP server
MCP
The server is https://api.flexbe.com/mcp. Transport is Streamable HTTP.
Authorization is OAuth.
{
"mcpServers": {
"flexbe": {
"type": "http",
"url": "https://api.flexbe.com/mcp"
}
}
}
Add to Cursor · Add to VS Code · Add to Claude Code · Add to Codex
Claude Code, Codex, Cursor, and VS Code configs, and the plugins in this repo: MCP.