Skip to content

MCP server

MCP (Model Context Protocol) is an open standard for connecting AI assistants to other services.

The Testomato MCP server lets an AI assistant use your Testomato account for you. Ask it about uptime, incidents and checks, or have it add, change, delete and run checks.

Ask your assistant what it can do with Testomato, and it lists the tools below.

Every Testomato plan supports MCP access, including the free trial. However, if you were invited to someone else's project and have no plan of your own, you can't use the MCP server.

To use the MCP, you need to create a personal access token.

Every client needs the same two things:

  • Server URL: https://testomato.com/api/mcp
  • Header: Authorization: Bearer <your-personal-access-token>
Terminal window
claude mcp add --transport http --scope user testomato https://testomato.com/api/mcp --header "Authorization: Bearer <token>"

--scope user makes the server available in all your projects.

Run MCP: Open User Configuration from the Command Palette and add the server. VS Code asks for your token when the server first starts and doesn't store it in the file.

{
"inputs": [
{
"type": "promptString",
"id": "testomato-token",
"description": "Testomato personal access token",
"password": true
}
],
"servers": {
"testomato": {
"type": "http",
"url": "https://testomato.com/api/mcp",
"headers": {"Authorization": "Bearer ${input:testomato-token}"}
}
}
}

The tools are available in Copilot Chat in Agent mode.

Add the server to ~/.codex/config.toml:

[mcp_servers.testomato]
url = "https://testomato.com/api/mcp"
http_headers = { "Authorization" = "Bearer <token>" }

You don't need to use the tool names. Ask in your own words, and the assistant picks the tool. Your client shows the tool name when it asks for permission to use it.

Read

Tool What it does
list_projects Lists your projects
get_project_status Shows a project and whether its site is up
list_tests Lists the checks in a project
get_project_areas Lists the check groups in a project
get_uptime Uptime percentage for a period
get_response_times Average, minimum and maximum response time for a period
list_incidents Incidents for a period, newest first

Write

Tool What it does
create_test Adds a check
update_test Changes a check's URL or name
delete_test Deletes a check, after you confirm
run_project_tests Runs a project's checks now, after you confirm

Write tools follow the same permissions and plan limits as the web app.

Before deleting a check or running checks, the assistant shows what will happen and waits for your confirmation, as a chat message or a dialog depending on your client.

Running checks only starts them, so the assistant can't tell you the results. Wait a few minutes, then ask about incidents to see what failed.

A check created through MCP gets one rule: the page returns HTTP status 200. To add or edit rules, for example a string check that the page contains Add to cart, use the web app.

Error Fix
Every request fails with 401 Your token expired or was revoked. Check the token.
"Your current plan does not include access to the Testomato API." Your account has no plan of its own. This happens when you were invited to someone else's project.
"Project … not found or not accessible." The ID is wrong, or your role in that project doesn't allow the action.
"Confirmation token expired." You confirmed after more than 2 minutes. Ask the assistant to try again.