|
/ Documentation /AI Ready/ How to Publish Agent Discovery Files in SureRank

How to Publish Agent Discovery Files in SureRank

Agent Discovery is a SureRank screen with one switch for each file that an AI agent looks for to learn what a site offers and how to use it. This doc shows how to turn the files on and off, what each one contains, and how to check that a file is published.

Requirements

What Agent Discovery Does

This section explains what the switches publish and how the files are built.

Each file is built from what the site really has. Nothing describes a sign-in system that WordPress does not have, and there is nothing to fill in. All seven switches are off until they are turned on.

Most files are published at addresses under /.well-known/ on the domain of the site. An agent reads these addresses without being told where to look.

How to Turn On Agent Discovery Files

If you’re looking to let AI agents discover what a site offers, follow the steps below.

  1. In your WordPress dashboard, go to SureRank → AI Ready → Agent Discovery.
  2. Turn on the switch for each file you want to publish.
  3. Click Save. The message “Settings updated” appears.

The Agent Discovery item in the left menu opens the screen. Each of the seven switches publishes one file, and Save applies the changes. Each file can also be turned on with Fix It For Me in AI Ready Checks.

What Each Switch Publishes

This section lists each switch, the address it publishes, and what the file tells an agent.

  • Publish an API Catalog: Publishes /.well-known/api-catalog. The file tells agents where the REST API of the site lives. It is built from what WordPress already knows. Turning it on also adds an api-catalog link to the Link header of the home page.
  • Publish an MCP Server Card: Publishes /.well-known/mcp/server-card.json, and also serves the same card at /.well-known/mcp/server-cards.json and /.well-known/mcp.json. The card announces the MCP server of the site, so a client can find it without being given the address. It is served only while the MCP server is on and registered.
  • Publish an Agent Skills Index: Publishes /.well-known/agent-skills/index.json. The file lists short instruction files (SKILL.md) that an agent can follow to use the site, such as reading it as Markdown, using its API, or connecting to its MCP server. It is built from the features that are switched on, and each listed skill file is served at its own address under /.well-known/agent-skills/.
  • Publish an AI Catalog: Publishes /.well-known/ai-catalog.json. The file is one list of the API catalog, the MCP server card, the Agent Skills index, and llms.txt, whichever of them are on. It is not served while none of them are on. Turning it on also adds a <link rel=”ai-catalog”> tag to the head of the pages.
  • Publish auth.md: Publishes /auth.md. The file tells an agent how to sign in with a WordPress Application Password. It is served only while Application Passwords are available.
  • Offer WebMCP Tools: Publishes no file. It adds a small inline script to the pages. In a browser that supports WebMCP, the script lets an agent use two read-only tools: one searches the site, and one reads a page as Markdown while Markdown is on. The reading tool only opens addresses on the same site.
  • Publish a Personal Agent Protocol Manifest: Publishes /.well-known/poppy.json. The file names the site and its domain. It is informational only, and it uses the site title, so it is recommended to keep the site title set to the name of the organization behind the site.

How Files Depend on Each Other

Some files are served only when something else is on. This section lists the dependencies.

  • The AI catalog needs at least one of the API catalog, the MCP server card, the Agent Skills index, or llms.txt to be on.
  • The MCP server card needs the MCP server to be on. See the next section.
  • auth.md needs Application Passwords. WordPress offers them on sites that use HTTPS, and a plugin can turn them off.
  • The page-reading tool of WebMCP needs Markdown to be on under SureRank → AI Ready → Markdown.

How to Publish the MCP Server Card

The MCP server card needs the MCP server of SureRank, which needs the WordPress MCP Adapter plugin. Follow the steps below.

  1. Install and activate the WP MCP Adapter plugin. Go to SureRank → Tools → MCP, turn on Enable MCP, and click Download from GitHub in the warning that appears. Then go to Plugins → Add New → Upload Plugin, upload the downloaded file, and click Install Now and then Activate.
  2. Go back to SureRank → Tools → MCP. The warning is gone once the plugin is active.
  3. Make sure Enable MCP is on, and click Save.
  4. Go to SureRank → AI Ready → Agent Discovery, turn on Publish an MCP Server Card, and click Save.

The MCP item in the left menu opens the screen, and the Enable MCP switch with Save turns the MCP server on. For the steps to connect an AI client, see Enabling the AI (MCP) Integration and Connecting an AI Client.

How to Check That a File Is Published

After saving, each file can be opened in a browser. Follow the steps below.

  1. Open the address of the file in a browser, for example https://example.com/.well-known/agent-skills/index.json. Replace example.com with your domain.
  2. Confirm that the file loads and shows its content.

The file lists each skill with its name, a short description, the address of its skill file, and a digest of that file.

AI Ready Checks tests the same files. After saving, click Run Checks on SureRank → AI Ready → AI Ready Checks. The message on the row of each file that is published goes away. If nothing else is found, the row shows Passed.

How to Turn Off a File

To stop publishing a file, follow the steps below.

  1. Go to SureRank → AI Ready → Agent Discovery.
  2. Turn off the switch of the file.
  3. Click Save.

The address of the file then shows a “page not found” result. The files that list it also change: the AI catalog drops the entry, and the home page Link header drops the api-catalog link when the API catalog is turned off. Turning AI Ready off, or deactivating SureRank Pro, stops every file.

Expected Outcome

After saving, each file whose switch is on loads at its address, and its row in AI Ready Checks no longer shows its message after Run Checks. If nothing else is found, it shows Passed. A file whose switch is off returns “page not found”.

Notes and Limitations

  • Files under /.well-known/ can only be published at the root of a domain. A site installed in a subdirectory cannot publish them from SureRank.
  • Some servers and security plugins block /.well-known/ before WordPress runs. The address then shows an error such as 403 even though the switch is on. AI Ready Checks shows a row that says the address is not reaching SureRank, and its Help Me Fix button opens the guide with the steps. See How to Fix a 403 on /.well-known/ Addresses.
  • SureRank sends a noindex header with each file, so search engines do not index the files themselves.
  • SureRank sends each file with headers that ask caches not to keep a copy. If an old copy still appears after a change, clear the cache of the site and of any CDN.
  • WebMCP works only in browsers that support it.

Related Docs

FAQ

Are any files published by default?

No. All seven switches are off until they are turned on.

Why is the MCP Server Card switch on but the file not found?

The card is served only while the MCP server is on and registered. Check that the MCP Adapter plugin is active and that Enable MCP is on under SureRank → Tools → MCP, then click Run Checks.

Why does /auth.md show “page not found”?

Either the Publish auth.md switch is off, or Application Passwords are not available on the site. WordPress offers them on sites that use HTTPS, and a plugin can turn them off.

Do these files make AI assistants use the site?

No. The files tell an agent what the site offers and how to use it. Whether an agent reads them depends on the agent.

Was this doc helpful?
What went wrong?

We don't respond to the article feedback, we use it to improve our support content.

Need help? Contact Support
Table of Contents
Scroll to Top