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
Copy file name to clipboardExpand all lines: .actor/input_schema.json
+14-1Lines changed: 14 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -14,6 +14,19 @@
14
14
"lukaskrivka/google-maps-with-contact-details"
15
15
]
16
16
},
17
+
"enableActorAutoLoading": {
18
+
"title": "Enable automatic loading of Actors based on context and use-case (experimental, check if it supported by your client)",
19
+
"type": "boolean",
20
+
"description": "When enabled, the server can dynamically add Actors as tools based on user requests and context. \n\nNote: Not all MCP clients support this feature. To try it, you can use the [Tester MCP Client](https://apify.com/jiri.spilka/tester-mcp-client). This is an experimental feature and may require client-specific support.",
21
+
"default": false
22
+
},
23
+
"maxActorMemoryBytes": {
24
+
"title": "Limit the maximum memory used by an Actor",
25
+
"type": "integer",
26
+
"description": "Limit the maximum memory used by an Actor in bytes. This is important setting for Free plan users to avoid exceeding the memory limit.",
27
+
"prefill": 4096,
28
+
"default": 4096
29
+
},
17
30
"debugActor": {
18
31
"title": "Debug Actor",
19
32
"type": "string",
@@ -28,7 +41,7 @@
28
41
"description": "Specify the input for the Actor that will be used for debugging in normal mode",
Copy file name to clipboardExpand all lines: CHANGELOG.md
+35Lines changed: 35 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,41 @@
2
2
3
3
All notable changes to this project will be documented in this file.
4
4
5
+
<!-- git-cliff-unreleased-start -->
6
+
## 0.1.10 - **not yet released**
7
+
8
+
### 🚀 Features
9
+
10
+
- Update README with a link to relevant blogposts ([#34](https://github.com/apify/actors-mcp-server/pull/34)) ([a7c8ea2](https://github.com/apify/actors-mcp-server/commit/a7c8ea24da243283195822d16b56f135786866f4)) by [@jirispilka](https://github.com/jirispilka)
11
+
12
+
### 🐛 Bug Fixes
13
+
14
+
- Update README.md ([#33](https://github.com/apify/actors-mcp-server/pull/33)) ([d053c63](https://github.com/apify/actors-mcp-server/commit/d053c6381939e46da7edce409a529fd1581a8143)) by [@RVCA212](https://github.com/RVCA212)
- Stdio and SSE example, improve logging ([#32](https://github.com/apify/actors-mcp-server/pull/32)) ([1b1852c](https://github.com/apify/actors-mcp-server/commit/1b1852cdb49c5de3f8dd48a1d9abc5fd28c58b3a)) by [@jirispilka](https://github.com/jirispilka)
- Actor auto loading (corret tool->Actor name conversion) ([#31](https://github.com/apify/actors-mcp-server/pull/31)) ([45073ea](https://github.com/apify/actors-mcp-server/commit/45073ea49f56784cc4e11bed84c01bcb136b2d8e)) by [@jirispilka](https://github.com/jirispilka)
- Add internal tools for Actor discovery ([#28](https://github.com/apify/actors-mcp-server/pull/28)) ([193f098](https://github.com/apify/actors-mcp-server/commit/193f0983255d8170c90109d162589e62ec10e340)) by [@jirispilka](https://github.com/jirispilka)
37
+
- Update README.md ([#30](https://github.com/apify/actors-mcp-server/pull/30)) ([23bb32e](https://github.com/apify/actors-mcp-server/commit/23bb32e1f2d5b10d3d557de87cb2d97b5e81921b)) by [@jirispilka](https://github.com/jirispilka)
-[LibreChat](https://www.librechat.ai/) (stdio and SSE support (yeah without Authorization header))
29
+
-[Apify Tester MCP Client](https://apify.com/jiri.spilka/tester-mcp-client) (SSE support with Authorization headers)
30
+
- other clients at [https://modelcontextprotocol.io/clients](https://modelcontextprotocol.io/clients)
31
+
- more clients at [https://glama.ai/mcp/clients](https://glama.ai/mcp/clients)
23
32
24
-
To interact with the Apify MCP server, you can use MCP clients such as [Claude Desktop](https://claude.ai/download), [LibreChat](https://www.librechat.ai/), or other [MCP clients](https://glama.ai/mcp/clients).
25
33
Additionally, you can use simple example clients found in the [examples](https://github.com/apify/actor-mcp-server/tree/main/src/examples) directory.
26
34
27
35
When you have Actors integrated with the MCP server, you can ask:
@@ -36,25 +44,27 @@ The following image shows how the Apify MCP server interacts with the Apify plat
In the future, we plan to load Actors dynamically and provide Apify's dataset and key-value store as resources.
39
-
See the [Roadmap](#-roadmap-january-2025) for more details.
47
+
See the [Roadmap](#-roadmap-march-2025) for more details.
40
48
41
49
# 🔄 What is the Model Context Protocol?
42
50
43
51
The Model Context Protocol (MCP) allows AI applications (and AI agents), such as Claude Desktop, to connect to external tools and data sources.
44
52
MCP is an open protocol that enables secure, controlled interactions between AI applications, AI Agents, and local or remote resources.
45
53
46
-
For more information, see the [Model Context Protocol](https://modelcontextprotocol.org/) website.
54
+
For more information, see the [Model Context Protocol](https://modelcontextprotocol.org/) website or blogpost [What is MCP and why does it matter?](https://blog.apify.com/what-is-model-context-protocol/).
47
55
48
56
# 🤖 How is Actors MCP Server related to AI Agents?
49
57
50
58
The Apify MCP Server exposes Apify's Actors through the MCP protocol, allowing AI Agents or frameworks that implement the MCP protocol to access all Apify Actors as tools for data extraction, web searching, and other tasks.
51
59
52
-
To learn more, check out the blog post: [What are AI Agents?](https://blog.apify.com/what-are-ai-agents/)
60
+
To learn more, check out the blog post: [What are AI Agents?](https://blog.apify.com/what-are-ai-agents/) and Apify's [AI Agent collection](https://apify.com/store/collections/ai_agents).
53
61
54
62
# 🧱 Components
55
63
56
64
## Tools
57
65
66
+
### Actors
67
+
58
68
Any [Apify Actor](https://apify.com/store) can be used as a tool.
59
69
By default, the server is pre-configured with the Actors specified below, but it can be overridden by providing Actor input.
60
70
@@ -80,6 +90,20 @@ You don't need to specify the input parameters or which Actor to call, everythin
80
90
When a tool is called, the arguments are automatically passed to the Actor by the LLM.
81
91
You can refer to the specific Actor's documentation for a list of available arguments.
82
92
93
+
### Helper tools
94
+
95
+
The server provides a set of helper tools to discover available Actors and retrieve their details:
96
+
-`get-actor-details`: Retrieves documentation, input schema, and other details about a specific Actor.
97
+
-`discover-actors`: Searches for relevant Actors using keywords and returns their details.
98
+
99
+
There are also tools to manage the available tools list. However, dynamically adding and removing tools requires the MCP client to have the capability to manage the tools list, which is typically not supported.
100
+
101
+
You can try this functionality using the [Apify Tester MCP Client](https://apify.com/jiri.spilka/tester-mcp-client) Actor.
102
+
To enable it, set the `enableActorAutoLoading` parameter.
103
+
104
+
-`add-actor-as-tool`: Adds an Actor by name to the available tools list without executing it, requiring user consent to run later.
105
+
-`remove-actor-from-tool`: Removes an Actor by name from the available tools list when it's no longer needed.
106
+
83
107
## Prompt & Resources
84
108
85
109
The server does not provide any resources and prompts.
You can find a list of all available Actors in the [Apify Store](https://apify.com/store).
113
137
114
-
#### 💬 Interact with the MCP Server
138
+
#### 💬 Interact with the MCP Server over SSE
115
139
116
140
Once the server is running, you can interact with Server-Sent Events (SSE) to send messages to the server and receive responses.
117
-
You can use MCP clients such as [Superinference.ai](https://superinterface.ai/) or [LibreChat](https://www.librechat.ai/).
141
+
The easiest way is to use [Tester MCP Client](https://apify.com/jiri.spilka/tester-mcp-client) on Apify.
142
+
143
+
Other clients do not support SSE yet, but this will likely change.
144
+
Please verify if MCP clients such as [Superinference.ai](https://superinterface.ai/) or [LibreChat](https://www.librechat.ai/) support SSE with custom headers.
118
145
([Claude Desktop](https://claude.ai/download) does not support SSE transport yet, see [Claude Desktop Configuration](#claude-desktop) section for more details).
119
146
120
147
In the client settings you need to provide server configuration:
@@ -171,14 +198,9 @@ Alternatively, you can use simple python [client_see.py](https://github.com/apif
171
198
```
172
199
173
200
## ⾕ MCP Server at a local host
174
-
175
-
### Installing via Smithery
176
-
177
-
To install Apify Actors MCP Server for Claude Desktop automatically via [Smithery](https://smithery.ai/server/@apify/actors-mcp-server):
178
-
179
-
```bash
180
-
npx -y @smithery/cli install @apify/actors-mcp-server --client claude
181
-
```
201
+
``
202
+
You can run the Apify MCP Server on your local machine by configuring it with Claude Desktop or any other [MCP clients](https://modelcontextprotocol.io/clients).
203
+
You can also use [Smithery](https://smithery.ai/server/@apify/actors-mcp-server) to install the server automatically.
To test the server with the SSE transport, you can use python script `examples/client_sse.py`:
347
+
To test the server with the SSE transport, you can use python script `examples/clientSse.ts`:
318
348
Currently, the node.js client does not support to establish a connection to remote server witch custom headers.
319
349
You need to change URL to your local server URL in the script.
320
350
321
351
```bash
322
-
python src/examples/client_sse.py
352
+
node dist/examples/clientSse.js
323
353
```
324
354
325
355
## Debugging
@@ -343,17 +373,22 @@ Upon launching, the Inspector will display a URL that you can access in your bro
343
373
344
374
## ⓘ Limitations and feedback
345
375
346
-
To limit the context size the properties in the `input schema` are pruned and description is truncated to 200 characters.
376
+
To limit the context size the properties in the `input schema` are pruned and description is truncated to 500 characters.
347
377
Enum fields and titles are truncated to max 50 options.
348
378
349
379
Memory for each Actor is limited to 4GB.
350
380
Free users have an 8GB limit, 128MB needs to be allocated for running `Actors-MCP-Server`.
351
381
352
-
If you need other features or have any feedback, please [submit an issue](https://console.apify.com/actors/3ox4R101TgZz67sLr/issues) in Apify Console to let us know.
382
+
If you need other features or have any feedback, please [submit an issue](https://console.apify.com/actors/1lSvMAaRcadrM1Vgv/issues) in Apify Console to let us know.
353
383
354
-
# 🚀 Roadmap (January 2025)
384
+
# 🚀 Roadmap (March 2025)
355
385
356
-
- Document examples for [LibreChat](https://www.librechat.ai/).
357
-
- Provide tools to search for Actors and load them as needed.
358
386
- Add Apify's dataset and key-value store as resources.
359
387
- Add tools such as Actor logs and Actor runs for debugging.
0 commit comments