MCP Server Quick Start¶
OWL MCP Server is a server-side implementation provided by TrueWatch based on the Model Context Protocol. It encapsulates capabilities such as TrueWatch Metrics, Logs, Events, Monitors, APM, RUM, Infrastructure, and Notes into MCP tools, which can be called by AI clients that support MCP.
This document explains how to connect to OWL MCP Server via streamableHttp.
Representative tools that MCP clients can call include:
- Cross-Workspace Trace Query within the Same Organization: First, discover candidate workspaces using
owl.account.workspace.same_org.list, then pass the returnedworkspace_uuidasworkspace_uuidstoowl.data.same_org.trace.query;workspace_idis only used for list pagination and cannot be used for queries. - Notes:
owl.nbook_note.list/owl.nbook_note.get/owl.nbook_note.add/owl.nbook_note.modify/owl.nbook_note.delete, used to list, read, create, modify, and delete notes; supportsnormalandrunbooktypes.listcan filter bytype,addcan settype. Onlygetreturns the Markdown body.add,modify, anddeleteare write tools, it is recommended to configure human confirmation in the MCP client. - Event Query:
owl.event.list/owl.event.get, used to query event lists by time range and status, and to get event details by event document ID. - Pipeline Query and Sample Validation:
owl.pipeline.list/owl.pipeline.validate, used to query Pipelines, or validate processing results using sample data; validation only performs tests and does not create or modify Pipelines. - Simplified Data Query:
owl.data.simple_query, provides a more user-friendly data query entry. - Document Retrieval:
mdsearch_search/mdsearch_document/mdsearch_catalog, used to retrieve TrueWatch documentation. - SLO List:
owl.slo.list, lists configured SLOs.
Prerequisites¶
Before accessing, ensure the following preparations are complete:
- A TrueWatch API Key with the corresponding business permissions has been created.
- The OWL MCP Endpoint corresponding to the workspace's site has been obtained.
- The OWL MCP service connection has been configured in the MCP client.
- The current network environment can access the OWL MCP Endpoint.
Endpoint¶
OWL MCP Server provides independent Endpoints per site. Select the corresponding address based on the site of your workspace.
| Deployment Type | Site Name | Endpoint |
|---|---|---|
| SaaS Deployment | Global 1 (Oregon) | https://us1-owl-mcp.truewatch.com/mcp |
| SaaS Deployment | Europe 1 (Frankfurt) | https://eu1-owl-mcp.truewatch.com/mcp |
| SaaS Deployment | Asia Pacific 1 (Singapore) | https://ap1-owl-mcp.truewatch.com/mcp |
| SaaS Deployment | Africa 1 (South Africa) | https://za1-owl-mcp.truewatch.com/mcp |
| SaaS Deployment | Indonesia 1 (Jakarta) | https://id1-owl-mcp.truewatch.com/mcp |
| SaaS Deployment | Middle East 1 (UAE) | https://me1-owl-mcp.truewatch.com/mcp |
Authentication¶
Configure the request header in the MCP client:
Where <API Key> is the TrueWatch API Key. Keep it secure and do not write it into public code repositories, shared documents, or long-term logs.
OWL MCP Server performs authentication before entering MCP processing. Requests without authentication or with invalid credentials will be directly rejected, returning
401 Unauthorizedwith the response headerWWW-Authenticate: Bearer realm="mcp". Additionally, rate limiting will return429, and requests from IPs not on the whitelist will return403.
Client Configuration¶
OWL MCP Server uses the standard streamableHttp connection method and can be connected to MCP clients that support this transport. The configuration entry points and field names may vary slightly between clients; please refer to the actual client documentation.
The following examples use Cherry Studio, OpenClaw, and Hermes to illustrate common MCP client configuration methods. Other MCP clients that support streamableHttp can also be configured following the same principles:
- Fill in the URL with the OWL MCP Endpoint corresponding to the workspace's site.
- Configure the request header
Authorization: Bearer <API Key>. - Enable this MCP service.
The following examples use the placeholder address your-owl-mcp-endpoint. When connecting, replace it with the OWL MCP Endpoint corresponding to the workspace's site.
Cherry Studio¶
Add a new MCP service in Cherry Studio and configure as follows:
- Type:
streamableHttp - URL:
your-owl-mcp-endpoint - Request Header:
Authorization=Bearer <API Key>
After configuration, save and enable it, then return to the client home page and select this MCP service.
OpenClaw¶
openclaw mcp set owl '{
"type": "streamableHttp",
"url": "your-owl-mcp-endpoint",
"headers": {
"Authorization": "Bearer <API Key>"
},
"enabled": true
}'
Verify the configuration:
Hermes¶
Edit ~/.hermes/config.yaml:
mcp_servers:
owl:
type: streamableHttp
url: your-owl-mcp-endpoint
headers:
Authorization: Bearer <API Key>
enabled: true
Verify the configuration:
Usage Conventions¶
When using OWL MCP Server, it is recommended to follow these conventions:
| Type | Convention |
|---|---|
| Time Range Tools | Use 13-digit millisecond timestamps uniformly |
| Pagination Tools | Typically support page_size and page_index |
| Detail Tools | Usually depend on identifier fields returned by list tools, e.g., rule_uuid, incident_uuid, issue_id, note_uuid |
| Data Query Tools | It is recommended to follow a "discover first, query later" sequence. First, use discovery tools to get available source, field, index, then execute the formal query |
Verification¶
After configuration, you can ask the MCP client:
The client should be able to discover
list_catalogs,list_tools,exec_tool, and can callowl.metric.listviaexec_tool. If connection fails, authentication fails, the tool list is empty, or the returned result is empty, please refer to Troubleshooting.