Bulk Adding Docs

Clicking the ‘Add new doc’ button in the Features panel of Cursor Settings allows you to add a new docs URL to be indexed. If find that sometimes Cursor will spider multiple pages from this URL, but other times I find it does not.

For example, I’ll post the to URL documentation for an API and Cursor will index the first few pages, but not all pages in the documentation. I end up having to manually add each page in the documentation by clicking ‘Add new doc’ for every page.

Is there a way to bulk add multiple pages? Perhaps a config file where these pages can be added instead of having to press ‘Add new doc’ and use the UI for every page?

It’s not possible at the moment. Thanks for the feature request!

Out of interest, how many docs do you want to add? We’ve pre-indexed a lot of common docs so you shouldn’t have to add any popular/standard packages.

Also, which docs are you having trouble scraping?

Thanks so much for your quick reply …

As an example, this week I am building a business analytics dashboard for a new client. I need to integrate five different third-party APIs into my code. I’d like to add the documentation for all five API services to Cursor.

If the documentation is served in a way that Cursor cannot easily spider, I have to enter each page of of the five docs manually. Doing this from the modal pop launched from the Settings panel is not ideal.

A UI that allows me to more easily add multiple links at once would be ideal. I am envisioning an interface where I can add infinite rows before submitting. And I can also upload a CSV or paste the CSV into the first row of the UI and have it add all the rows needed for the data I’ve pasted. This would allow me to add pages much faster.

The docs for Airtable Extensions (Airtable Blocks SDK) is an example of documentation where I found Cursor unable to spider well and myself having to manually add several links. Another set of docs that Cursor could not spider are https://flowhub.stoplight.io/docs/public-developer-portal/4b402d5ab3edd-welcome.

I find the Docs support to be one of the most powerful features of the software, so I’d love to be able to manage the indexing more easily.

Had trouble with LangGraph (Python), although after trying later the same day it seemed to work.
This link: Home

1 Like