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: sources/platform/actors/development/quick-start/build_with_ai.md
+51-1Lines changed: 51 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,8 +13,9 @@ toc_max_heading_level: 4
13
13
14
14
import { AGENTS_PROMPT } from "@site/src/utils/agents-prompt";
15
15
import PromptButton from "@site/src/components/PromptButton";
16
-
import InstallMCPButton from "@site/src/components/InstallMCPButton";
17
16
import copyForAI from "./images/copy-for-ai.png";
17
+
import Tabs from '@theme/Tabs';
18
+
import TabItem from '@theme/TabItem';
18
19
19
20
This guide provides best practices for building new Actors or improving existing ones using AI code generation and vibe coding tools such as Cursor, Claude Code, or Visual Studio Code, by providing the AI agents with the right instructions and context.
20
21
@@ -61,6 +62,55 @@ We have prepared the [Apify MCP server configuration](https://mcp.apify.com/), w
61
62
62
63
:::
63
64
65
+
<Tabs>
66
+
<TabItemvalue="cursor"label="Cursor">
67
+
68
+
To add Apify MCP server to Cursor manually:
69
+
70
+
1. Create or open the `.cursor/mcp.json` file.
71
+
1. Add the following to the configuration file:
72
+
73
+
```json
74
+
{
75
+
"mcpServers": {
76
+
"apify": {
77
+
"url": "https://mcp.apify.com/?tools=docs"
78
+
}
79
+
}
80
+
}
81
+
```
82
+
83
+
</TabItem>
84
+
<TabItem value="vscode" label="VS Code">
85
+
86
+
VS Code supports MCP through MCP-compatible extensions like _GitHub Copilot_, _Cline_, or _Roo Code_.
87
+
88
+
1. Install an MCP-compatible extension (e.g., GitHub Copilot, Cline).
89
+
1. Locate the extension's MCP settings or configuration file (often `mcp.json`).
90
+
- For _GitHub Copilot_: Run the **MCP: Open User Configuration** command.
91
+
- For _MCP-compatible extension_: Go to the MCP Servers tab in the extension interface.
92
+
1. Add the Apify server configuration:
93
+
94
+
```json
95
+
{
96
+
"mcpServers": {
97
+
"apify": {
98
+
"url": "https://mcp.apify.com/?tools=docs"
99
+
}
100
+
}
101
+
}
102
+
```
103
+
104
+
</TabItem>
105
+
<TabItem value="claude" label="Claude">
106
+
107
+
1. Go to **Settings** > **Connectors** in Claude.
108
+
1. Click **Add custom connector**.
109
+
1. Set the name to `Apify` and the URL to `https://mcp.apify.com/?tools=docs`.
110
+
1. When chatting, select the **+** button and choose the **Apify** connector to add documentation context.
111
+
112
+
</TabItem>
113
+
</Tabs>
64
114
## Provide context to assistants
65
115
66
116
Every page in the Apify documentation has a **Copy for LLM** button. You can use it to add additional context to your AI assistant, or even open the page in ChatGPT, Claude, or Perplexity and ask additional questions.
0 commit comments