Skip to content

Commit b22ffcf

Browse files
docs: edit build with AI page to reflect changes in MCP (#2119)
1 parent 293ea44 commit b22ffcf

File tree

3 files changed

+51
-81
lines changed

3 files changed

+51
-81
lines changed

sources/platform/actors/development/quick-start/build_with_ai.md

Lines changed: 51 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,9 @@ toc_max_heading_level: 4
1313

1414
import { AGENTS_PROMPT } from "@site/src/utils/agents-prompt";
1515
import PromptButton from "@site/src/components/PromptButton";
16-
import InstallMCPButton from "@site/src/components/InstallMCPButton";
1716
import copyForAI from "./images/copy-for-ai.png";
17+
import Tabs from '@theme/Tabs';
18+
import TabItem from '@theme/TabItem';
1819

1920
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.
2021

@@ -61,6 +62,55 @@ We have prepared the [Apify MCP server configuration](https://mcp.apify.com/), w
6162

6263
:::
6364

65+
<Tabs>
66+
<TabItem value="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>
64114
## Provide context to assistants
65115

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

src/components/InstallMCPButton.jsx

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

src/components/InstallMCPButton.module.css

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

0 commit comments

Comments
 (0)