fluentcart-developer

v5.0.0
fluentcart-developer Checked 4 days ago Published 15 days ago

MCP server for FluentCart developer knowledge: documentation search, database schema lookup, hook discovery, reference reading, and boilerplate generation for…

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

fc_search_hooks

Search FluentCart 680+ action and filter hooks across order lifecycles, checkout, customer events, payment gateways, modules and Pro modules.

ParameterTypeDescription
query *stringHook name or event keyword, e.g. "order_created", "checkout_validate", "payment_processed"

fc_get_db_schema

Retrieve exact table schema, column definitions, and Eloquent ORM model for FluentCart database tables (wp_fct_*).

ParameterTypeDescription
table *stringTable name or keyword (e.g. "orders", "customers", "subscriptions", "order_items", "licenses")

fc_get_reference

Read any FluentCart reference file — REST API endpoints, database models, payment gateways, modules, engineering notes. Call with no arguments to list the files; pass "file" to read one, optionally with "section" to pull a single heading instead of the whole document.

ParameterTypeDescription
filestringReference file name, e.g. "rest-api-subscriptions.md". Omit to list every file
sectionstringHeading to extract, e.g. "Void Renewal Invoice". Returns only that section

fc_search_docs

Full-text search across all 588 FluentCart documentation pages — the 474 REST API operations, 49 database models, 22 hook files, modules, guides and payment integration. Use this when you know the keyword but not which page holds it, then read the hit with fc_get_reference. Every word in the query must appear on the matching line.

ParameterTypeDescription
query *stringWords to find, e.g. "void renewal", "tax rate", "order bump", "license activation"
limitintegerMaximum hits to return (default 20)
prefixstringRestrict to a path prefix: "restapi/", "database/", "hooks/", "modules/"

fc_generate

Generate working FluentCart code. Pass a type plus its fields: payment_gateway: gatewaySlug, gatewayTitle. licensing: pluginNamespace, pluginTitle, itemId, apiUrl. customer_endpoint: endpointSlug, tabTitle. device_licensing / client_sdk / native_client: platform, storeUrl, productId, appName. Everything else is optional and labelled with its type. Prefer this over hand-writing: the output already encodes the hooks, the order they fire in, and the response shapes.

ParameterTypeDescription
type *stringWhich generator to run
apiUrlstringlicensing: base URL of your store
appNamestringProduct name, e.g. "Acme Studio"
endpointSlugstringcustomer_endpoint: URL slug, e.g. "acme-wallet"
gatewaySlugstringpayment_gateway: lowercase slug, e.g. "paddle_billing"
gatewayTitlestringpayment_gateway: display title, e.g. "Paddle Billing"
iconSvgstringcustomer_endpoint: raw SVG, 20x20 viewBox
includeAdminUibooleanlicensing: include the admin settings page (default true)
itemIdnumberlicensing: FluentCart product (item) ID
platformstringdevice_licensing, client_sdk, native_client: target platform
pluginNamespacestringlicensing: PHP namespace, e.g. "Acme\\Plugin"
pluginTitlestringlicensing: display title of your plugin
productIdnumberFluentCart product (item) ID
storeUrlstringStore base URL, e.g. "https://store.example.com/"
subRoutesarraycustomer_endpoint: sub-path actions, e.g. ["history"]
supportsSubscriptionsbooleanpayment_gateway: advertise subscription support (default false)
tabTitlestringcustomer_endpoint: dashboard tab title

get_info

Report what this server contains, which tools it exposes, and how it is licensed. Every tool is free.

ParameterTypeDescription
verbosebooleanList every registered tool name, not just the count