Assets
Add an asset
Save a web app, an MCP server or an API doc on the Assets page, choose its environment, confirm ownership of production assets, and share it with your organization.
The Assets page keeps a list of everything your organization scans and tests: web apps, MCP servers and API docs. Save an asset once and you, or your teammates, can use it again later without typing its address or credentials. This article covers web apps and MCP servers, which Guardian can also confirm you own. An API doc is saved the same way, from its URL. Its environment is declared by you, Guardian doesn't verify it, and it has no ownership step.
Find the Assets page
Select Assets in the sidebar. The page has one table, split into two groups:
- Shared assets lists the assets everyone in your organization can see and use.
- My assets lists the assets only you can see.
The Type column says whether a row is a Web app, an MCP server or an API doc, and the Environment column shows the environment it was saved with.
Who can do what
- Admins, Managers, Engineers and Security members can add, edit, share, stop sharing and delete assets, and confirm ownership of production ones. They can also scan.
- Compliance members and Viewers can view the shared assets. They can't add, edit, share or verify, and the page tells them so. They can delete an asset of their own in My assets.
- The CLI command button is shown only for local web apps, and only to roles that can scan: Admins, Managers, Engineers and Security members.
How Guardian recognizes what you paste
The Add asset dialog has one field, URL or JSON configuration. Paste an address or a configuration and Guardian works out what it is. The dialog shows Detected: Web app, Detected: MCP server or Detected: API doc. If it guessed wrong, use Change type to pick another one. Your choice wins.
Guardian reads only the text you paste. It never fetches the address, and it sends nothing anywhere to work out the type. The backend still validates the asset for the type you save it as.
- JSON with
mcpServersorserversis an MCP server configuration. Any other JSON is also taken as an MCP server. - A URL whose path ends in
/mcpor/sseis an MCP server. - An API doc URL is an API doc: an
openapi,swaggerorasyncapifile,/v2/api-docsor/v3/api-docs, a Postman collection, a.ramlfile, or a Swagger UI, Redoc, RapiDoc or Scalar docs page. - Any other address is a web app.
If you paste the spec itself (OpenAPI, Swagger or AsyncAPI as JSON or YAML, or RAML), Guardian recognizes it as an API doc but doesn't store it. Paste the spec's URL instead. If JSON looks like both an MCP server configuration and an API doc, the dialog asks you to choose. When you edit a saved asset, its type is fixed.
Add a web app
Guardian's cloud scans only production web apps. A local web app is saved here too, and you scan it from your own machine with the CLI.
- Select Add asset.
- Enter a Name, which is how the web app appears in your lists.
- Choose an Environment: Dev, QA, Stage or Prod, or Add custom label… to type your own. Choose Prod only if it is a live web app on the public internet.
- In URL or JSON configuration, enter the URL. Use only the scheme, host and optional port, such as
https://www.example.comorhttp://localhost:3000. A path, query or credentials are not part of a saved web app. Guardian shows Detected: Web app; see How Guardian recognizes what you paste. - Select Save asset. The web app appears in My assets, so only you can see it until you share it.
Each address can be saved once. If it is already saved, Guardian says so. You can keep up to 50 web apps of your own in My assets and 100 in Shared assets.
Local and production web apps
A web app saved with the Prod environment is a production web app: a live web app on the public internet, on port 80 or 443. Guardian can fetch it, so you can run a Web App Scan on it from Guardian.
A web app saved with any other environment is a local web app, such as http://localhost:3000 or a staging site. Guardian never contacts it. It is saved so you can find it again, and you scan it from your own machine with the CLI (see Scan a local web app from the CLI).
To change a web app later, select Edit on its row and change its Environment. Switching to or from Prod resets the web app's ownership, and unmarking production also deletes its saved digest.
Confirm ownership of a production web app
A new production web app shows the Read-only chip until its ownership is confirmed. While it is Read-only, Guardian runs only the passive scan: it reads the web app's standard public files (such as robots.txt, sitemap.xml and llms.txt), the homepage and up to two linked pages. A full scan also follows the sitemaps and links within the web app's scope. It runs only when the web app's ownership is confirmed and your plan includes web app scanning, and Guardian picks the right scan for you when you start one. If ownership is lost while a full scan is running, that scan fails instead of becoming a passive one.
Once ownership is confirmed the Read-only chip disappears, so a production web app without it is confirmed (there is no separate confirmed chip in the list).
Confirmation is reset when you change the web app's environment away from Prod, when the web app opts out of scanning, and, for an email-domain confirmation, when no member has that domain any more. A file-based confirmation holds only while your plan includes web app scanning.
- Select Confirm ownership on the web app's row.
- Choose how to prove it:
- A file on the web app. Serve a plain-text file at the address shown, whose whole body is the line shown. Use https, answer with status 200, and don't redirect. This covers the exact host only.
- Email domain of a member. This works when an active member of your organization has an email address on the same registrable domain as the web app. There is nothing to publish.
- Select Verify now.
If Guardian can't find what it needs or can't reach the web app, the dialog says so. Try again after fixing the file or later. Ownership needs a paid plan and an address Guardian can confirm.
Share a web app
A web app you add lands in My assets, where only you can see it.
- Share with everyone. Select it on a row in My assets, then confirm. The web app moves to Shared assets, and everyone in your organization can see it and scan it.
- Stop sharing. Select it on a row in Shared assets, then confirm. The web app goes back to the member who added it. Scans other members started are no longer visible to them, and an ownership confirmation made by another member is reset.
Admins, Managers, Engineers and Security members can share and stop sharing.
Edit or delete a web app
Select Edit to change the name or the Environment. Select Delete to remove a web app. Deleting also deletes its saved digest and entity maps, and it can't be undone.
Before you add an MCP server
A saved MCP server keeps a server's address and credentials so you don't paste them again. Add one on the Assets page, then confirm ownership if you want tests to call tools that change data.
- Who can change saved servers. Admins, Managers, Engineers and Security members can add, edit, delete and verify saved servers. Other roles can view them only.
- Shared or private. A server you add on this page is saved to My assets, so only you can see it. Select Share with everyone to move it to Shared assets. Then teammates who can run scans and tests use the credentials you saved without seeing them. Servers the CLI saves after a test are also private to you until you share them. A stdio server, or a save that matches a server that is already shared, stays shared. See Private and shared servers.
- Secrets are stored encrypted. Header values and the full address you entered are stored encrypted. The name and the address, without credential-named query values, are also kept readable so they can be listed. When you edit a server you see the secrets you typed yourself; your teammates see
••••••••in place of header values. The server's address stays visible to everyone in your organization, so put tokens in the headers, not in the URL's path or query.
Add an MCP server
- Select Add asset.
- Enter a Name, which is the name the server goes by in your lists and history. If you paste a JSON configuration that names the server, the name is taken from the JSON.
- Choose an Environment. Choose Prod if this is a deployed endpoint.
- In URL or JSON configuration, paste the server's URL, or its JSON configuration, such as
{"mcpServers":{"github":{"url":"https://example.com/mcp","headers":{"Authorization":"Bearer <token>"}}}}. Put tokens in the headers, not in the URL. Guardian shows Detected: MCP server. - Optionally check Set as CLI default. This option is for roles that can run tests, and it works for a single http server. See Add your first MCP server for what it does.
- Select Save asset. The server appears in My assets.
Saving a production server may make Guardian contact it right away to check ownership, and Guardian may send the credentials you saved. This can take a few seconds.
Production and development servers
Only saved servers with the Prod environment can be scanned or tested from Guardian. Guardian never contacts a server with any other environment when you save it. Test those from your own machine with the CLI.
To promote a development server later, select Edit, change its Environment to Prod, and save.
Ownership states
Each production server shows one of three chips. The Production chip appears once ownership is confirmed:
- Read-only: until you confirm ownership, tests skip every tool that Guardian judges could change data, based on the tool's annotations, name and description.
- Production: ownership is confirmed. Tests may call tools that change data. Safe mode is still on by default; each member who runs tests switches it off for themselves on each server.
- Blocked: Guardian won't run this server.
How ownership is confirmed
Guardian checks ownership when you save a production server and again when you select Verify now. Test runs only read the stored result. Only servers with an https address can be confirmed.
Your company's email domain. If the server's address is under the same domain as the email address of an active member of your organization (for example, a member at example.com covers mcp.eu.example.com), ownership is confirmed automatically once Guardian reaches the server. No paid plan or terms are needed.
Any other production server needs a paid plan and an Admin's acceptance of the mutable-tests terms, and then one proof:
- Serve a file. Make the File address shown under Confirm ownership (usually
https://<your-host>/.well-known/guardian-verification) return exactlygdn-verify=<your-code>as the whole body, with status 200, over https and with no redirect. For example, in nginx:
location = /.well-known/guardian-verification {
default_type text/plain;
return 200 'gdn-verify=<your-code>';
}
- Add a line to the server's instructions. Put a line that is exactly
gdn-verify=<your-code>in theinstructionsyour MCP server returns frominitialize. Guardian asks without your credentials, so the server must return these instructions to aninitializerequest that carries no credentials. This doesn't count on multi-tenant SaaS hosts. - Credential check. This is automatic when you saved a credential, and needs no setup. It doesn't run on multi-tenant SaaS or shared hosting hosts, or when the URL's path looks like it holds a key. Guardian confirms that the server refuses a request with no credential and a request with a random credential (401 or 403), and only then sends the credential you saved.
To confirm a server:
- Select Confirm ownership on the server's row. Saving a server doesn't open it.
- Copy the Verification code. It is the value you publish on your server to prove you own it, not a credential to give Guardian. It is shown once, so copy it before you close the dialog. Show a new code replaces it, and a code expires after 30 days. Only an Admin or the member who entered the server's credentials can get a code.
- Set up a proof.
- Select Verify now.
When ownership is checked again
Saving any change to a server, including its credentials or its environment, sets it back to Read-only (until you confirm ownership) and turns Safe mode back on. Guardian then checks it again right away. Guardian staff can also block a server.
Verify now results
- Ownership confirmed. The server is confirmed and shows the Production chip.
- Guardian didn't find the verification code. Check the file or the instructions, then try again.
- Guardian couldn't reach the server. Try again later.
- Not everything is in place yet. Unless the server is on your company's email domain, it needs a paid plan, an Admin's acceptance of the mutable-tests terms, and an https address that can be confirmed.
- The owner of this server has opted out. Guardian can't confirm it.
- This server is blocked. Guardian won't run it.
If you own a server and don't want it tested
If you own a server and don't want Guardian to run tests that change data against it, serve the body deny at https://<your-host>/.well-known/guardian-verification with status 200 and no redirect. Guardian then won't confirm ownership of that server, so its customers can't run tests that change data on it. Guardian may still save it and run read-only checks. To stop all traffic, or if the server is already confirmed, see Report Guardian traffic.