A Model Context Protocol (MCP) server that provides AI agents with direct access to FileMaker databases through the FileMaker Data API. Compatible with Claude Desktop, Claude Code Console, Windsurf, Cursor, Cline, and other MCP-enabled AI assistants.
This MCP server acts as a bridge between AI agents and FileMaker databases, enabling natural language interactions with your FileMaker data and database structure:
- Query databases - Retrieve, search, and analyze FileMaker records
- Manage records - Create, update, delete, and duplicate records through conversation
- Execute scripts - Run FileMaker scripts with parameters
- Upload files - Add files to container fields (including repetitions)
- Set global fields - Manage FileMaker global fields programmatically
- Multi-database support - Switch between different FileMaker databases dynamically
- Discover structure - AI agents can introspect database schemas, layouts, and field definitions
- Understand relationships - Access portal and related table information
- Architect solutions - Enable AI to design and implement FileMaker applications through natural language
- Metadata access - Get complete information about layouts, fields, value lists, and scripts
This introspection capability allows AI agents to understand your database architecture and help you build, modify, and optimize FileMaker solutions through simple conversation.
npm install -g filemaker-data-api-mcp# Add your FileMaker connection
filemaker-mcp config add-connection production \
--server 192.168.0.24 \
--database Sales \
--user admin \
--password your_password
# Set as default
filemaker-mcp config set-default productionEdit your configuration file:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"filemaker": {
"command": "filemaker-mcp",
"args": ["start"]
}
}
}Add to your MCP settings configuration:
{
"mcpServers": {
"filemaker": {
"command": "filemaker-mcp",
"args": ["start"]
}
}
}Restart your AI agent and you're ready!
- ✅ Multiple connections - Store and switch between different FileMaker databases
- ✅ Dynamic switching - Change databases during conversations
- ✅ Inline credentials - Connect with ad-hoc credentials without pre-configuration
- ✅ Secure storage - Credentials stored with restricted file permissions
- ✅ Authentication - Login, logout, session validation
- ✅ Records - Create, read, update, delete, duplicate, find
- ✅ Metadata - Access database, layout, and script information
- ✅ Container fields - Upload files (including repetitions)
- ✅ Global fields - Set global field values
- ✅ Scripts - Execute FileMaker scripts with parameters
- ✅ Portal data - Access related records through portals
- ✅ stdio - Local use with Claude Desktop (default)
- ✅ HTTP/HTTPS - Network deployment for remote access
You ask:
"Show me all contacts from the production database"
The AI agent automatically connects and retrieves the data.
You ask:
"What is the structure of the Contacts layout? Show me all fields and their types."
The AI agent introspects the database schema and provides detailed field information.
You ask:
"Compare sales records from production and staging databases"
The AI agent switches between connections and compares the data.
You ask:
"Add a new contact: John Smith, john@example.com, 555-1234"
The AI agent creates the record with the provided information.
You ask:
"Connect to 192.168.0.26, database TestDB, user admin, password test123. Show all records."
The AI agent connects with inline credentials and queries the database.
You ask:
"Design a customer management system with contacts, orders, and products. Create the layouts and suggest field definitions."
The AI agent uses database introspection to understand your current structure and helps architect the solution.
# Initial setup
filemaker-mcp setup
# Connection management
filemaker-mcp config add-connection <name> [options]
filemaker-mcp config remove-connection <name>
filemaker-mcp config list-connections
filemaker-mcp config set-default <name>
filemaker-mcp config show
# Start server
filemaker-mcp start
# Configure Claude Desktop
filemaker-mcp configure-claudeYou can also configure via environment variables in the Claude Desktop config:
{
"mcpServers": {
"filemaker": {
"command": "filemaker-mcp",
"args": ["start"],
"env": {
"FM_SERVER": "192.168.0.24",
"FM_DATABASE": "Sales",
"FM_USER": "admin",
"FM_PASSWORD": "your_password",
"FM_VERSION": "vLatest"
}
}
}
}- Environment variables (highest) - defined in MCP config
- CLI-configured connections - stored in
~/.filemaker-mcp/config.json - Inline credentials (lowest) - passed dynamically via tool parameters
The MCP server provides 28 tools for interacting with FileMaker:
fm_login- Authenticate with FileMaker Serverfm_logout- End sessionfm_validate_session- Check session validity
fm_get_product_info- Get FileMaker Server infofm_get_databases- List available databasesfm_get_layouts- Get layouts for a databasefm_get_scripts- Get scripts for a databasefm_get_layout_metadata- Get layout field metadata
fm_get_records- Get records with paginationfm_get_record_by_id- Get single recordfm_create_record- Create new recordfm_edit_record- Update existing recordfm_delete_record- Delete recordfm_duplicate_record- Duplicate recordfm_find_records- Search records
fm_upload_to_container- Upload file to container fieldfm_upload_to_container_repetition- Upload to repeating container field
fm_set_global_fields- Set global field values
fm_execute_script- Execute FileMaker script
fm_config_add_connection- Add predefined connectionfm_config_remove_connection- Remove connectionfm_config_list_connections- List all configured connectionsfm_config_get_connection- Get connection details (password masked)fm_config_set_default_connection- Set default connection
fm_set_connection- Switch to predefined connectionfm_connect- Connect with inline credentials (one-time)fm_list_connections- List available connectionsfm_get_current_connection- Show current connection details
- Node.js v18 or higher
- FileMaker Server with Data API enabled
- Valid FileMaker credentials with appropriate privileges
- Getting Started Guide - Detailed setup instructions
- User Guide - Complete usage documentation
- Token Lifecycle Management - Token caching, refresh, and error recovery
- Deployment Guide - Production deployment instructions
- API Reference - All tools documented
- Development Guide - For contributors
- Credentials stored in
~/.filemaker-mcp/config.jsonwith restricted permissions (0o600) - Passwords masked in list/show commands
- Never share your config file or commit it to version control
- Use strong passwords for FileMaker Server accounts
- For production, consider using environment variables
# List your connections
filemaker-mcp config list-connections
# Verify connection details
filemaker-mcp config show- Verify installation:
filemaker-mcp config list-connections - Rebuild if needed:
npm install -g filemaker-data-api-mcp@latest - Restart Claude Desktop
- Verify FileMaker Server is running and accessible
- Check username and password are correct
- Ensure Data API is enabled on FileMaker Server
- Verify user has proper privileges
# Clone repository (update URL after publishing)
git clone https://github.com/yourusername/filemaker-data-api-mcp.git
cd filemaker-data-api-mcp
# Install dependencies
npm install
# Build
npm run build
# Run tests
npm test
# Start in development mode
npm run devimport { ConnectionManager } from 'filemaker-data-api-mcp';
const manager = new ConnectionManager();
manager.addConnection('mydb', {
server: '192.168.0.24',
database: 'Sales',
user: 'admin',
password: 'xxx',
version: 'vLatest'
});Contributions are welcome! See the Development Guide for implementation details and the Testing Guide for testing guidelines.
MIT License - see LICENSE file for details
- Documentation: docs/
- Changelog: CHANGELOG.md
- Issues: GitHub Issues (update URL after publishing)
Made with ❤️ for the FileMaker and AI community