You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -25,7 +25,7 @@ You can use the Apify MCP Server in two ways:
25
25
:::tip Quick setup options
26
26
_MCP server configuration for other clients_: Use https://mcp.apify.com to select Actors and tools, then copy the configuration to your client.
27
27
28
-
_Claude Desktop_: Download and run the [Apify MCP Server DXT file](https://github.com/apify/actors-mcp-server/releases/latest/download/actors-mcp-server.dxt) for one-click installation.
28
+
_Claude Desktop_: Download and run the [Apify MCP Server DXT file](https://github.com/apify/actors-mcp-server/releases/latest/download/apify-mcp-server.dxt) for one-click installation.
29
29
30
30
:::
31
31
@@ -53,6 +53,21 @@ During setup, provide the server URL `https://mcp.apify.com`. You will then be r
53
53
}
54
54
```
55
55
56
+
You can also use your Apify token directly, instead of OAuth, by setting the `Authorization: Bearer <APIFY_TOKEN>` header in the MCP server configuration:
57
+
58
+
```json
59
+
{
60
+
"mcpServers": {
61
+
"apify": {
62
+
"url": "https://mcp.apify.com",
63
+
"headers": {
64
+
"Authorization": "Bearer your-apify-token"
65
+
}
66
+
}
67
+
}
68
+
}
69
+
```
70
+
56
71
## Example usage (local stdio with Claude for Desktop)
57
72
58
73
Let’s walk through an example of using Claude for Desktop with the Apify MCP Server:
@@ -87,9 +102,15 @@ If you prefer not to set up Claude desktop, you can achieve a similar result usi
## Interact with the MCP server over legacy SSE transport
91
106
92
-
You can interact with the server through Server-Sent Events (SSE) to send messages and receive responses.
107
+
:::caution Legacy SSE transport is discouraged
108
+
109
+
We strongly recommend using the latest [streamable HTTP transport](https://modelcontextprotocol.io/specification/2025-06-18/basic/transports#streamable-http) for new integrations at `https://mcp.apify.com`. The legacy SSE transport at `https://mcp.apify.com/sse` is deprecated and will be removed in the future.
110
+
111
+
:::
112
+
113
+
You can interact with the server through legacy Server-Sent Events (SSE) to send messages and receive responses.
93
114
94
115
In the client settings, you need to provide server configuration:
95
116
@@ -107,102 +128,132 @@ In the client settings, you need to provide server configuration:
107
128
}
108
129
```
109
130
110
-
## Adding Multiple Actors
131
+
## Tools, resources, and prompts
132
+
133
+
The MCP server provides a set of tools for interacting with Apify Actors.
134
+
Since the Apify Store is large and growing rapidly, the MCP server provides a way to dynamically discover and use new Actors.
111
135
112
-
By default, the main Actors MCP Server starts with a single default [RAG Web Browser Actor](https://apify.com/apify/rag-web-browser). However, you can fully customize which Actors are available:
136
+
### Actors
113
137
114
-
-_Dynamic adding during a session:_ If your client supports it, the agent itself can add Actors dynamically by name (using the `add-actor` operation) at runtime. For example, after using `search-actors` to find an Actor’s name, calling `add-actor` with that name will load it.
115
-
_Tools for adding and removing Actors are enabled by default._
116
-
You can disable these tools by setting the parameter `?enableAddingActors=false` in the MCP Server URL, or with the CLI flag `--enable-adding-actors=false` (can also be set in Claude for Desktop config args as `--enable-adding-actors=false`).
117
-
Not all MCP client frameworks allow dynamic tool addition at runtime, but Apify’s own tester client does, if adding Actors is enabled.
118
-
-_Via url:_ If you are using Streamable HTTP or SSE protocol, you could add `actors` query parameter with Actor names separated by comma:
138
+
Any [Apify Actor](https://apify.com/store) can be used as a tool.
139
+
By default, the server is pre-configured with one Actor, `apify/rag-web-browser`, and several helper tools.
140
+
The MCP server loads an Actor's input schema and creates a corresponding MCP tool.
141
+
This allows the AI agent to know exactly what arguments to pass to the Actor and what to expect in return.
142
+
143
+
For example, for the `apify/rag-web-browser` Actor, the input parameters are:
-_Via config file:_ For local stdio connection, you can specify which Actors should be immediately available by configuring your json configuration. Add the Actors as a comma-separated list in the `--actors` parameter, as shown in the example below. This pre-loads your selected tools without requiring discovery during conversations, ideal for workflows with predictable tool needs.
152
+
You don't need to manually specify which Actor to call or its input parameters; the LLM handles this automatically.
153
+
When a tool is called, the arguments are automatically passed to the Actor by the LLM.
154
+
You can refer to the specific Actor's documentation for a list of available arguments.
One of the most powerful features of using MCP with Apify is dynamic tool discovery.
159
+
It gives an AI agent the ability to find new tools (Actors) as needed and incorporate them.
160
+
Here are some special MCP operations and how the Apify MCP Server supports them:
161
+
162
+
-**Apify Actors**: Search for Actors, view their details, and use them as tools for the AI.
163
+
-**Apify documentation**: Search the Apify documentation and fetch specific documents to provide context to the AI.
164
+
-**Actor runs**: Get lists of your Actor runs, inspect their details, and retrieve logs.
165
+
-**Apify storage**: Access data from your datasets and key-value stores.
148
166
167
+
### Overview of available tools
149
168
150
-
In summary, you can start with a broad set (everything open and discoverable) or a narrow set (just what you need) and even expand tools on the fly, giving your agent a lot of flexibility without overwhelming it initially.
169
+
Here is an overview list of all the tools provided by the Apify MCP Server.
151
170
152
-
## Configure tools for the MCP server
171
+
| Tool name | Category | Enabled by default | Description |
172
+
| :--- | :--- | :--- | :---: |
173
+
|`search-actors`| actors | ✅ | Search for Actors in the Apify Store. |
174
+
|`fetch-actor-details`| actors | ✅ | Retrieve detailed information about a specific Actor. |
175
+
|`call-actor`| actors | ✅ | Call an Actor and get its run results. |
176
+
|[`apify-slash-rag-web-browser`](https://apify.com/apify/rag-web-browser)| Actor (see [tool configuration](#tools-configuration)) | ✅ | An Actor tool to browse the web. |
177
+
|`search-apify-docs`| docs | ✅ | Search the Apify documentation for relevant pages. |
178
+
|`fetch-apify-docs`| docs | ✅ | Fetch the full content of an Apify documentation page by its URL. |
179
+
|`get-actor-run`| runs || Get detailed information about a specific Actor run. |
180
+
|`get-actor-run-list`| runs || Get a list of an Actor's runs, filterable by status. |
181
+
|`get-actor-log`| runs || Retrieve the logs for a specific Actor run. |
182
+
|`get-dataset`| storage || Get metadata about a specific dataset. |
183
+
|`get-dataset-items`| storage || Retrieve items from a dataset with support for filtering and pagination. |
184
+
|`get-dataset-schema`| storage || Generate a JSON schema from dataset items. |
185
+
|`get-key-value-store`| storage || Get metadata about a specific key-value store. |
186
+
|`get-key-value-store-keys`| storage || List the keys within a specific key-value store. |
187
+
|`get-key-value-store-record`| storage || Get the value associated with a specific key in a key-value store. |
188
+
|`get-dataset-list`| storage || List all available datasets for the user. |
189
+
|`get-key-value-store-list`| storage || List all available key-value stores for the user. |
190
+
|`add-actor`| experimental || Add an Actor as a new tool for the user to call. |
153
191
154
-
You can customize the MCP server’s available tools by adding query parameters to the server URL or by passing arguments to the CLI.
155
-
This allows you to enable or disable specific tool categories and control which tools are available.
192
+
### Tools configuration
156
193
157
-
The following tool categories are available:
194
+
The `tools` configuration parameter is used to specify loaded tools - either categories or specific tools directly, and Apify Actors. For example, `tools=storage,runs` loads two categories; `tools=add-actor` loads just one tool.
158
195
159
-
-_Actor discovery and management_ (default, always enabled): Search for [Actors](https://docs.apify.com/platform/actors) (`search-actors`), view details (`get-actor-details`), and dynamically add them (`add-actor`).
160
-
-_docs_ (default, can be disabled): Search Apify documentation (`search-apify-docs`) and fetch specific documents (`fetch-apify-docs`).
161
-
-_runs_ (optional): Get a list of your [Actor runs](https://docs.apify.com/platform/actors/running/runs-and-builds#runs) (`get-actor-run-list`), specific run details (`get-actor-run`), and logs from a specific Actor run (`get-actor-log`).
162
-
-_storage_ (optional): Access [datasets](https://docs.apify.com/platform/storage/dataset) and [key-value stores](https://docs.apify.com/platform/storage/key-value-store), including their records (`get-dataset`, `get-dataset-items`, `get-dataset-list`, `get-key-value-store`, `get-key-value-store-keys`, `get-key-value-store-record`, `get-key-value-store-records`).
163
-
-_preview_ (optional): Experimental tools in preview mode. Call any Actor using API (`call-actor`).
196
+
When no query parameters are provided, the MCP server loads the following `tools` by default:
164
197
165
-
The _Actor discovery and management_ tools are always present and cannot be disabled.
166
-
The _docs_ tools are enabled by default but can be switched off using the `tools` parameter.
198
+
-`actors`
199
+
-`docs`
200
+
-`apify/rag-web-browser`
167
201
168
-
### Configure mcp.apify.com using query parameters
202
+
If the tools parameter is specified, only the listed tools or categories will be enabled - no default tools will be included.
169
203
170
-
Use the `tools` query parameter to enable or disable specific tool categories.
204
+
:::tip Easy configuration
171
205
172
-
For example, to enable only the `runs` and `storage` tools, you can use:
206
+
Use the [UI configurator](https://mcp.apify.com/) to configure your server, then copy the configuration to your client.
207
+
208
+
:::
209
+
210
+
#### Configuring the hosted server
211
+
212
+
The hosted server can be configured using query parameters in the URL. For example, to load the default tools, use:
The server will expose all _Actor discovery and management tools_, as well as `runs` and `storage`.
179
-
The list of tools you can enable/disable is as follows: `docs`, `runs`, `storage`, and `preview`.
218
+
For minimal configuration, if you want to use only a single Actor tool - without any discovery or generic calling tools, the server can be configured as follows:
180
219
220
+
```text
221
+
https://mcp.apify.com?tools=apify/my-actor
222
+
```
223
+
224
+
This setup exposes only the specified Actor (`apify/my-actor`) as a tool. No other tools will be available.
225
+
226
+
#### Configuring the CLI
181
227
182
-
### Configure stdio server using CLI arguments
228
+
The CLI can be configured using command-line flags. For example, to load the same tools as in the hosted server configuration, use:
As above, this exposes only the specified Actor (`apify/my-actor`) as a tool. No other tools will be available.
241
+
242
+
:::caution Important recommendation
243
+
244
+
_The default tools configuration may change in future versions._ When no `tools` parameter is specified, the server currently loads default tools, but this behavior is subject to change.
192
245
193
-
One of the powerful features of MCP with Apify is **dynamic Actor tooling** – the ability for an AI agent to find new tools (Actors) as needed and incorporate them.
246
+
_For production use and stable interfaces, always explicitly specify the `tools` parameter_ to ensure your configuration remains consistent across updates.
247
+
248
+
:::
194
249
195
-
Supported dynamic tool operations (enabled by default):
250
+
### Prompts
196
251
197
-
-`search-actors`: Find available Actors by keyword or category.
198
-
-`get-actor-details`: View details and usage information for a specific Actor.
199
-
-`add-actor`: Dynamically add an Actor as a tool for the current session, making it available for use.
252
+
The server provides a set of predefined example prompts to help you get started interacting with Apify through MCP. For example, there is a `GetLatestNewsOnTopic` prompt that allows you to easily retrieve the latest news on a specific topic using the [RAG Web Browser](https://apify.com/apify/rag-web-browser) Actor.
200
253
201
-
These operations allow your agent to expand its toolset on demand, without requiring a server restart or manual configuration.
254
+
### Resources
202
255
203
-
Dynamic tool addition can be disabled using the `?enableAddingActors=false`.
204
-
Not all MCP clients support dynamic tool addition.
205
-
Check your client’s documentation or settings to confirm this feature is available.
0 commit comments