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
- It exports `configSchema` and a default sync function returning the MCP server instance.
5
+
- On startup, if `apifyToken`/`APIFY_TOKEN` is provided, tools load asynchronously and the first `listTools` is gated via a one-time barrier (`blockListToolsUntil`).
6
+
- If no token is provided, tools are loaded with placeholder token `PLACEHOLDER_TOKEN` to allow the server to start without real secrets.
7
+
8
+
Run with Smithery:
9
+
10
+
```bash
11
+
npx @smithery/cli build
12
+
# optional, recommended for actors
13
+
export APIFY_TOKEN="your-apify-token"
14
+
npx @smithery/cli dev
15
+
```
16
+
17
+
Notes:
18
+
- The barrier is used only by Smithery; stdio/SSE/HTTP flows are unaffected.
19
+
- We use a placeholder token (`your-apify-token`) in non-interactive environments (Smithery scans) to allow tool-loading paths to run without real secrets. It does not grant access; when detected, the client runs unauthenticated to let the server start and list tools where possible.
0 commit comments