Using Agents#
Note
Remote agent access is a Voxel51 feature and must be explicitly enabled by your deployment’s administrator. If it’s not enabled yet, ask your Voxel51 admin.
What You’ll Have When You’re Done#
Your coding agent (Claude Code, Cursor, or any MCP-compliant client) connected directly to your Voxel51 deployment
A one-time browser approval instead of a shared credential: the agent acts with exactly your own role and dataset permissions
The ability to ask your agent to run any FiftyOne operator you’re permitted to use, in the foreground or as a background run
Before You Start#
A Voxel51 deployment with remote agent access enabled by an admin
Your deployment’s host: Voxel51 Cloud is always
app.voxel51.com; for a self-hosted deployment, ask your adminA coding agent that can fetch a URL and act on what it reads (Claude Code, Cursor, and most others can); if yours can’t, skip to Manual Configuration below
Quick Start#
Step 1: Copy the Prompt#
Paste this into your agent’s chat:
Read and follow https://raw.githubusercontent.com/voxel51/fiftyone-skills/main/skills/voxel51-agent-setup/SKILL.md
to connect me to my Voxel51 deployment.
That’s it, no install step first. Your agent fetches the skill and takes it from there: asks which deployment you’re on, configures the connection, and walks you through the one-time browser approval below.
Prefer a persistent install over a one-off fetch? Run the universal installer and select voxel51-agent-setup, then use the same prompt:
curl -fsSL https://skil.sh | sh -s -- voxel51/fiftyone-skills
Step 2: What to Expect#
Your agent asks which deployment you’re on (Voxel51 Cloud or self-hosted), then configures the connection on its own. When it tries to use the connection for the first time, your browser opens to a one-time approval screen:
Sign in and click Approve. No API key or token to copy anywhere:
Close the tab and return to your agent; it picks up from there and confirms the connection.
Note
New MCP servers only attach on the next session. If the tools don’t appear right away, restart your agent (or start a fresh conversation) and try again.
Step 3: Manual Configuration (optional)#
Prefer to configure it yourself, without installing the skill? Add the gateway as a remote MCP server using your deployment’s gateway URL:
Deployment |
Gateway URL |
|---|---|
Voxel51 Cloud |
|
Self-hosted Voxel51 |
|
Substitute whichever applies in the examples below.
claude mcp add --transport http --scope user voxel51-agent-gateway \
https://<your-deployment>/api/proxy/fiftyone-teams/mcp \
--client-id voxel51-agent-mcp
Remote servers are added through the Connectors UI, not
claude_desktop_config.json (that file is for local servers only):
Go to Settings > Connectors.
Click Add, then Add custom connector.
Enter a name and the gateway URL.
Under OAuth client, choose Use your own OAuth client (not Register automatically, which attempts Dynamic Client Registration and fails against this deployment) and enter
voxel51-agent-mcp.
Click Add, then sign in when prompted.
Add to ~/.gemini/config/mcp_config.json (global) or
<workspace>/.agents/mcp_config.json (workspace-scoped):
{
"mcpServers": {
"voxel51-agent-gateway": {
"serverUrl": "https://<your-deployment>/api/proxy/fiftyone-teams/mcp",
"oauth": {
"clientId": "voxel51-agent-mcp"
}
}
}
}
Remote servers use serverUrl, not url. Restart Antigravity (or
reload the window) after editing the file.
Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json
(project-scoped):
{
"mcpServers": {
"voxel51-agent-gateway": {
"url": "https://<your-deployment>/api/proxy/fiftyone-teams/mcp",
"auth": {
"CLIENT_ID": "voxel51-agent-mcp"
}
}
}
}
Add to .vscode/mcp.json:
{
"servers": {
"voxel51-agent-gateway": {
"type": "http",
"url": "https://<your-deployment>/api/proxy/fiftyone-teams/mcp",
"oauth": {
"clientId": "voxel51-agent-mcp"
}
}
}
}
Add to .vscode/mcp.json in your workspace (create if it doesn’t
exist), same shape as the VS Code tab (including the oauth
block), then enable Agent mode in Copilot Chat.
Add to ~/.codex/config.toml (or .codex/config.toml in a
trusted project):
[mcp_servers.voxel51-agent-gateway]
url = "https://<your-deployment>/api/proxy/fiftyone-teams/mcp"
[mcp_servers.voxel51-agent-gateway.oauth]
client_id = "voxel51-agent-mcp"
Or from the CLI:
codex mcp add voxel51-agent-gateway \
--url https://<your-deployment>/api/proxy/fiftyone-teams/mcp
codex mcp login voxel51-agent-gateway
Then edit the generated entry to add the oauth.client_id shown
above; codex mcp add alone doesn’t accept a client id and falls
back to Dynamic Client Registration, which this deployment doesn’t
support.
Restart your agent after adding the server; new MCP servers only attach on the next session. Then trigger the connection (e.g. by trying to use one of the new tools): your agent opens a browser for a one-time OAuth consent screen. Sign in and approve, no API key needed. If your client’s config has no way to pin a client id, install the skill instead (Step 1).
Step 4: Use It#
"List the FiftyOne operators I can run"
"Run the duplicate-detection operator on my quickstart dataset"
"Evaluate my model's predictions and summarize the results"
"Check the status of my last background run"
Your agent discovers the operators your account is permitted to run, live on every call, and executes the appropriate tools.
How This Works#
The agent gateway connects your agent directly to your Voxel51
deployment over the open Model Context Protocol standard. Skills and MCP solve different
parts of the same problem: MCP exposes what your deployment can do, while a
skill like voxel51-agent-setup teaches the agent how and when to do it,
so you get a repeatable workflow instead of a list of raw tool calls.
FiftyOne Skills don’t stop at connecting the agent. Once you’re connected, other skills teach it to complete specific tasks end to end: import data, find duplicates, visualize embeddings, and more. See the Agent Ecosystem for the full list, or develop your own.
Available Tools#
Tool |
Description |
|---|---|
|
List the operators you currently have permission to run |
|
Get one operator’s input schema before running it |
|
Run an operator, optionally in the background ( |
|
List your own background runs and their status |
|
Check on one background run’s status and, once complete, its outcome |
Resources#
Resource |
Description |
|---|---|
Expert workflows for AI assistants, including |
|
Official plugin collection |
|
MCP specification |
|
Voxel51 Cloud and self-hosted deployment docs |
|
Get help and share ideas |