Skip to content

Conversation

TC-MO
Copy link
Contributor

@TC-MO TC-MO commented Sep 15, 2025

Stremline the prose for clarity & conciseness
Remove outdated SSE section
Restructure the content
Adjusted description in frontmatter

Stremline the prose for clarity & conciseness
Remove outdated SSE section
Restructure the content
Adjusted description in frontmatter
@TC-MO TC-MO self-assigned this Sep 15, 2025
@TC-MO TC-MO added documentation Improvements or additions to documentation. t-docs Issues owned by technical writing team. labels Sep 15, 2025
@TC-MO TC-MO requested review from jirispilka and MQ37 September 15, 2025 20:39
@apify-service-account
Copy link

Preview for this PR was built for commit f72c67f0 and is ready at https://pr-1927.preview.docs.apify.com!

@apify-service-account
Copy link

Preview for this PR was built for commit 68d98c36 and is ready at https://pr-1927.preview.docs.apify.com!

@apify-service-account
Copy link

Preview for this PR was built for commit f8d417e4 and is ready at https://pr-1927.preview.docs.apify.com!

@apify-service-account
Copy link

Preview for this PR was built for commit 796dca20 and is ready at https://pr-1927.preview.docs.apify.com!

@apify-service-account
Copy link

Preview for this PR was built for commit ff851083 and is ready at https://pr-1927.preview.docs.apify.com!

@apify-service-account
Copy link

Preview for this PR was built for commit cd071cad and is ready at https://pr-1927.preview.docs.apify.com!

@TC-MO TC-MO marked this pull request as ready for review September 16, 2025 16:15
@TC-MO
Copy link
Contributor Author

TC-MO commented Sep 16, 2025

@jirispilka @MQ37 as discussed back in the office and in the issue #1777. This PR aims to improve MCP docs.

I've streamlined them and cleaned up legacy section, cleaned up the language, restructured them for better logical flow & clarity, and based on this discussion on slack I've added a new section describing how to add the MCP server to popular editors like VSC & Cursor & Claude Desktop. I think this is vast improvement over what we had, but all feedback is welcome. I'll also try to research how to create deeplinks like Stripe has in their docs for easy install in Cursor & VSC

Copy link
Contributor

@MQ37 MQ37 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice overhaul, thank you! Just a few comments regarding the content 👍

_Claude Desktop_: Download and run the [Apify MCP Server DXT file](https://github.com/apify/actors-mcp-server/releases/latest/download/apify-mcp-server.dxt) for one-click installation.
:::

#### Text editor configuration
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I know code is essentially text but I would call this Code editor configuration

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also Claude Desktop is not a text or code editor, so I would maybe just use "Client configuration"

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

BTW I like the DXT one click install block for the Claude desktop, that is really nice 👍

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yup, I admit Text editor config was a bit of placeholder but I do like Client configuration a lot thanks!

By default, the server is pre-configured with one Actor, `apify/rag-web-browser`, and several helper tools.
The MCP server loads an Actor's input schema and creates a corresponding MCP tool.
This allows the AI agent to know exactly what arguments to pass to the Actor and what to expect in return.
For development environments, you can run the MCP server locally. This approach gives you more control over the server configuration and is ideal for testing.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would not mention this in context of development envs but rather that this is alternative approach for client that do not support remote MCP servers using the url mcp.apify.com

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense, I'll rephrase

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agree with @MQ37

Also, this: "This approach gives you more control over the server configuration and is ideal for testing"
It does not give you more control over the server configuration. It just a different way of how to run it. Stdio might eventually die anyway

:::caution Important recommendation
- Always use the latest version of the server by appending `@latest` to your npm commands.
- Monitor your API usage through Apify Console to stay within your plan limits.
- For optimal performance, batch related operations when possible and use Actor webhooks for long-running tasks instead of polling for results.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can users somehow manage and use webhooks via MCP? I am not sure how would I do this myself since we do not support tasks. I would probably not mention this.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah I might have went overboard here, I'll remove it

@apify-service-account
Copy link

Preview for this PR was built for commit b7d83fef and is ready at https://pr-1927.preview.docs.apify.com!

Copy link
Contributor

@jirispilka jirispilka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@TC-MO great work! This is really a big improvement, love it ❤️

I left a couple of suggestions.

## Quick start

Before you start, make sure you have the following:
You can connect to the Apify MCP server in two ways: use our hosted service for a quick and easy setup, or run the server locally for development and testing.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here you write: "use our hosted service for a quick and easy setup, or run the server locally"

But then, just one line below, you have tittle "Streamable HTTP with OAuth".

Some users might not connected hosted service with Streamable HTTP with OAuth. I know it might be obvious, but still it would be able to reference it to remove some confusion.

By default, the server is pre-configured with one Actor, `apify/rag-web-browser`, and several helper tools.
The MCP server loads an Actor's input schema and creates a corresponding MCP tool.
This allows the AI agent to know exactly what arguments to pass to the Actor and what to expect in return.
For development environments, you can run the MCP server locally. This approach gives you more control over the server configuration and is ideal for testing.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agree with @MQ37

Also, this: "This approach gives you more control over the server configuration and is ideal for testing"
It does not give you more control over the server configuration. It just a different way of how to run it. Stdio might eventually die anyway

- **Apify documentation**: Search the Apify documentation and fetch specific documents to provide context to the AI.
- **Actor runs**: Get lists of your Actor runs, inspect their details, and retrieve logs.
- **Apify storage**: Access data from your datasets and key-value stores.
`https://mcp.apify.com?tools=actors,docs,apify/web-scraper`
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
`https://mcp.apify.com?tools=actors,docs,apify/web-scraper`
`https://mcp.apify.com?tools=actors,docs,apify/rag-web-browser`

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's not include apify/web-sraper . This is a universal scraper where you need to define custom pageFunction.

- For production deployments, explicitly specify which tools to load rather than relying on defaults. This ensures consistent behavior across updates:

As above, this exposes only the specified Actor (`apify/my-actor`) as a tool. No other tools will be available.
`npx @apify/actors-mcp-server --tools apify/web-scraper,apify/google-search-scraper`
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
`npx @apify/actors-mcp-server --tools apify/web-scraper,apify/google-search-scraper`
`https://mcp.apify.com?tools=actors,docs,apify/rag-web-browser`

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's use remote server for production

`npx @apify/actors-mcp-server --tools apify/web-scraper,apify/google-search-scraper`

:::caution Important recommendation
- Always use the latest version of the server by appending `@latest` to your npm commands.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- Always use the latest version of the server by appending `@latest` to your npm commands.
- For a local stdio server, always use the latest version of the server by appending `@latest` to your npm commands.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

or you have the same sentence in the Local environment setup so, perhaps, we can skip it here. To focus on remote server only.

@jirispilka
Copy link
Contributor

@TC-MO I really like the changes you did, would you have time to finish it this week 🙏🏻 . Before MPC summit in London?

@TC-MO
Copy link
Contributor Author

TC-MO commented Sep 29, 2025

Hey! Yes I planeed to have it done before my vacation but in the end this didn't work out. I'm just now sitting down to finish this and have it released by tomorrow. Will that work for you?

@jirispilka
Copy link
Contributor

Yeah, that would be great!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation. t-docs Issues owned by technical writing team.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants