-
Notifications
You must be signed in to change notification settings - Fork 130
docs: overhaul mcp docs #1927
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docs: overhaul mcp docs #1927
Conversation
Stremline the prose for clarity & conciseness Remove outdated SSE section Restructure the content Adjusted description in frontmatter
Preview for this PR was built for commit |
Preview for this PR was built for commit |
Preview for this PR was built for commit |
Preview for this PR was built for commit |
Preview for this PR was built for commit |
Preview for this PR was built for commit |
@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 |
There was a problem hiding this 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 |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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"
There was a problem hiding this comment.
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 👍
There was a problem hiding this comment.
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. |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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. |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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
Co-authored-by: Jakub Kopecký <themq37@gmail.com>
Preview for this PR was built for commit |
There was a problem hiding this 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. |
There was a problem hiding this comment.
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. |
There was a problem hiding this comment.
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
@TC-MO I really like the changes you did, would you have time to finish it this week 🙏🏻 . Before MPC summit in London? |
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? |
Yeah, that would be great! |
Preview for this PR was built for commit |
Co-authored-by: Jiří Spilka <jiri.spilka@apify.com>
Preview for this PR was built for commit |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for the rework - great job 👍 Please merge the #1932 and then LGTM
Oh! So sorry! I completely forgot about that PR, will take a look ASAP |
|
||
:::tip One-click installation | ||
|
||
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. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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. | |
Download and run the [Apify MCP Server MCPB file](https://github.com/apify/actors-mcp-server/releases/latest/download/apify-mcp-server.mcpb) for one-click installation. |
I forgot to update the link and DXT was rebranded to MCP bundles (MCPB)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FYI @TC-MO
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, I also forgot about this
Add `get-actor-output` tools info and merge into the #1927 <!-- CURSOR_SUMMARY --> --- > [!NOTE] > Documents a new `get-actor-output` tool for retrieving full Actor outputs, with a note on automatic inclusion, datasetId usage, and pagination/field filtering. > > - **Docs (MCP server)**: > - **New tool**: Add `get-actor-output` entry to the Available tools table. > - **Usage note**: Explain that it’s auto-included with Actor tools (e.g., `call-actor`, `add-actor`), used to fetch full output via `datasetId`, and supports limit/offset/field filtering. > > <sup>Written by [Cursor Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit a46162b. This will update automatically on new commits. Configure [here](https://cursor.com/dashboard?tab=bugbot).</sup> <!-- /CURSOR_SUMMARY --> --------- Co-authored-by: Michał Olender <92638966+TC-MO@users.noreply.github.com>
Preview for this PR was built for commit |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I did a quick pass, looks good to me. Thanks!
let's merge away then! |
Stremline the prose for clarity & conciseness
Remove outdated SSE section
Restructure the content
Adjusted description in frontmatter
Note
Restructures MCP docs with tabbed OAuth/Bearer client configs (Cursor, VS Code, Claude), adds tool selection and advanced/troubleshooting sections, updates links/frontmatter, and removes legacy SSE guidance.
Cursor
,VS Code
, andClaude Desktop
usingTabs
.tools
query/CLI flags with minimal and default examples; add UI configurator link.get-actor-output
tool and note on retrieving full outputs.toc_max_heading_level: 4
.apify/apify-mcp-server
.Written by Cursor Bugbot for commit 71640ce. This will update automatically on new commits. Configure here.