Credentials. The scaffold step calls the Apify API with your key, so keep APIFY_CREDENTIALS_API_KEY out of committed files.
Who it is forA developer who wants to expose an existing Apify actor through Monid and skip hand-writing its input schema.
The problemWriting the input schema for an Apify actor by hand is slow and easy to get wrong.
The outcomeA generated schema/inputs.ts file for the actor, ready for review and commit.
What you need first
- Deno 2.x installed
- git installed to clone the repo
- A vendor API key for the provider you want to run live (for example TINYFISH_CREDENTIALS_API_KEY)
- An APIFY_CREDENTIALS_API_KEY if you use the Apify scaffold step
Steps
- Set
APIFY_CREDENTIALS_API_KEYin your shell - Run
deno task apify:scaffoldand supply the actor you want - Review the generated schema/inputs.ts file line by line
- Run
deno task check && deno task testand commit the result
Prompt for your agent
In the monid repo with APIFY_CREDENTIALS_API_KEY set, run deno task apify:scaffold for <actor name>, then review the generated schema/inputs.ts. Report any fields you would change before committing and whether deno task check passes.
Caveat. The scaffold only generates the input schema, so the provider and endpoint files still need to be written and reviewed by hand.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for monid-ai/monid and "Generate an Apify actor endpoint from its input schema"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer