@apify/actors-mcp-server 0.3.9 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +88 -22
- package/dist/actor/server.d.ts +1 -5
- package/dist/actor/server.d.ts.map +1 -1
- package/dist/actor/server.js +7 -24
- package/dist/actor/server.js.map +1 -1
- package/dist/const.d.ts +1 -1
- package/dist/const.d.ts.map +1 -1
- package/dist/const.js +1 -1
- package/dist/const.js.map +1 -1
- package/dist/index-internals.d.ts +6 -4
- package/dist/index-internals.d.ts.map +1 -1
- package/dist/index-internals.js +6 -4
- package/dist/index-internals.js.map +1 -1
- package/dist/input.d.ts +11 -3
- package/dist/input.d.ts.map +1 -1
- package/dist/input.js +64 -20
- package/dist/input.js.map +1 -1
- package/dist/main.js +3 -15
- package/dist/main.js.map +1 -1
- package/dist/mcp/server.d.ts +6 -30
- package/dist/mcp/server.d.ts.map +1 -1
- package/dist/mcp/server.js +14 -82
- package/dist/mcp/server.js.map +1 -1
- package/dist/stdio.js +25 -25
- package/dist/stdio.js.map +1 -1
- package/dist/tools/actor.d.ts.map +1 -1
- package/dist/tools/actor.js +75 -40
- package/dist/tools/actor.js.map +1 -1
- package/dist/tools/fetch-actor-details.d.ts +3 -0
- package/dist/tools/fetch-actor-details.d.ts.map +1 -0
- package/dist/tools/fetch-actor-details.js +45 -0
- package/dist/tools/fetch-actor-details.js.map +1 -0
- package/dist/tools/helpers.d.ts.map +1 -1
- package/dist/tools/helpers.js +3 -5
- package/dist/tools/helpers.js.map +1 -1
- package/dist/tools/index.d.ts +2 -2
- package/dist/tools/index.d.ts.map +1 -1
- package/dist/tools/index.js +12 -13
- package/dist/tools/index.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/types.d.ts +17 -3
- package/dist/types.d.ts.map +1 -1
- package/dist/utils/actor-details.d.ts +11 -0
- package/dist/utils/actor-details.d.ts.map +1 -0
- package/dist/utils/actor-details.js +27 -0
- package/dist/utils/actor-details.js.map +1 -0
- package/dist/utils/tools-loader.d.ts +1 -2
- package/dist/utils/tools-loader.d.ts.map +1 -1
- package/dist/utils/tools-loader.js +98 -24
- package/dist/utils/tools-loader.js.map +1 -1
- package/dist/utils/tools.d.ts +9 -1
- package/dist/utils/tools.d.ts.map +1 -1
- package/dist/utils/tools.js +14 -0
- package/dist/utils/tools.js.map +1 -1
- package/package.json +5 -5
- package/dist/examples/clientSse.d.ts +0 -18
- package/dist/examples/clientSse.d.ts.map +0 -1
- package/dist/examples/clientSse.js +0 -85
- package/dist/examples/clientSse.js.map +0 -1
- package/dist/examples/clientStdio.d.ts +0 -8
- package/dist/examples/clientStdio.d.ts.map +0 -1
- package/dist/examples/clientStdio.js +0 -68
- package/dist/examples/clientStdio.js.map +0 -1
- package/dist/examples/clientStdioChat.d.ts +0 -23
- package/dist/examples/clientStdioChat.d.ts.map +0 -1
- package/dist/examples/clientStdioChat.js +0 -216
- package/dist/examples/clientStdioChat.js.map +0 -1
- package/dist/examples/clientStreamableHttp.d.ts +0 -2
- package/dist/examples/clientStreamableHttp.d.ts.map +0 -1
- package/dist/examples/clientStreamableHttp.js +0 -96
- package/dist/examples/clientStreamableHttp.js.map +0 -1
- package/dist/tools/get-actor-details.d.ts +0 -3
- package/dist/tools/get-actor-details.d.ts.map +0 -1
- package/dist/tools/get-actor-details.js +0 -59
- package/dist/tools/get-actor-details.js.map +0 -1
package/README.md
CHANGED
|
@@ -26,7 +26,7 @@ The Apify Model Context Protocol (MCP) Server at **mcp.apify.com** instantly con
|
|
|
26
26
|
>
|
|
27
27
|
> It supports OAuth, so you can connect from clients like Claude.ai or Visual Studio Code with just the URL.
|
|
28
28
|
|
|
29
|
-

