Skip to main content

Agents Overview

Fyso is a backend-as-a-service that AI agents can operate directly. An agent can create data models, store and query records, enforce business logic, manage users, and deploy sites — all through tool calls or HTTP requests. No manual setup required: connect, select a tenant, and start building.

Integration Paths

The Fyso MCP server exposes every platform capability as a tool. Connect it to Claude, Cursor, or any MCP-compatible client.

{
"mcpServers": {
"fyso": {
"command": "npx",
"args": ["-y", "@fyso/mcp-server"],
"env": {
"FYSO_API_KEY": "your-api-key",
"FYSO_API_URL": "https://api.fyso.dev/api",
"FYSO_TOOLS": "core"
}
}
}
}

See Configure MCP for full setup instructions.

REST API (for apps and services)

Standard HTTP endpoints for any language or framework. Authenticate with a token or key and call JSON endpoints directly.

curl -H "Authorization: Bearer YOUR_API_KEY" \
https://api.fyso.dev/api/entities/products/records?limit=10

See REST API for endpoint reference.


Capabilities

AreaWhat you can do
DataDefine entities (tables), create/read/update/delete records, create filtered views, compound filters (AND/OR), semantic search across records
LogicBusiness rules (event-driven or scheduled), automation flows, webhook subscriptions
UsersCreate tenant users, define roles with entity-level permissions, assign/revoke roles, invitation codes
ContentKnowledge base with RAG (upload PDFs, HTML, URLs — then semantic search), PDF generation from templates
DeployStatic sites on *.sites.fyso.dev, custom domains (Pro), persistent deploy tokens for CI/CD
IntegrationChannels (custom MCP tools for bots), bot identity system, publishable apps catalog, n8n community node

Authentication Methods

MethodFormatBest for
API Keyfyso_ak_*MCP servers, admin scripts — full tenant access
Platform Keyfyso_pkey_*Public REST APIs with role-based access control
Public Keyfyso_pk_*Client-side apps — read-only, rate-limited, scoped to a role
Bot credentialsname + secretMulti-agent systems, service accounts
Tenant user tokenJWTUser-facing apps with login flows

Each method has different permissions and use cases. See Authentication for details, headers, and examples.


Quick Start

  1. Get an API key from the Fyso admin panel
  2. Configure MCP or use the REST API directly
  3. Select a tenant and start building:
select_tenant({ tenantSlug: "my-workspace" })
list_entities()
query_records({ entityName: "contacts", limit: 5 })