Fine Structure
Build and host full-stack apps from a prompt, with agents that reach you on WhatsApp and email.
Connect it
Settings → Connectors → Add custom connector
URL: https://finestructure.ai/api/mcpSettings → Apps & Connectors → Advanced → Developer mode
Create connector with URL: https://finestructure.ai/api/mcp{
"mcpServers": {
"fine-structure": {
"url": "https://finestructure.ai/api/mcp"
}
}
}claude mcp add --transport http fine-structure https://finestructure.ai/api/mcp{
"servers": {
"fine-structure": {
"type": "http",
"url": "https://finestructure.ai/api/mcp"
}
}
}97 tools, verified live
create_appCreate a new application from a natural language prompt. The AI generates a complete web app with pages, components, styling, and data models. Returns a job_id - poll get_job_status to track progress. When the job is done, the app is ready.
agency_create_clientAgency mode only. Create or update a client record for an account-level agent. This does not create a verified Fine Structure user account and does not transfer ownership.
agency_list_clientsread-onlyAgency mode only. List client records and app handoff status for the authenticated agent.
agency_create_client_appAgency mode only. Create a new app owned by the agent, start generation, and create a claim link for the client. Ownership transfers only when the invited client logs in with the same email and accepts the claim link.
agency_create_claim_linkAgency mode only. Create a client claim link for an existing app owned by the agent. The client must log in with the invited email before ownership transfers.
agency_get_claim_statusread-onlyAgency mode only. Inspect one handoff status without exposing the raw claim token.
update_appUpdate an existing application with a new prompt. The AI modifies the app based on your instructions. Creates a Saved Version before the update. Returns a job_id - poll get_job_status to track progress.
publish_appPublish an app - freeze current state and make it live at a URL. Also configures whether the public URL is open, app-login gated, private, or inferred from the app.
get_platform_guideread-onlyReturn a machine-readable Fine Structure / FSe2 guide for AI agents. Call this at the start of an MCP session to learn app files, entities, safe edit workflows, validation, publishing, A/B testing, secrets, and platform rules.
get_recommended_workflowread-onlyReturn the recommended MCP tool sequence for a task type. Use this before creating apps, editing files, seeding data, publishing, setting up A/B tests, restoring versions, or configuring secrets/integrations.
get_job_statusread-onlyPoll the status of an async generation job. Use this after create_app or update_app to know when the job is done. Returns status ('running' or 'done'), progress events, and result summary when complete.
get_app_statusread-onlyGet app overview: files, published state, URL, active jobs.
get_app_linksread-onlyReturn editor, preview, published path, subdomain, and custom-domain links plus whether each works for anonymous visitors, app users, or Studio users based on publish and auth settings.
list_app_domainsread-onlyList an app's platform path, subdomain, and configured custom domain with verification, SSL, primary-domain, redirect, publish, and login-gating status.
set_app_subdomaincan modifySet or clear the app platform subdomain - the '<subdomain>.<base domain>' host Fine Structure already serves the app on. Runs the same ownership, format, reserved-name and uniqueness checks as the Studio subdomain field because it calls the same model function. Replacing a subdomain takes effect immediately and creates NO redirect: the previous name stops resolving to this app and is released for
check_subdomain_availableread-onlyCheck whether a platform subdomain can be claimed before calling set_app_subdomain. Returns available plus a status of available, invalid, reserved, taken, current, or empty, with the exact reason. Pass app_id (an app you own) to have that app's own current subdomain reported as 'current' instead of 'taken'.
add_custom_domaincan modifyAttach or replace the app custom domain through the same Fine Structure Studio custom-domain flow. Returns exact DNS verification and routing records for the user to configure at their DNS provider.
get_domain_verificationread-onlyReturn the exact DNS records and instructions required to verify and route the app custom domain.
check_domain_verificationCheck Fine Structure custom-domain verification and SSL status for the configured custom domain, then save the latest status.
set_primary_domainSet which app host should be treated as primary for generated links and custom-domain redirects.
remove_custom_domaincan modifyRemove the configured custom domain from the app and clean up the platform-side hostname registration when possible.
get_domain_ssl_statusread-onlyReturn SSL/certificate status and pending certificate validation DNS records for the app custom domain.
configure_domain_redirectsConfigure custom-domain redirect policy: primary domain, optional www/root redirect, and HTTPS enforcement.
list_appsread-onlyList owned and accepted Studio-shared applications, newest activity first. Returns up to `limit` apps per call plus the total count; page with `offset` when the account has more. Accepted editors can edit shared source; viewers can read it. Publishing, records, domains and security administration remain owner-only.
get_app_filesread-onlyGet the file tree for an app with paths and byte sizes.
read_app_fileread-onlyRead one source file from an app's virtual filesystem. Paths follow the Fine Structure app file API, documented at https://finestructure.ai/api/mcp/docs.
read_app_filesread-onlyRead several source files from an app's virtual filesystem. Paths follow the Fine Structure app file API, documented at https://finestructure.ai/api/mcp/docs.
write_app_fileCreate or replace one file in an app's virtual filesystem. Creates a Saved Version before changing content. Paths and file model follow the Fine Structure app file API, documented at https://finestructure.ai/api/mcp/docs.
patch_app_filePatch one file by replacing exact text. Safer than full overwrite for targeted edits. Creates a Saved Version before changing content. Paths follow the Fine Structure app file API, documented at https://finestructure.ai/api/mcp/docs.
rename_app_fileRename or move one app source file atomically. Internally stages an upsert at new_path and a delete at old_path, validates the resulting app state, and creates a Saved Version before applying.
get_app_detailread-onlyDeep introspection of an app: entities, pages, settings, integrations, environment variables, and file structure. Use this to understand what an app contains before updating it.
get_entitiesread-onlyGet all entity (data model) schemas for an app, with record counts. Each entity has fields, types, and relationships.
query_entityread-onlyQuery app data records for one entity with optional exact-match filters.
seed_entityCompatibility tool for starter-record creation. Inserts directly for the authenticated app owner; by default it only seeds an empty entity (skip_if_not_empty).
create_entity_recordsCreate/insert records in one app entity. Executes directly for the authenticated app owner and returns the created record ids.
update_entity_recordcan modifyCompatibility tool that updates one record by ID. Executes directly for the authenticated app owner.
update_entity_recordscan modifyUpdate exact records. Select explicit record_ids or exact-match filters and provide shared changes, or provide per-record updates. Executes directly for the authenticated app owner; expected_count aborts the write on a mismatch.
delete_entity_recordscan modifyDelete exact records by ID or exact-match filters. Executes directly for the authenticated app owner; pass expected_count as a safety check to abort on a mismatch.
get_pagesread-onlyGet all pages in an app with their file paths and sizes.
get_errorsread-onlyGet recent runtime errors for an app (last 20). Useful for diagnosing issues before updating.
get_app_analyticsread-onlyTraffic analytics for an app's published site over a chosen window: total views, unique visitors, daily series, top pages, top referrer domains and device split.
get_preview_urlread-onlyReturn editor preview and published/public URLs for an app.
list_saved_versionsread-onlyList restorable Saved Versions for an app, including versions created by MCP writes.
create_change_setCreate a staged file change set. Add multiple file changes, validate them as one app state, then apply atomically.
add_file_changeStage one file upsert or delete inside a change set. Does not modify the live app until apply_change_set. Paths follow the Fine Structure app file API, documented at https://finestructure.ai/api/mcp/docs.
validate_change_setread-onlyValidate current app files plus staged change set files before applying.
apply_change_setApply a staged change set to the app. Creates a Saved Version before applying. Blocks on validation errors unless force=true.
discard_change_setcan modifyDiscard a pending staged change set without changing app files.
validate_appread-onlyRun deterministic app checks: syntax, imports, routes/pages, entity schemas, missing entities, and recorded runtime errors.
inspect_previewread-onlyReturn server-side preview context: URLs, persisted runtime/network errors, static clickable candidates, pages, and explicit live-browser availability.
get_app_security_contextread-onlyReturn safe security context for one owned app: owner id/email, Studio collaborators, generated-app members, route policies, entity policies, function policies, and recent security audit entries. Does not return secrets and does not grant access to other apps.
set_route_policycan modifyCreate or update a server-owned route policy for a generated app route.
set_function_policyCreate or update the server-owned access policy of a backend function (functions/<name>.js). Without a policy a function answers only to the app owner's Studio token (401 for app visitors and webhooks). Recipes: anonymous checkout step or inbound webhook/IPN -> require_auth=false; signed-in members -> require_auth=true + allowed_roles (e.g. ['authenticated'] or ['admin','staff']); webhook with a s
invoke_functionRun a backend function of an owned app exactly like the HTTP route and return its status and JSON. caller='owner' runs as the app owner; caller='anonymous' first evaluates the function policy as a public visitor and returns the 401/403 decision without running when access would be denied. Use it to verify a function (secrets, outbound calls, policy) before wiring it into the app.
create_platform_requestOpen a request to the Fine Structure platform team: a bug, a feature request or a question about the platform itself (not about the user's app). Use it when something in the platform blocks you instead of working around it. Give a reproduction the team can run (invoke_function / curl / the exact tool call and result), what you expected, and how the team will know it is closed. Credential-looking v
get_platform_requestread-onlyOne platform request with its full history: team replies, status changes (open | triaged | in_progress | needs_info | deployed | wont_fix) and what was deployed (commit, time). Pass since=<ISO timestamp> to get only the events after it.
list_platform_requestsread-onlyYour account's platform requests, newest activity first. Call it at the start of a session with since=<the updated_date you last saw> to learn what changed: replies, needs_info questions to answer, deployments with their commit. Filters: app_id, status.
reply_platform_requestAdd a reply or a finding to one of your platform requests without opening a new one, e.g. to answer a needs_info question (that reopens it).
update_platform_requestPlatform team only: set the status of a request (open | triaged | in_progress | needs_info | deployed | wont_fix), attach the deployed commit and/or reply. deployed and needs_info mail the requester.
set_entity_policycan modifyReplace server-side entity access policy. Optional action rules override read/write roles and can allow public create without public read, update, or delete. Omitting rules replaces any existing action rules with read/write role behavior.
list_app_membersread-onlyList generated-app runtime users/members for an app. This is separate from Studio project collaborators.
invite_app_memberProvision a generated-app runtime member with a role. This does not create a Studio collaborator, and the owner role cannot be assigned. password is required: ask the account owner which password the member should get. This tool never generates one, because a generated password would come back in the result and that is a live credential in the conversation transcript.
update_app_member_rolecan modifyUpdate a generated-app runtime member role. This cannot assign owner and cannot change the Fine Structure account owner.
remove_app_membercan modifyRemove a generated-app runtime member.
get_app_security_auditread-onlyRead recent server-side security audit events for an app.
compare_saved_versionsread-onlyCompare two Saved Versions and return per-file additions, removals, modifications, and compact diffs.
compare_current_to_versionread-onlyCompare the current app files to a Saved Version and return compact per-file diffs.
restore_file_from_versioncan modifyRestore one file from a Saved Version instead of restoring the entire app. Creates a Saved Version before changing the file. Paths follow the Fine Structure app file API, documented at https://finestructure.ai/api/mcp/docs.
create_entity_schemaCreate an entity schema file in entities/<Entity>.json. Creates a Saved Version before writing.
update_entity_schemaReplace or shallow-merge an existing entity schema file. Creates a Saved Version before writing.
validate_entity_relationshipsread-onlyValidate entity relationship metadata and *_id references against existing entity schemas.
update_entity_metadataSet relationship/index metadata on an entity schema. This stores metadata in the schema file; DB index creation is automatic where supported by the platform.
list_secret_keysread-onlyList secret key names for an app. Secret values are never returned.
set_secretcan modifyCreate or update one encrypted app secret. The secret value is never returned.
delete_secretcan modifyDelete one app secret by key.
list_integrationsread-onlyList supported integrations and safe connected integration metadata for an app. Tokens/secrets are never returned.
configure_integrationStore safe non-secret integration metadata for an app. Use set_secret for API keys/tokens.
list_ab_testsread-onlyList the platform A/B tests configured for an app.
create_ab_testCreate a native Fine Structure A/B test between existing app pages. Use update_app first if a variant page still needs to be generated. Creates a Saved Version before the change.
update_ab_testUpdate a native A/B test, including active state, variants, traffic, and conversion goal. Creates a Saved Version before the change.
delete_ab_testcan modifyDelete a native A/B test from an app. Creates a Saved Version before the change.
get_ab_test_statsread-onlyGet views, unique visitors, conversions, and conversion rates for an A/B test.
get_app_metadataread-onlyRead the saved public HTML-shell identity: name, description, language and image URLs/dimensions. Same settings as Studio SEO/GEO.
set_app_metadataUpdate public HTML-shell metadata immediately, without AI, code edits, publishing or Saved Versions. Upload social_image/icon as base64 PNG/JPEG/WebP (max 5 MB, 4096px); null clears an image. Language sets HTML lang/dir and OG locale. For per-page cards, write optional seo.json and publish it; dynamic entries may read only explicitly public entity records.
create_agentCreate an autonomous AI agent on the user's Fine Structure account: a standing worker, not a chat session. It gets the platform's default safe tool policy and its own email address, it can read and write the app database, and once the owner phone is verified (see get_agent_whatsapp) it can message its owner on WhatsApp and by email through the platform system channels. Pair it with schedule_agent_
list_agentsread-onlyList the AI agents on the user's account with id, name, role, status and FineMail address.
schedule_agent_taskCreate a scheduled task for one of the user's agents. Supported schedule types: once (run_at ISO local time + timezone), interval (interval_minutes 5-1440), hourly, daily (time HH:MM + timezone), weekly (time + timezone + days_of_week 0=Sunday..6), cron (5-field expression + timezone), manual (only runs on demand). Returns the normalized schedule and the computed next_run_at so you can read the fi
list_agent_tasksread-onlyList scheduled tasks for one agent (or the whole account), including schedule, status and next_run_at.
get_agent_whatsappread-onlyRead the WhatsApp state of the connected account: whether the owner's phone is verified, which platform numbers they can connect, and which conversations already route to which agent. Call this first whenever the user asks to talk to an agent on WhatsApp, and repeat its next_step to them.
start_owner_phone_verificationcan modifySend a 6-digit code over WhatsApp to the ACCOUNT OWNER's own phone. This is the one-time ownership proof required before a platform number can be connected, and it also unlocks agents messaging the owner. Ask the user for their own WhatsApp number first and send only to that. No WhatsApp Business account is involved.
confirm_owner_phone_verificationConfirm the 6-digit code the owner received on WhatsApp from start_owner_phone_verification. On success the owner is verified: agents can message them, and platform numbers become connectable.
attach_agent_whatsappConnect a platform WhatsApp number to one of the account's agents, so the owner can message that number and reach that agent. Requires the owner to be verified first. Take phone_number_id from get_agent_whatsapp. A number already used by another account is still valid to connect: it answers only this owner's verified phone.
detach_agent_whatsappcan modifyDisconnect the owner's WhatsApp route from a platform number. Removes only this account's route; other accounts sharing the number keep theirs.
list_agent_conversationsread-onlyList recent visible conversations belonging to one of your agents. Use get_agent_conversation to read replies and results.
send_agent_messagecan modifyTalk to an existing agent or assign it work using its normal tools, memory, permissions and team. Omit conversation_id to start a new owner conversation; supply it to continue one. Returns acceptance and a durable task_id immediately, NOT a completed answer. Poll get_agent_task and read get_agent_conversation for the actual response. Work continues after MCP disconnects. A follow-up in a busy conv
get_agent_conversationread-onlyRead visible messages, answers and result links in an owned agent's conversation. Returns the newest page in chronological order. For older history, pass next_before_id as before_id. For new replies, omit before_id.
get_agent_taskread-onlyCheck a durable task returned by send_agent_message or list_agent_tasks. Includes the latest execution status and pending approvals, including before a run starts. Task scheduling state is separate from run outcome. Read the conversation for the actual answer; accepted/queued is not completed. Approvals must still be decided by the owner in Fine Structure.
Alternatives in Email & Messaging
Compare →
SimpleTexting MCP by usefulapiB
Send SMS/MMS, manage contacts, and read campaigns, messages and media on SimpleTexting.
SendGrid MCP by usefulapiB
Send email and read templates, marketing contacts, lists, stats, bounces and unsubscribes.
Sendbird MCP by usefulapiB
MCP server for Sendbird — chat users, channels, members, and messages from your AI client.
Re:amaze MCP by usefulapiB
Manage Re:amaze conversations, messages, contacts and help articles.
OpenPhone MCP by usefulapiB
Send and read OpenPhone messages, calls, contacts and phone numbers.
Missive MCP by usefulapiB
Read email/chat conversations, messages, contacts and teams; draft, send and update threads.