|
|
30
30
|
|
|
31
31
|
## Table of Contents
|
|
32
32
|
- [🌐 Introducing the Apify MCP server](#-introducing-the-apify-mcp-server)
|
|
@@ -107,7 +107,7 @@ Check out [Apify Tester MCP Client](https://apify.com/jiri.spilka/tester-mcp-cli
|
|
|
107
107
|
This interactive, chat-like interface provides an easy way to explore the capabilities of Apify MCP without any local setup.
|
|
108
108
|
Just sign in with your Apify account and start experimenting with web scraping, data extraction, and automation tools!
|
|
109
109
|
|
|
110
|
-
Or use the Anthropic Desktop extension file (dxt) for one-click installation: [Apify MCP server dxt file](https://github.com/apify/
|
|
110
|
+
Or use the Anthropic Desktop extension file (dxt) for one-click installation: [Apify MCP server dxt file](https://github.com/apify/apify-mcp-server/releases/latest/download/apify-mcp-server.dxt)
|
|
111
111
|
|
|
112
112
|
# 🛠️ Tools, resources, and prompts
|
|
113
113
|
|
|
@@ -140,19 +140,10 @@ One of the most powerful features of using MCP with Apify is dynamic tool discov
|
|
|
140
140
|
It gives an AI agent the ability to find new tools (Actors) as needed and incorporate them.
|
|
141
141
|
Here are some special MCP operations and how the Apify MCP Server supports them:
|
|
142
142
|
|
|
143
|
-
- **
|
|
143
|
+
- **Apify Actors**: Search for Actors, view their details, and use them as tools for the AI.
|
|
144
144
|
- **Apify documentation**: Search the Apify documentation and fetch specific documents to provide context to the AI.
|
|
145
|
-
- **Actor runs
|
|
146
|
-
- **Apify storage
|
|
147
|
-
|
|
148
|
-
**Note**: Helper tool categories marked with (*) are not enabled by default in the MCP server and must be explicitly enabled using the `tools` argument (either the `--tools` command line argument for the stdio server or the `?tools` URL query parameter for the remote MCP server). The `tools` argument is a comma-separated list of categories with the following possible values:
|
|
149
|
-
|
|
150
|
-
- `docs`: Search and fetch Apify documentation tools.
|
|
151
|
-
- `runs`: Get Actor run lists, run details, and logs from a specific Actor run.
|
|
152
|
-
- `storage`: Access datasets, key-value stores, and their records.
|
|
153
|
-
- `preview`: Experimental tools in preview mode.
|
|
154
|
-
|
|
155
|
-
For example, to enable all tools, use `npx @apify/actors-mcp-server --tools docs,runs,storage,preview` or `https://mcp.apify.com/?tools=docs,runs,storage,preview`.
|
|
145
|
+
- **Actor runs**: Get lists of your Actor runs, inspect their details, and retrieve logs.
|
|
146
|
+
- **Apify storage**: Access data from your datasets and key-value stores.
|
|
156
147
|
|
|
157
148
|
### Overview of available tools
|
|
158
149
|
|
|
@@ -160,23 +151,95 @@ Here is an overview list of all the tools provided by the Apify MCP Server.
|
|
|
160
151
|
|
|
161
152
|
| Tool name | Category | Description | Enabled by default |
|
|
162
153
|
| :--- | :--- | :--- | :---: |
|
|
163
|
-
| `
|
|
164
|
-
| `
|
|
165
|
-
| `
|
|
166
|
-
| [`apify-slash-rag-web-browser`](https://apify.com/apify/rag-web-browser) |
|
|
154
|
+
| `search-actors` | actors | Search for Actors in the Apify Store. | ✅ |
|
|
155
|
+
| `fetch-actor-details` | actors | Retrieve detailed information about a specific Actor. | ✅ |
|
|
156
|
+
| `call-actor` | actors | Call an Actor and get its run results. | ✅ |
|
|
157
|
+
| [`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. | ✅ |
|
|
167
158
|
| `search-apify-docs` | docs | Search the Apify documentation for relevant pages. | ✅ |
|
|
168
159
|
| `fetch-apify-docs` | docs | Fetch the full content of an Apify documentation page by its URL. | ✅ |
|
|
169
|
-
| `call-actor` | preview | Call an Actor and get its run results. | |
|
|
170
160
|
| `get-actor-run` | runs | Get detailed information about a specific Actor run. | |
|
|
171
161
|
| `get-actor-run-list` | runs | Get a list of an Actor's runs, filterable by status. | |
|
|
172
162
|
| `get-actor-log` | runs | Retrieve the logs for a specific Actor run. | |
|
|
173
163
|
| `get-dataset` | storage | Get metadata about a specific dataset. | |
|
|
174
164
|
| `get-dataset-items` | storage | Retrieve items from a dataset with support for filtering and pagination. | |
|
|
165
|
+
| `get-dataset-schema` | storage | Generate a JSON schema from dataset items. | |
|
|
175
166
|
| `get-key-value-store` | storage | Get metadata about a specific key-value store. | |
|
|
176
167
|
| `get-key-value-store-keys`| storage | List the keys within a specific key-value store. | |
|
|
177
168
|
| `get-key-value-store-record`| storage | Get the value associated with a specific key in a key-value store. | |
|
|
178
169
|
| `get-dataset-list` | storage | List all available datasets for the user. | |
|
|
179
170
|
| `get-key-value-store-list`| storage | List all available key-value stores for the user. | |
|
|
171
|
+
| `add-actor` | experimental | Add an Actor as a new tool for the user to call. | |
|
|
172
|
+
|
|
173
|
+
### Tools configuration
|
|
174
|
+
|
|
175
|
+
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.
|
|
176
|
+
|
|
177
|
+
When no query parameters are provided, the MCP server loads the following `tools` by default:
|
|
178
|
+
|
|
179
|
+
- `actors`
|
|
180
|
+
- `docs`
|
|
181
|
+
- `apify/rag-web-browser`
|
|
182
|
+
|
|
183
|
+
If the tools parameter is specified, only the listed tools or categories will be enabled - no default tools will be included.
|
|
184
|
+
|
|
185
|
+
> **Easy configuration:**
|
|
186
|
+
>
|
|
187
|
+
> Use the [UI configurator](https://mcp.apify.com/) to configure your server, then copy the configuration to your client.
|
|
188
|
+
|
|
189
|
+
**Configuring the hosted server:**
|
|
190
|
+
|
|
191
|
+
The hosted server can be configured using query parameters in the URL. For example, to load the default tools, use:
|
|
192
|
+
|
|
193
|
+
```
|
|
194
|
+
https://mcp.apify.com?tools=actors,docs,apify/rag-web-browser
|
|
195
|
+
```
|
|
196
|
+
|
|
197
|
+
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:
|
|
198
|
+
|
|
199
|
+
```
|
|
200
|
+
https://mcp.apify.com?tools=apify/my-actor
|
|
201
|
+
```
|
|
202
|
+
|
|
203
|
+
This setup exposes only the specified Actor (`apify/my-actor`) as a tool. No other tools will be available.
|
|
204
|
+
|
|
205
|
+
**Configuring the CLI:**
|
|
206
|
+
|
|
207
|
+
The CLI can be configured using command-line flags. For example, to load the same tools as in the hosted server configuration, use:
|
|
208
|
+
|
|
209
|
+
```bash
|
|
210
|
+
npx @apify/actors-mcp-server --tools actors,docs,apify/rag-web-browser
|
|
211
|
+
```
|
|
212
|
+
|
|
213
|
+
The minimal configuration is similar to the hosted server configuration:
|
|
214
|
+
|
|
215
|
+
```bash
|
|
216
|
+
npx @apify/actors-mcp-server --tools apify/my-actor
|
|
217
|
+
```
|
|
218
|
+
|
|
219
|
+
As above, this exposes only the specified Actor (`apify/my-actor`) as a tool. No other tools will be available.
|
|
220
|
+
|
|
221
|
+
> **⚠️ Important recommendation**
|
|
222
|
+
>
|
|
223
|
+
> **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.
|
|
224
|
+
>
|
|
225
|
+
> **For production use and stable interfaces, always explicitly specify the `tools` parameter** to ensure your configuration remains consistent across updates.
|
|
226
|
+
|
|
227
|
+
### Backward compatibility
|
|
228
|
+
|
|
229
|
+
The v2 configuration preserves backward compatibility with v1 usage. Notes:
|
|
230
|
+
|
|
231
|
+
- `actors` param (URL) and `--actors` flag (CLI) are still supported.
|
|
232
|
+
- Internally they are merged into `tools` selectors.
|
|
233
|
+
- Examples: `?actors=apify/rag-web-browser` ≡ `?tools=apify/rag-web-browser`; `--actors apify/rag-web-browser` ≡ `--tools apify/rag-web-browser`.
|
|
234
|
+
- `enable-adding-actors` (CLI) and `enableAddingActors` (URL) are supported but deprecated.
|
|
235
|
+
- Prefer `tools=experimental` or including the specific tool `tools=add-actor`.
|
|
236
|
+
- Behavior remains: when enabled with no `tools` specified, the server exposes only `add-actor`; when categories/tools are selected, `add-actor` is also included.
|
|
237
|
+
- `enableActorAutoLoading` remains as a legacy alias for `enableAddingActors` and is mapped automatically.
|
|
238
|
+
- Defaults remain compatible: when no `tools` are specified, the server loads `actors`, `docs`, and `apify/rag-web-browser`.
|
|
239
|
+
- If any `tools` are specified, the defaults are not added (same as v1 intent for explicit selection).
|
|
240
|
+
- `call-actor` is now included by default via the `actors` category (additive change). To exclude it, specify an explicit `tools` list without `actors`.
|
|
241
|
+
|
|
242
|
+
Existing URLs and commands using `?actors=...` or `--actors` continue to work unchanged.
|
|
180
243
|
|
|
181
244
|
### Prompts
|
|
182
245
|
|
|
@@ -237,9 +300,12 @@ Upon launching, the Inspector will display a URL that you can open in your brows
|
|
|
237
300
|
|
|
238
301
|
## 🐦 Canary PR releases
|
|
239
302
|
|
|
240
|
-
|
|
303
|
+
Apify MCP is split across two repositories: this one for core MCP logic and the private `apify-mcp-server-internal` for the hosted server.
|
|
304
|
+
Changes must be synchronized between both.
|
|
241
305
|
|
|
242
|
-
|
|
306
|
+
To create a canary release, add the `beta` tag to your PR branch.
|
|
307
|
+
This publishes the package to [pkg.pr.new](https://pkg.pr.new/) for staging and testing before merging.
|
|
308
|
+
See [the workflow file](.github/workflows/pre_release.yaml) for details.
|
|
243
309
|
|
|
244
310
|
# 🐛 Troubleshooting (local MCP server)
|
|
245
311
|
|
|
@@ -262,7 +328,7 @@ The Actor input schema is processed to be compatible with most MCP clients while
|
|
|
262
328
|
|
|
263
329
|
We welcome contributions to improve the Apify MCP Server! Here's how you can help:
|
|
264
330
|
|
|
265
|
-
- **🐛 Report issues**: Find a bug or have a feature request? [Open an issue](https://github.com/apify/
|
|
331
|
+
- **🐛 Report issues**: Find a bug or have a feature request? [Open an issue](https://github.com/apify/apify-mcp-server/issues).
|
|
266
332
|
- **🔧 Submit pull requests**: Fork the repo and submit pull requests with enhancements or fixes.
|
|
267
333
|
- **📚 Documentation**: Improvements to docs and examples are always welcome.
|
|
268
334
|
- **💡 Share use cases**: Contribute examples to help other users.
|
package/dist/actor/server.d.ts
CHANGED
|
@@ -1,7 +1,3 @@
|
|
|
1
1
|
import express from 'express';
|
|
2
|
-
export declare function createExpressApp(host: string
|
|
3
|
-
enableAddingActors?: boolean;
|
|
4
|
-
enableDefaultActors?: boolean;
|
|
5
|
-
actors?: string[];
|
|
6
|
-
}): express.Express;
|
|
2
|
+
export declare function createExpressApp(host: string): express.Express;
|
|
7
3
|
//# sourceMappingURL=server.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"server.d.ts","sourceRoot":"","sources":["../../src/actor/server.ts"],"names":[],"mappings":"AASA,OAAO,OAAO,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"server.d.ts","sourceRoot":"","sources":["../../src/actor/server.ts"],"names":[],"mappings":"AASA,OAAO,OAAO,MAAM,SAAS,CAAC;AAQ9B,wBAAgB,gBAAgB,CAC5B,IAAI,EAAE,MAAM,GACb,OAAO,CAAC,OAAO,CA8MjB"}
|
package/dist/actor/server.js
CHANGED
|
@@ -7,10 +7,9 @@ import { StreamableHTTPServerTransport } from '@modelcontextprotocol/sdk/server/
|
|
|
7
7
|
import express from 'express';
|
|
8
8
|
import log from '@apify/log';
|
|
9
9
|
import { ActorsMcpServer } from '../mcp/server.js';
|
|
10
|
-
import { parseInputParamsFromUrl } from '../mcp/utils.js';
|
|
11
10
|
import { getHelpMessage, HEADER_READINESS_PROBE, Routes, TransportType } from './const.js';
|
|
12
11
|
import { getActorRunData } from './utils.js';
|
|
13
|
-
export function createExpressApp(host
|
|
12
|
+
export function createExpressApp(host) {
|
|
14
13
|
const app = express();
|
|
15
14
|
const mcpServers = {};
|
|
16
15
|
const transportsSSE = {};
|
|
@@ -59,20 +58,12 @@ export function createExpressApp(host, mcpServerOptions) {
|
|
|
59
58
|
rt: Routes.SSE,
|
|
60
59
|
tr: TransportType.SSE,
|
|
61
60
|
});
|
|
62
|
-
const mcpServer = new ActorsMcpServer(
|
|
61
|
+
const mcpServer = new ActorsMcpServer(false);
|
|
63
62
|
const transport = new SSEServerTransport(Routes.MESSAGE, res);
|
|
64
63
|
// Load MCP server tools
|
|
65
64
|
const apifyToken = process.env.APIFY_TOKEN;
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
log.debug('Loading tools from URL', { sessionId: transport.sessionId, tr: TransportType.SSE });
|
|
69
|
-
await mcpServer.loadToolsFromUrl(req.url, apifyToken);
|
|
70
|
-
}
|
|
71
|
-
// Load default tools if no actors are specified
|
|
72
|
-
if (!input.actors) {
|
|
73
|
-
log.debug('Loading default tools', { sessionId: transport.sessionId, tr: TransportType.SSE });
|
|
74
|
-
await mcpServer.loadDefaultActors(apifyToken);
|
|
75
|
-
}
|
|
65
|
+
log.debug('Loading tools from URL', { sessionId: transport.sessionId, tr: TransportType.SSE });
|
|
66
|
+
await mcpServer.loadToolsFromUrl(req.url, apifyToken);
|
|
76
67
|
transportsSSE[transport.sessionId] = transport;
|
|
77
68
|
mcpServers[transport.sessionId] = mcpServer;
|
|
78
69
|
await mcpServer.connect(transport);
|
|
@@ -148,19 +139,11 @@ export function createExpressApp(host, mcpServerOptions) {
|
|
|
148
139
|
sessionIdGenerator: () => randomUUID(),
|
|
149
140
|
enableJsonResponse: false, // Use SSE response mode
|
|
150
141
|
});
|
|
151
|
-
const mcpServer = new ActorsMcpServer(
|
|
142
|
+
const mcpServer = new ActorsMcpServer(false);
|
|
152
143
|
// Load MCP server tools
|
|
153
144
|
const apifyToken = process.env.APIFY_TOKEN;
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
log.debug('Loading tools from URL', { sessionId: transport.sessionId, tr: TransportType.HTTP });
|
|
157
|
-
await mcpServer.loadToolsFromUrl(req.url, apifyToken);
|
|
158
|
-
}
|
|
159
|
-
// Load default tools if no actors are specified
|
|
160
|
-
if (!input.actors) {
|
|
161
|
-
log.debug('Loading default tools', { sessionId: transport.sessionId, tr: TransportType.HTTP });
|
|
162
|
-
await mcpServer.loadDefaultActors(apifyToken);
|
|
163
|
-
}
|
|
145
|
+
log.debug('Loading tools from URL', { sessionId: transport.sessionId, tr: TransportType.HTTP });
|
|
146
|
+
await mcpServer.loadToolsFromUrl(req.url, apifyToken);
|
|
164
147
|
// Connect the transport to the MCP server BEFORE handling the request
|
|
165
148
|
await mcpServer.connect(transport);
|
|
166
149
|
// After handling the request, if we get a session ID back, store the transport
|
package/dist/actor/server.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"server.js","sourceRoot":"","sources":["../../src/actor/server.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,U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AAM,CAAC,GAAG,CAAC,CAAC,IAAI,CAAC,gCAAgC,CAAC,CAAC,GAAG,EAAE,CAAC;IACjE,CAAC,CAAC,CAAC;IAEH,iCAAiC;IACjC,GAAG,CAAC,GAAG,CAAC,CAAC,GAAY,EAAE,GAAa,EAAE,EAAE;QACpC,GAAG,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,IAAI,CAAC,EAAE,OAAO,EAAE,6BAA6B,GAAG,CAAC,MAAM,IAAI,GAAG,CAAC,WAAW,KAAK,cAAc,CAAC,IAAI,CAAC,EAAE,EAAE,CAAC,CAAC,GAAG,EAAE,CAAC;IACnI,CAAC,CAAC,CAAC;IAEH,OAAO,GAAG,CAAC;AACf,CAAC;AAED,gDAAgD;AAChD,SAAS,mBAAmB,CAAC,IAAa;IACtC,IAAI,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE,CAAC;QACtB,OAAO,IAAI,CAAC,IAAI,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,OAAO,GAAG,KAAK,QAAQ,IAAI,GAAG,KAAK,IAAI,IAAI,QAAQ,IAAI,GAAG,IAAI,GAAG,CAAC,MAAM,KAAK,YAAY,CAAC,CAAC;IACzH,CAAC;IACD,OAAO,OAAO,IAAI,KAAK,QAAQ,IAAI,IAAI,KAAK,IAAI,IAAI,QAAQ,IAAI,IAAI,IAAI,IAAI,CAAC,MAAM,KAAK,YAAY,CAAC;AACzG,CAAC"}
|
package/dist/const.d.ts
CHANGED
|
@@ -10,7 +10,7 @@ export declare enum HelperTools {
|
|
|
10
10
|
ACTOR_ADD = "add-actor",
|
|
11
11
|
ACTOR_CALL = "call-actor",
|
|
12
12
|
ACTOR_GET = "get-actor",
|
|
13
|
-
ACTOR_GET_DETAILS = "
|
|
13
|
+
ACTOR_GET_DETAILS = "fetch-actor-details",
|
|
14
14
|
ACTOR_REMOVE = "remove-actor",
|
|
15
15
|
ACTOR_RUNS_ABORT = "abort-actor-run",
|
|
16
16
|
ACTOR_RUNS_GET = "get-actor-run",
|
package/dist/const.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"const.d.ts","sourceRoot":"","sources":["../src/const.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,uBAAuB,OAAQ,CAAC;AAC7C,eAAO,MAAM,qBAAqB,MAAM,CAAC;AACzC,eAAO,MAAM,4BAA4B,MAAM,CAAC;AAEhD,eAAO,MAAM,kCAAkC,IAAI,CAAC;AAGpD,eAAO,MAAM,uBAAuB,OAAQ,CAAC;AAG7C,eAAO,MAAM,WAAW,qBAAqB,CAAC;AAC9C,eAAO,MAAM,cAAc,UAAU,CAAC;AAGtC,eAAO,MAAM,iBAAiB,sBAAsB,CAAC;AAErD,oBAAY,WAAW;IACnB,SAAS,cAAc;IACvB,UAAU,eAAe;IACzB,SAAS,cAAc;IACvB,iBAAiB,
|
|
1
|
+
{"version":3,"file":"const.d.ts","sourceRoot":"","sources":["../src/const.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,uBAAuB,OAAQ,CAAC;AAC7C,eAAO,MAAM,qBAAqB,MAAM,CAAC;AACzC,eAAO,MAAM,4BAA4B,MAAM,CAAC;AAEhD,eAAO,MAAM,kCAAkC,IAAI,CAAC;AAGpD,eAAO,MAAM,uBAAuB,OAAQ,CAAC;AAG7C,eAAO,MAAM,WAAW,qBAAqB,CAAC;AAC9C,eAAO,MAAM,cAAc,UAAU,CAAC;AAGtC,eAAO,MAAM,iBAAiB,sBAAsB,CAAC;AAErD,oBAAY,WAAW;IACnB,SAAS,cAAc;IACvB,UAAU,eAAe;IACzB,SAAS,cAAc;IACvB,iBAAiB,wBAAwB;IACzC,YAAY,iBAAiB;IAC7B,gBAAgB,oBAAoB;IACpC,cAAc,kBAAkB;IAChC,cAAc,kBAAkB;IAChC,kBAAkB,uBAAuB;IACzC,WAAW,gBAAgB;IAC3B,gBAAgB,qBAAqB;IACrC,iBAAiB,sBAAsB;IACvC,kBAAkB,uBAAuB;IACzC,wBAAwB,6BAA6B;IACrD,mBAAmB,wBAAwB;IAC3C,wBAAwB,6BAA6B;IACrD,0BAA0B,+BAA+B;IACzD,mBAAmB,0BAA0B;IAC7C,YAAY,kBAAkB;IAC9B,WAAW,sBAAsB;IACjC,UAAU,qBAAqB;CAClC;AAED,eAAO,MAAM,QAAQ;;CAIpB,CAAC;AAEF,eAAO,MAAM,6BAA6B,gEAAgE,CAAC;AAG3G,eAAO,MAAM,oBAAoB,MAAM,CAAC;AACxC,eAAO,MAAM,oBAAoB,QAAU,CAAC;AAC5C,eAAO,MAAM,yBAAyB,MAAM,CAAC;AAC7C,eAAO,MAAM,yBAAyB,QAAU,CAAC;AAEjD,eAAO,MAAM,mBAAmB;IAC5B,oBAAoB;;;IAGpB,kCAAkC;;IAElC,iCAAiC;;CAE3B,CAAC;AAEX;;;GAGG;AACH,eAAO,MAAM,wBAAwB,KAAK,CAAC;AAE3C,eAAO,MAAM,uBAAuB,SAAS,CAAC;AAE9C,eAAO,MAAM,OAAO;;;;CAInB,CAAC;AAEF,eAAO,MAAM,iCAAiC,OAAQ,CAAC;AAEvD,eAAO,MAAM,eAAe,sBAAsB,CAAC"}
|
package/dist/const.js
CHANGED
|
@@ -15,7 +15,7 @@ export var HelperTools;
|
|
|
15
15
|
HelperTools["ACTOR_ADD"] = "add-actor";
|
|
16
16
|
HelperTools["ACTOR_CALL"] = "call-actor";
|
|
17
17
|
HelperTools["ACTOR_GET"] = "get-actor";
|
|
18
|
-
HelperTools["ACTOR_GET_DETAILS"] = "
|
|
18
|
+
HelperTools["ACTOR_GET_DETAILS"] = "fetch-actor-details";
|
|
19
19
|
HelperTools["ACTOR_REMOVE"] = "remove-actor";
|
|
20
20
|
HelperTools["ACTOR_RUNS_ABORT"] = "abort-actor-run";
|
|
21
21
|
HelperTools["ACTOR_RUNS_GET"] = "get-actor-run";
|
package/dist/const.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"const.js","sourceRoot":"","sources":["../src/const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IACnB,KAAK,EAAE,YAAY;IACnB,MAAM,EAAE,kCAAkC,EAAE,+BAA+B;IAC3E,SAAS,EAAE,qBAAqB;CACnC,CAAC;AAEF,MAAM,CAAC,MAAM,iCAAiC,GAAG,IAAK,CAAC,CAAC,YAAY;AAEpE,MAAM,CAAC,MAAM,eAAe,GAAG,mBAAmB,CAAC"}
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import { defaults, HelperTools } from './const.js';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { processParamsGetTools } from './mcp/utils.js';
|
|
3
|
+
import { addTool } from './tools/helpers.js';
|
|
4
|
+
import { defaultTools, getActorsAsTools, toolCategories, toolCategoriesEnabledByDefault } from './tools/index.js';
|
|
4
5
|
import { actorNameToToolName } from './tools/utils.js';
|
|
5
6
|
import type { ToolCategory } from './types.js';
|
|
6
|
-
import { getToolPublicFieldOnly } from './utils/tools.js';
|
|
7
|
-
|
|
7
|
+
import { getExpectedToolNamesByCategories, getToolPublicFieldOnly } from './utils/tools.js';
|
|
8
|
+
import { TTLLRUCache } from './utils/ttl-lru.js';
|
|
9
|
+
export { getExpectedToolNamesByCategories, TTLLRUCache, actorNameToToolName, HelperTools, defaults, defaultTools, addTool, toolCategories, toolCategoriesEnabledByDefault, type ToolCategory, processParamsGetTools, getActorsAsTools, getToolPublicFieldOnly, };
|
|
8
10
|
//# sourceMappingURL=index-internals.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index-internals.d.ts","sourceRoot":"","sources":["../src/index-internals.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AACnD,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"index-internals.d.ts","sourceRoot":"","sources":["../src/index-internals.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AACnD,OAAO,EAAE,qBAAqB,EAAE,MAAM,gBAAgB,CAAC;AACvD,OAAO,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAC7C,OAAO,EAAE,YAAY,EAAE,gBAAgB,EAAE,cAAc,EAAE,8BAA8B,EAAE,MAAM,kBAAkB,CAAC;AAClH,OAAO,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAC/C,OAAO,EAAE,gCAAgC,EAAE,sBAAsB,EAAE,MAAM,kBAAkB,CAAC;AAC5F,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAEjD,OAAO,EACH,gCAAgC,EAChC,WAAW,EACX,mBAAmB,EACnB,WAAW,EACX,QAAQ,EACR,YAAY,EACZ,OAAO,EACP,cAAc,EACd,8BAA8B,EAC9B,KAAK,YAAY,EACjB,qBAAqB,EACrB,gBAAgB,EAChB,sBAAsB,GACzB,CAAC"}
|
package/dist/index-internals.js
CHANGED
|
@@ -2,9 +2,11 @@
|
|
|
2
2
|
This file provides essential internal functions for Apify MCP servers, serving as an internal library.
|
|
3
3
|
*/
|
|
4
4
|
import { defaults, HelperTools } from './const.js';
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
5
|
+
import { processParamsGetTools } from './mcp/utils.js';
|
|
6
|
+
import { addTool } from './tools/helpers.js';
|
|
7
|
+
import { defaultTools, getActorsAsTools, toolCategories, toolCategoriesEnabledByDefault } from './tools/index.js';
|
|
7
8
|
import { actorNameToToolName } from './tools/utils.js';
|
|
8
|
-
import { getToolPublicFieldOnly } from './utils/tools.js';
|
|
9
|
-
|
|
9
|
+
import { getExpectedToolNamesByCategories, getToolPublicFieldOnly } from './utils/tools.js';
|
|
10
|
+
import { TTLLRUCache } from './utils/ttl-lru.js';
|
|
11
|
+
export { getExpectedToolNamesByCategories, TTLLRUCache, actorNameToToolName, HelperTools, defaults, defaultTools, addTool, toolCategories, toolCategoriesEnabledByDefault, processParamsGetTools, getActorsAsTools, getToolPublicFieldOnly, };
|
|
10
12
|
//# sourceMappingURL=index-internals.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index-internals.js","sourceRoot":"","sources":["../src/index-internals.ts"],"names":[],"mappings":"AAAA;;EAEE;AAEF,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AACnD,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"index-internals.js","sourceRoot":"","sources":["../src/index-internals.ts"],"names":[],"mappings":"AAAA;;EAEE;AAEF,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AACnD,OAAO,EAAE,qBAAqB,EAAE,MAAM,gBAAgB,CAAC;AACvD,OAAO,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAC7C,OAAO,EAAE,YAAY,EAAE,gBAAgB,EAAE,cAAc,EAAE,8BAA8B,EAAE,MAAM,kBAAkB,CAAC;AAClH,OAAO,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAEvD,OAAO,EAAE,gCAAgC,EAAE,sBAAsB,EAAE,MAAM,kBAAkB,CAAC;AAC5F,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAEjD,OAAO,EACH,gCAAgC,EAChC,WAAW,EACX,mBAAmB,EACnB,WAAW,EACX,QAAQ,EACR,YAAY,EACZ,OAAO,EACP,cAAc,EACd,8BAA8B,EAE9B,qBAAqB,EACrB,gBAAgB,EAChB,sBAAsB,GACzB,CAAC"}
|
package/dist/input.d.ts
CHANGED
|
@@ -1,8 +1,16 @@
|
|
|
1
1
|
import type { Input } from './types.js';
|
|
2
|
+
export declare function toBoolean(value: unknown, defaultValue: boolean): boolean;
|
|
3
|
+
export declare function normalizeList(value: string | unknown[] | undefined): string[] | undefined;
|
|
2
4
|
/**
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
5
|
+
* Normalize user-provided input into a canonical `Input`.
|
|
6
|
+
*
|
|
7
|
+
* Responsibilities:
|
|
8
|
+
* - Coerce `actors`, `tools` from string/array into trimmed arrays ('' → []).
|
|
9
|
+
* - Normalize booleans (including legacy `enableActorAutoLoading`).
|
|
10
|
+
* - Merge `actors` into `tools` so selection lives in one place.
|
|
11
|
+
*
|
|
12
|
+
* Semantics passed to the loader:
|
|
13
|
+
* - `undefined` → use defaults; `[]` → explicitly none.
|
|
6
14
|
*/
|
|
7
15
|
export declare function processInput(originalInput: Partial<Input>): Input;
|
|
8
16
|
//# sourceMappingURL=input.d.ts.map
|
package/dist/input.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"input.d.ts","sourceRoot":"","sources":["../src/input.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"input.d.ts","sourceRoot":"","sources":["../src/input.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,KAAK,EAAgB,MAAM,YAAY,CAAC;AAItD,wBAAgB,SAAS,CAAC,KAAK,EAAE,OAAO,EAAE,YAAY,EAAE,OAAO,GAAG,OAAO,CAKxE;AAGD,wBAAgB,aAAa,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,EAAE,GAAG,SAAS,GAAG,MAAM,EAAE,GAAG,SAAS,CAMzF;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,YAAY,CAAC,aAAa,EAAE,OAAO,CAAC,KAAK,CAAC,GAAG,KAAK,CAqCjE"}
|
package/dist/input.js
CHANGED
|
@@ -1,34 +1,78 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* Actor input processing.
|
|
3
|
+
*
|
|
4
|
+
* Normalizes raw inputs (CLI/env/HTTP) into a consistent `Input` shape.
|
|
5
|
+
* No tool-loading is done here; we only canonicalize values and preserve
|
|
6
|
+
* intent via `undefined` (use defaults later) vs empty (explicitly none).
|
|
3
7
|
*/
|
|
4
8
|
import log from '@apify/log';
|
|
9
|
+
// Helpers
|
|
10
|
+
// Normalize booleans that may arrive as strings or be undefined.
|
|
11
|
+
export function toBoolean(value, defaultValue) {
|
|
12
|
+
if (value === undefined)
|
|
13
|
+
return defaultValue;
|
|
14
|
+
if (typeof value === 'boolean')
|
|
15
|
+
return value;
|
|
16
|
+
if (typeof value === 'string')
|
|
17
|
+
return value.toLowerCase() === 'true';
|
|
18
|
+
return defaultValue;
|
|
19
|
+
}
|
|
20
|
+
// Normalize lists from comma-separated strings or arrays.
|
|
21
|
+
export function normalizeList(value) {
|
|
22
|
+
if (value === undefined)
|
|
23
|
+
return undefined;
|
|
24
|
+
if (Array.isArray(value))
|
|
25
|
+
return value.map((s) => String(s).trim()).filter((s) => s !== '');
|
|
26
|
+
const trimmed = String(value).trim();
|
|
27
|
+
if (trimmed === '')
|
|
28
|
+
return [];
|
|
29
|
+
return trimmed.split(',').map((s) => s.trim()).filter((s) => s !== '');
|
|
30
|
+
}
|
|
5
31
|
/**
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
*
|
|
32
|
+
* Normalize user-provided input into a canonical `Input`.
|
|
33
|
+
*
|
|
34
|
+
* Responsibilities:
|
|
35
|
+
* - Coerce `actors`, `tools` from string/array into trimmed arrays ('' → []).
|
|
36
|
+
* - Normalize booleans (including legacy `enableActorAutoLoading`).
|
|
37
|
+
* - Merge `actors` into `tools` so selection lives in one place.
|
|
38
|
+
*
|
|
39
|
+
* Semantics passed to the loader:
|
|
40
|
+
* - `undefined` → use defaults; `[]` → explicitly none.
|
|
9
41
|
*/
|
|
10
42
|
export function processInput(originalInput) {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
43
|
+
// Normalize actors (strings and arrays) to a clean array or undefined
|
|
44
|
+
const actors = normalizeList(originalInput.actors);
|
|
45
|
+
// Map deprecated flag to the new one and normalize both to boolean.
|
|
46
|
+
let enableAddingActors;
|
|
47
|
+
if (originalInput.enableAddingActors === undefined && originalInput.enableActorAutoLoading !== undefined) {
|
|
48
|
+
log.warning('enableActorAutoLoading is deprecated, use enableAddingActors instead');
|
|
49
|
+
enableAddingActors = toBoolean(originalInput.enableActorAutoLoading, false);
|
|
50
|
+
}
|
|
51
|
+
else {
|
|
52
|
+
enableAddingActors = toBoolean(originalInput.enableAddingActors, false);
|
|
15
53
|
}
|
|
16
|
-
//
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
54
|
+
// Normalize tools (strings/arrays) to a clean array or undefined
|
|
55
|
+
let tools = normalizeList(originalInput.tools);
|
|
56
|
+
// Merge actors into tools. If tools undefined → tools = actors, then remove actors;
|
|
57
|
+
// otherwise append actors to tools.
|
|
58
|
+
// NOTE (future): Actor names contain '/', unlike internal tool names or categories. We could use that to differentiate between the two.
|
|
59
|
+
if (Array.isArray(actors) && actors.length > 0) {
|
|
60
|
+
if (tools === undefined) {
|
|
61
|
+
tools = [...actors];
|
|
21
62
|
}
|
|
22
63
|
else {
|
|
23
|
-
|
|
64
|
+
const currentTools = Array.isArray(tools)
|
|
65
|
+
? tools
|
|
66
|
+
: [tools];
|
|
67
|
+
tools = [...currentTools, ...actors];
|
|
24
68
|
}
|
|
25
69
|
}
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
70
|
+
// Return a new object with all properties explicitly defined
|
|
71
|
+
return {
|
|
72
|
+
...originalInput,
|
|
73
|
+
actors: Array.isArray(actors) && actors.length > 0 && tools !== undefined ? undefined : actors,
|
|
74
|
+
enableAddingActors,
|
|
75
|
+
tools,
|
|
76
|
+
};
|
|
33
77
|
}
|
|
34
78
|
//# sourceMappingURL=input.js.map
|
package/dist/input.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"input.js","sourceRoot":"","sources":["../src/input.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"input.js","sourceRoot":"","sources":["../src/input.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,GAAG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_a = (await Actor.getInput())) !== null && _a !== void 0 ? _a : {});
|
|
20
20
|
log.info('Loaded input', { input: JSON.stringify(input) });
|
|
21
21
|
if (STANDBY_MODE) {
|
|
22
|
-
|
|
23
|
-
//
|
|
24
|
-
|
|
25
|
-
// Load only Actors specified in the input
|
|
26
|
-
// If you wish to start without any Actor, create a task and leave the input empty
|
|
27
|
-
if (input.actors && input.actors.length > 0) {
|
|
28
|
-
const { actors } = input;
|
|
29
|
-
actorsToLoad = Array.isArray(actors) ? actors : actors.split(',');
|
|
30
|
-
}
|
|
31
|
-
// Include Actors to load in the MCP server options for backwards compatibility
|
|
32
|
-
const app = createExpressApp(HOST, {
|
|
33
|
-
enableAddingActors: Boolean(input.enableAddingActors),
|
|
34
|
-
enableDefaultActors: false,
|
|
35
|
-
actors: actorsToLoad,
|
|
36
|
-
});
|
|
22
|
+
// In standby mode, actors and tools are provided via URL query params per request
|
|
23
|
+
// Start express app
|
|
24
|
+
const app = createExpressApp(HOST);
|
|
37
25
|
log.info('Actor is running in the STANDBY mode.');
|
|
38
26
|
app.listen(PORT, () => {
|
|
39
27
|
log.info('Actor web server listening', { host: HOST, port: PORT });
|
package/dist/main.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"main.js","sourceRoot":"","sources":["../src/main.ts"],"names":[],"mappings":"AAAA;;;GAGG;;AAEH,OAAO,EAAE,KAAK,EAAE,MAAM,OAAO,CAAC;AAG9B,OAAO,GAAG,MAAM,YAAY,CAAC;AAE7B,OAAO,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AACrD,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAC1C,OAAO,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAGvD,MAAM,YAAY,GAAG,KAAK,CAAC,MAAM,EAAE,CAAC,UAAU,KAAK,SAAS,CAAC;AAE7D,MAAM,KAAK,CAAC,IAAI,EAAE,CAAC;AAEnB,MAAM,IAAI,GAA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