Work with hosted files

You can connect an Agentic Development Kit (ADK) project to a custom app hosted on Claris FileMaker Server. The filemaker CLI connects to the hosted file as an independent client over fmnet://, enabling your coding agent to inspect and modify schema, scripts, and layouts without storing the database file locally.

By default, FileMaker Server rejects filemaker CLI connections until a server administrator turns on Allow ADK Connections in FileMaker Server Admin Console.

Note  Supported hosts: The filemaker CLI connects to files hosted on FileMaker Server 26.1.1 or later. Direct live editing is not supported on Claris FileMaker Cloud because FileMaker Cloud requires Claris ID sign-in. However, Cloud solutions can be edited using a local copy. Files shared from FileMaker Pro using FileMaker Network sharing are not affected by this setting. See Using ADK with FileMaker Cloud and Local and hosted file access.

Warning  Work on a copy: AI agents can make mistakes, and you are responsible for any changes they make. Modifications to a hosted file take effect immediately for all connected users. Connect agents to a staging or development copy of the database, not to a live production database.

Requirements

  • FileMaker Server 26.1.1 or later.

  • An account in the hosted file with the [Full Access] privilege set. See FileMaker credentials.

  • Network access to the host server on port 5003.

  • The developer workstation requirements described in System requirements.

Manual configuration for FileMaker Server 26.1.1

  1. Go to the Database Server binary directory on the server machine:

    • Windows: C:\Program Files\FileMaker\FileMaker Server\Database Server\bin\

    • macOS: /Library/FileMaker Server/Database Server/bin/

    • Linux: /opt/FileMaker/FileMaker Server/Database Server/bin/

  2. Create or update ClarisConfig.json in this directory with the following entry:

    Copy
    {
      "FMADTManageAgentsDialog": "1"
    }
  3. Restart the Database Server service:

    • macOS and Linux: Run fmsadmin restart server in terminal.

  4. Sign in to Admin Console, click Configuration > General Settings, and turn on Allow ADK Connections.

Note  Future versions: FileMaker Server versions earlier than 26.1.1 cannot support ADK connections. In FileMaker Server 26.1.2 and later, manual configuration is unnecessary.

Connect your project to the hosted file

Register the hosted file in your project using its fmnet:// network address. Specify the server domain name or IP address, followed by the database file name without the .fmp12 extension:

Copy
fmnet://fm.example.com/Inventory

Prompt your coding agent:

Copy
Connect this ADK project to the FileMaker file Inventory hosted at fmnet://fm.example.com/Inventory using the account adk-developer.

The agent records the connection target in adk.json:

Copy
{
  "files": {
    "Inventory": {
      "target": "fmnet://fm.example.com/Inventory",
      "username": "adk-developer"
    }
  }
}

When the agent first connects, FileMaker Pro displays an authentication dialog. Enter the password for the Full Access account. When saved, subsequent connections read credentials from macOS Keychain or Windows Credential Manager. See adk.json and Local and hosted file access.

Verify the connection

Prompt your coding agent:

Copy
Check this ADK project and verify that the hosted file Inventory is reachable and ready.

See File access, credentials, and native operations and Errors and diagnostic messages.

  1. {
      "FMADTManageAgentsDialog": "1"
    }

Working in hosted files

  • Live schema updates: Schema, script, and layout modifications apply immediately to the hosted file and are visible to all connected clients.

  • Schema locks: If another user has Manage Database, the relationships graph, or a script editing window open for the file, operations fail with error 303. Close those windows and retry.

  • Database backups: Create a manual backup in Admin Console under Backups before initiating agent tasks.

  • Runtime and Web Viewer tools: Script execution, SQL queries, Data API calls, Typegen, and Web Viewer previews communicate through Agent Access in FileMaker Pro, not the filemaker CLI, so Allow ADK Connections does not affect them. Open the hosted file in FileMaker Pro 26.1.2 or later with Agent Access enabled. See How ADK connects to FileMaker.

Using ADK with FileMaker Cloud

Live editing of hosted files over fmnet:// is not supported directly on Claris FileMaker Cloud because FileMaker Cloud requires Claris ID authentication. However, custom apps hosted on FileMaker Cloud fully support ADK development using a local copy:

  1. Download a copy of your database file from FileMaker Cloud.

  2. Open the copy locally in FileMaker Pro and use the Agentic Development Kit to build, edit, and test your custom app.

  3. When development is complete, upload the modified file back to FileMaker Cloud.

Files hosted on FileMaker Cloud fully support running deployed Web Viewer solutions for end users.