Connect TinyFish to Claude, Cursor, or any MCP-compatible AI assistant. Once connected, your assistant can search the web, browse websites, and extract data on your behalf.Documentation Index
Fetch the complete documentation index at: https://docs.tinyfish.ai/llms.txt
Use this file to discover all available pages before exploring further.
Quick Install
- Claude Code
- Claude Desktop
- Cursor
- Windsurf
Manual configuration
Manual configuration
- Claude Code
- Claude Desktop
- Cursor
- Windsurf
Available Tools
Web Automation
run_web_automation— Execute multi-step web automation given a URL and natural language goal. Streams progress in real-time. Use this for tasks that require clicking, navigating, filling forms, or interacting with a website.run_web_automation_async— Same asrun_web_automationbut returns arun_idimmediately without waiting. Use for long-running tasks where you don’t need real-time progress. Poll withget_run.get_run— Retrieve details of a specific automation run by ID. Returns status, result, and error info.list_runs— List your automation runs with optional filtering by status and pagination.cancel_run— Cancel a running or pending automation run by ID. Idempotent — already-terminal runs return their current status.
Batch Automation
batch_create— Start multiple web automations simultaneously (up to 8). Each run opens its own browser session. Returns all run IDs immediately.batch_status— Check the status of multiple runs at once (up to 8). Poll every 30–60 seconds untilall_terminalis true.batch_cancel— Cancel multiple running or pending runs by their IDs (up to 8). Idempotent.
Web Search
search— Search the web and get structured results with titles, snippets, and URLs. Use this to find information or discover URLs before automating a specific site.get_search_usage— List past search usage records with filtering by date range and status.
Content Extraction
fetch_content— Render web pages in a real browser and extract clean, structured content. Preferred overrun_web_automationwhen you only need to read page content. Supports up to 10 URLs per request.list_fetch_usage— List past fetch requests with filtering by date range and status. Returns metadata only.
Browser Sessions
create_browser_session— Create a remote, stealth Chrome browser session and get CDP connection details. Use for direct programmatic browser control with Playwright, Puppeteer, or Selenium.list_browser_sessions— List your browser sessions with optional filtering by session ID, time range, and status.
Example Usage
Credit Costs
| Tool | Rate |
|---|---|
run_web_automation | 1 credit per run step |
search | 1 credit = 2 searches |
fetch_content | 1 credit = 15 fetches |
create_browser_session | 1 credit = 4 browser-minutes |
Authentication
TinyFish MCP uses OAuth 2.1 for secure authentication. The first time you connect, your browser will open to complete the OAuth flow.Before You Start
Make sure you are signed in to both of these in your default browser before triggering the OAuth flow:- claude.ai — your Claude/Anthropic account
- agent.tinyfish.ai — your TinyFish account
Authentication Flow
When you first configure the TinyFish MCP server, Claude Desktop will open your default browser to complete OAuth. Since you’re already signed in to both services, the flow will redirect automatically and complete without manual input.You need a TinyFish account with an active subscription or credits. Sign up here.
Troubleshooting
Tool not showing up
Tool not showing up
- Restart your AI client after adding the config
- Check that the config JSON is valid
- Ensure you’re authenticated (OAuth prompt should appear)
Authentication failing
Authentication failing
Before starting the OAuth flow, make sure you are already signed in to both services in your default browser:
- Open your default browser and sign in to claude.ai
- In the same browser, sign in to agent.tinyfish.ai
- Then restart Claude Desktop and trigger the OAuth flow again
- Clear cookies - Clear browser cookies for both claude.ai and agent.tinyfish.ai, then retry
- Check TinyFish account - Verify your account is active at agent.tinyfish.ai/api-keys
Server disconnected (Windows)
Server disconnected (Windows)
On Windows, if you see “Server disconnected” errors:
- Close Claude Desktop completely - Check Task Manager and end any Claude processes
- Use the direct URL method - The recommended setup using
"url": "https://agent.tinyfish.ai/mcp"in your config avoids these issues entirely (see Quick Install above) - Complete OAuth quickly - When the browser opens, complete the sign-in promptly to avoid timeout issues
Automation timing out
Automation timing out
Complex automations may take 30-60 seconds. For sites with bot protection, the assistant should use
browser_profile: "stealth".Related
Quick Start
Get started with the REST API
API Reference
Full endpoint documentation