Skip to content

Commit ac81747

Browse files
authored
fix: Delete example clients, update Readme (#239)
fix: Delete clients (in examples). They are not used and outdated anyway. Also update README.md
1 parent 5799ebe commit ac81747

File tree

6 files changed

+17
-602
lines changed

6 files changed

+17
-602
lines changed

README.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,23 @@ https://mcp.apify.com?tools=apify/my-actor
210210

211211
This setup exposes only the specified Actor (`apify/my-actor`) as a tool. No other tools will be available.
212212

213+
### Backward compatibility
214+
215+
The v2 configuration preserves backward compatibility with v1 usage. Notes:
216+
217+
- `actors` param (URL) and `--actors` flag (CLI) are still supported.
218+
- Internally they are merged into `tools` selectors.
219+
- Examples: `?actors=apify/rag-web-browser``?tools=apify/rag-web-browser`; `--actors apify/rag-web-browser``--tools apify/rag-web-browser`.
220+
- `enable-adding-actors` (CLI) and `enableAddingActors` (URL) are supported but deprecated.
221+
- Prefer `tools=experimental` or including the specific tool `tools=add-actor`.
222+
- Behavior remains: when enabled with no `tools` specified, the server exposes only `add-actor`; when categories/tools are selected, `add-actor` is also included.
223+
- `enableActorAutoLoading` remains as a legacy alias for `enableAddingActors` and is mapped automatically.
224+
- Defaults remain compatible: when no `tools` are specified, the server loads `actors`, `docs`, and `apify/rag-web-browser`.
225+
- If any `tools` are specified, the defaults are not added (same as v1 intent for explicit selection).
226+
- `call-actor` is now included by default via the `actors` category (additive change). To exclude it, specify an explicit `tools` list without `actors`.
227+
228+
Existing URLs and commands using `?actors=...` or `--actors` continue to work unchanged.
229+
213230
### Prompts
214231

215232
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.

src/examples/clientSse.ts

Lines changed: 0 additions & 120 deletions
This file was deleted.

src/examples/clientStdio.ts

Lines changed: 0 additions & 89 deletions
This file was deleted.

0 commit comments

Comments
 (0)