openobserve-readonly-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| O2_ORG | No | OpenObserve organization identifier | default |
| O2_AUTH | Yes | Authentication header value: Basic <base64 of email:password> or Bearer <token> | |
| O2_DEBUG | No | Set to any value to log resolved config (credential redacted) to stderr | |
| O2_BASE_URL | Yes | Base URL of OpenObserve instance, e.g. https://openobserve.example.com | |
| O2_TIMEOUT_MS | No | Upstream request timeout in milliseconds | 60000 |
| O2_MAX_WINDOW_MIN | No | Largest allowed search window in minutes | 1440 |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| o2_list_streamsA | List OpenObserve streams (read-only) with type, document count and last event time. |
| o2_stream_schemaA | Field names and types of one stream (read-only). Use before writing a query to learn valid column names. |
| o2_searchA | Run one read-only SQL SELECT/WITH query against OpenObserve. Quote the stream name: SELECT * FROM "stream" ORDER BY _timestamp DESC. Defaults to the last 15 minutes and returns at most 200 rows. No semicolons or SQL comments outside string literals. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 3 tools
The three tools serve clearly distinct purposes: listing streams, retrieving schema, and running queries. No overlap exists, so an agent can confidently select the right tool.
All tools share the 'o2_' prefix, and most follow a verb_noun pattern (list_streams, search). 'stream_schema' is a slight deviation as it's noun_phrase, but it remains predictable and readable.
With only 3 tools, the server is tightly scoped for read-only access to OpenObserve. Each tool is essential and earns its place, making the set easy to navigate.
For a read-only server, the surface is complete: discover streams, inspect schemas, and execute queries. These cover the core workflows without missing critical operations.