Docs / AWS AgentCore
Use UrlDone with AWS AgentCore
UrlDone is a hosted URL check for coding agents. This page maps that MCP server onto Amazon Bedrock AgentCore using only what AWS publishes. We have not tested UrlDone on AgentCore. If AWS’s console or API differs from the quotes below, follow AWS.
What UrlDone does for an agent
Visible work is not done until check_url on the preview, staging, or production URL returns verdict=pass. The tool opens the live URL from the public internet in headless Chromium and returns compact JSON (HTTP status, console errors, failed requests, broken same-origin links, load time, screenshot, and plain-English expectations). If the verdict is fail, fix the app and re-check. If error.code is out_of_credits, hand the human top_up_url.
MCP endpoint
The UrlDone MCP server follows the MCP Streamable HTTP transport specification. POST JSON-RPC to:
https://urldone.dev/mcp
Authenticated calls send Authorization: Bearer <api_key>. GET on the same URL returns a JSON description (HTML if Accept: text/html). Spec: MCP Streamable HTTP.
Get a key
First call may omit the header and run create_account. Persist api_key. That mints a key with 20 free checks. No human form.
create_account({})
→ { "api_key": "ud_…", "free_checks_remaining": 20, "docs_url": "https://urldone.dev/llms.txt" }Register on AgentCore
AWS documents more than one way to attach an external remote MCP server. UrlDone is a public Streamable HTTP MCP endpoint that authenticates with an API key in a request header. The click-path in the AWS console is not spelled out in the pages we read, so this section quotes the documented APIs and points at AWS for the rest.
Connections (preview): public MCP endpoint
On 29 November 2026 AWS announced AgentCore Connections in preview: an administrator sets up a tool once; developers attach it to an AgentCore harness without handling credentials or Gateway resources. Administrators pick a connector from an AWS-maintained catalog (the AgentCore release notes list Atlassian, Bright Data, Exa, Firecrawl, GitHub, Linear, PagerDuty, Parallel, Smartsheet, Stripe, Tavily, and Zapier) or add a compatible public MCP endpoint. AgentCore handles routing, authentication, and tool execution. Private VPC targets and direct gateway control stay on AgentCore Gateway. Announcement: Simplified external tool integration for AgentCore harness is now available in preview. Developer Guide: Amazon Bedrock AgentCore. The release notes point to a topic titled “Connect harness agents to external tools with connections”; use that page in the AWS docs for the official console steps.
UrlDone is not in that catalog list. The public MCP endpoint to add is https://urldone.dev/mcp. AWS does not document the Connections form fields on the announcement page, so do not guess them here.
Harness remote_mcp tool
The harness can connect to any remote MCP endpoint by URL. Authenticate by sending request headers, or have the harness sign each request with SigV4. Pass tools at create, update, or invoke. AWS’s own example uses an Authorization header with a Bearer prefix, and a Token Vault ARN in a header that AgentCore Identity resolves at invocation time. UrlDone’s key goes in Authorization:
{
"type": "remote_mcp",
"name": "urldone",
"config": {
"remoteMcp": {
"url": "https://urldone.dev/mcp",
"headers": {
"Authorization": "Bearer ud_YOUR_KEY"
}
}
}
}To keep the key in AgentCore Identity instead of plain text, AWS documents substituting ${arn:...apikeycredentialprovider/...} as a header value; the ARN is resolved to the API key at invocation time. Their example uses an x-api-key header for that pattern. UrlDone still needs Authorization: Bearer <api_key>. How to combine a Bearer prefix with vault substitution is not spelled out on that page. Details: Tools — Amazon Bedrock AgentCore.
Gateway MCP server target
AgentCore Gateway can take a remote MCP server as a target. AWS documents this as CreateGatewayTarget with targetConfiguration.mcp.mcpServer.endpoint (required). The URL should be encoded; Gateway uses that same URL to invoke the server. The MCP server must advertise tools. Supported MCP protocol versions listed by AWS are 2026-07-28, 2025-11-25, 2025-06-18, and 2025-03-26. Listing mode is DEFAULT (sync via SynchronizeGatewayTargets) or DYNAMIC. Create/Update in DEFAULT mode also runs an implicit tools/list. Docs: MCP servers targets, Add targets to an existing AgentCore gateway, CreateGatewayTarget.
Outbound auth for an MCP server target, per AWS: none (not recommended), OAuth, IAM SigV4 (only when the MCP host natively verifies SigV4), or an API key credential provider in Amazon Bedrock AgentCore Identity in the same account and Region as the gateway. UrlDone uses an API key. AWS’s API key structure:
{
"targetConfiguration": {
"mcp": {
"mcpServer": {
"endpoint": "https://urldone.dev/mcp"
}
}
},
"credentialProviderConfigurations": [
{
"credentialProviderType": "API_KEY",
"credentialProvider": {
"apiKeyCredentialProvider": {
"providerArn": "arn:aws:bedrock-agentcore:REGION:ACCOUNT:token-vault/default/apikeycredentialprovider/YOUR_PROVIDER",
"credentialLocation": "HEADER",
"credentialParameterName": "Authorization",
"credentialPrefix": "Bearer "
}
}
}
]
}Field meanings from the CreateGatewayTarget reference: credentialLocation is where in the request the API key is placed (HEADER or QUERY_PARAMETER); credentialParameterName is the name used when sending the key; credentialPrefix is added to the key. UrlDone expects Authorization: Bearer <api_key>. Store the key in AgentCore Identity first. Console and CLI flags: Specify the authorization type and credentials to access the gateway target.
Example check_url
After the agent can see UrlDone’s tools, call check_url on the live URL. Same arguments over MCP or REST.
check_url({
"url": "https://preview.example.com/dashboard",
"expectations": ["Signed-in dashboard heading"]
})Example fail verdict (schema example, not a live UrlDone metric, not an AgentCore run):
{
"verdict": "fail",
"reasons": [
"1 console error(s)",
"1 failed request(s)",
"1 broken same-origin link(s)",
"1 expectation(s) failed"
],
"http_status": 200,
"load_ms": 842,
"console_errors": [
{
"type": "error",
"text": "Uncaught TypeError: Cannot read properties of null (reading 'map')"
}
],
"failed_requests": [
{
"url": "https://preview.example.com/api/me",
"method": "GET",
"status": 500
}
],
"broken_links": [
{
"url": "https://preview.example.com/settings",
"status": 404
}
],
"expectations": [
{
"text": "Signed-in dashboard heading",
"pass": false,
"why": "Visible heading is still \"Log in\", not the dashboard."
}
],
"screenshot_url": "https://blob.vercel-storage.com/checks/example.jpg",
"credits_remaining": 0,
"free_checks_remaining": 19,
"internal": false
}If verdict is fail, fix the app from that JSON, then re-check. Only after verdict=pass may the agent report done.