- DATA
- WRITE
- SCHEMA
- HUMAN
Short answer
How can I use my AI to run Fauna queries?
Your AI uses the execute_fql tool to send raw FQL commands to your database. This lets you query data, update records, or manage collections using plain English. You get immediate database feedback right in your chat interface.
Where every action lands.
Database outcomes
The AI translates your intent into specific database changes or data retrievals.
DATA
Instant query results
The AI runs FQL to pull specific documents or collections. You get the raw data or a summary back in your chat window.
WRITE
Direct record updates
Your AI sends commands to create or modify documents. This changes your live database state based on your instructions.
SCHEMA
Collection management
You can instruct the AI to set up new collections or adjust existing structures. It handles the FQL syntax for you.
HUMAN
Manual verification
The AI provides the FQL it intends to run. You review the command before confirming sensitive write operations.
The workflow
What your AI does when you ask for a query.
The AI acts as a bridge between your natural language and the Fauna engine.
Translate intent
The AI interprets your request, like asking for a specific user profile, and maps it to the necessary FQL logic.
execute_fqlConstruct FQL
It builds the exact FQL string required to interact with your specific database schema and collections.
execute_fqlExecute command
The agent sends the command to Fauna to perform the read or write operation.
execute_fqlReport results
The AI parses the database response and presents the data or error messages in a readable format.
execute_fql
Try it
Copy these to start.
Use these prompts to begin interacting with your database.
Starting points
Swap out the collection names and field keys to match your specific database schema.
Fauna Connector
You're all set. Choose your MCP client and follow the setup instructions.
https://edge.vinkius.com/vk_preview_hEG5bwdrY3FdPx62RCPAMcIqUBDzab1jcyYhjY8I/mcpClaude Desktop
Follow the steps below to connect in seconds.
- 1In Claude Desktop, open Settings → Connectors.
- 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
- 3Click Add and start a new chat — Fauna capabilities are ready to use.
{
"mcpServers": {
"fauna-serverless-db-mcp": {
"url": "https://edge.vinkius.com/vk_preview_hEG5bwdrY3FdPx62RCPAMcIqUBDzab1jcyYhjY8I/mcp"
}
}
}Find the last five entries in my 'logs' collection.
Update the 'status' field to 'active' for the user with ID 'user_123'.
Show me all documents in the 'orders' collection where the total is greater than 50.
Create a new document in the 'users' collection with the name 'Alex' and email 'alex@example.com'.
Claude
ChatGPT
Cursor
VS Code
Windsurf
Claude Code
JetBrains
Cline
Start here
Connect Fauna once, then ask.
Just link your account through the Vinkius dashboard. Your credentials stay encrypted, and you can immediately start querying from your preferred AI client.
Connect Fauna to your AIFAQ
How this task behaves
- 01
Can the AI delete my entire database?
No. The AI only executes the specific FQL commands you request. It does not have autonomous permission to wipe your database unless you explicitly tell it to run a command that does that.
- 02
Does the AI see my database credentials?
No. Your credentials are encrypted and managed by Vinkius. The AI only interacts with the database through the provided tool.
- 03
Can I use this with Cursor or VS Code?
Yes. Any MCP-compatible client like Cursor, VS Code, or Windsurf can use this connector once it is connected.
- 04
Will the AI automatically change my schema?
No. The AI only performs schema changes if you specifically ask it to run an FQL command that modifies your collections.
- 05
Can the AI run complex joins?
Yes, as long as you describe the relationship in your prompt, the AI can write the FQL required to perform those lookups.
More questions about Fauna? See everything the Fauna Connector can do
Connect Fauna to Claude, Cursor, ChatGPT & more
