Rudow

v0.2.0
io.github.prenzio/rudow-mcp-server Checked 6 hours ago Published 12 days ago

Query your app's logs, metrics and incidents, and set Rudow up, from your AI assistant.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

list_projects

List the projects you have access to. Call this first to get a project_id to pass to the other tools.

list_sdks

Get setup info for Rudow's client SDKs (Node.js backend, Python backend) — package name, install command, a minimal config/usage snippet, and how to obtain a project ingest API key. Use this to help a user add logging to their own codebase: install the right package for their stack and write the snippet into their code yourself — this tool only returns information, it does not install anything or touch the user's files. Ingest keys come from create_ingest_key (or create_project), if your connection has write access; see key_instructions in the result. Write the key to the app's .env as RUD…

list_incidents

List incidents Rudow detected for this project (newest first). Use to answer what's broken now or recently.

ParameterTypeDescription
project_id *stringThe project to query. Call list_projects first to see which ids you can use.
statusstring

get_incident

Full detail of one incident: why it fired (signals with observed vs usual), top error groups, timeline.

ParameterTypeDescription
incident_id *string
project_id *stringThe project to query. Call list_projects first to see which ids you can use.

query_logs

Fetch matching log entries for this project, newest first. Use to inspect specific errors or recent activity. Call this when you need the actual log lines.

ParameterTypeDescription
project_id *stringThe project to query. Call list_projects first to see which ids you can use.
before_isostringOnly entries before this ISO timestamp (cursor pagination).
levelstringFilter by severity level.
limitintegerMax rows to return (default 50, max 200).
minutesintegerOnly entries from the last N minutes.
sourcestringFilter by source, e.g. 'backend' or 'browser'.
textstringCase-insensitive substring match on the message.

query_logs_batched

Fetch a time-bucketed sample over a larger window. Useful when logs are high-volume: returns a balanced slice across time buckets instead of only the very latest lines.

ParameterTypeDescription
project_id *stringThe project to query. Call list_projects first to see which ids you can use.
bucket_minutesintegerBucket width in minutes (default 5).
limitintegerTotal max rows returned (default 400).
minutesintegerWindow size in minutes (default 60).
per_bucketintegerMax rows per bucket (default 20).
textstringOptional substring filter across message and attributes.

aggregate_logs

Count log entries grouped by a dimension over a recent window. Call this to spot trends, e.g. error rate or status-code distribution.

ParameterTypeDescription
project_id *stringThe project to query. Call list_projects first to see which ids you can use.
group_bystringDimension to group counts by.
minutesintegerWindow size in minutes (default 60).

metrics_summary

Computed health overview from telemetry: request volume, error rate (4xx/5xx), average and p95 latency, the top routes by traffic and errors, and the latest process metrics (memory, event-loop lag, uptime). Call this to answer how the app is performing or whether it is healthy.

ParameterTypeDescription
project_id *stringThe project to query. Call list_projects first to see which ids you can use.
minutesintegerWindow size in minutes (default 60).

metrics_overview

Overview section of metrics: total requests, error count & rate, average/p95 latency, and top error routes. Use this for a quick health snapshot focused on request volume and performance.

ParameterTypeDescription
project_id *stringThe project to query. Call list_projects first to see which ids you can use.
minutesintegerWindow size in minutes (default 60).

metrics_distributions

Response time distribution: histogram showing the spread of latencies (p50, p75, p90, p95, p99). Use this to understand if latency is consistent or if there are outliers and slow queries.

ParameterTypeDescription
project_id *stringThe project to query. Call list_projects first to see which ids you can use.
minutesintegerWindow size in minutes (default 60).

metrics_routes

Top routes by request volume and error count. Shows which endpoints are getting the most traffic and which are failing most often. Use this to identify hot spots and problem areas.

ParameterTypeDescription
project_id *stringThe project to query. Call list_projects first to see which ids you can use.
minutesintegerWindow size in minutes (default 60).

metrics_levels

Distribution of log levels: count and percentage of debug, info, warn, error, and fatal entries. Use this to understand the severity profile of logs and if error rates are elevated.

ParameterTypeDescription
project_id *stringThe project to query. Call list_projects first to see which ids you can use.
minutesintegerWindow size in minutes (default 60).

route_drilldown

Deep dive into a specific route: request count, error rate, average and p95 latency, errors by status code. Call this after seeing a problematic route in metrics_routes to get details.

ParameterTypeDescription
project_id *stringThe project to query. Call list_projects first to see which ids you can use.
route *stringThe route path to drill down into, e.g. '/api/v1/chat'.
minutesintegerWindow size in minutes (default 60).

failed_ingest_summary

Summary of failed ingest requests over a recent window: count of validation failures, most recent failure, and error details. Use this to troubleshoot SDK/client issues or payload format problems.

ParameterTypeDescription
project_id *stringThe project to query. Call list_projects first to see which ids you can use.
minutesintegerWindow size in minutes (default 60).

fetch_window

Fetch the log entries immediately before and after a timestamp, to see the context around a specific event.

ParameterTypeDescription
around_iso *stringISO-8601 timestamp to center the window on.
project_id *stringThe project to query. Call list_projects first to see which ids you can use.
nintegerEntries on each side (default 10, max 50).

create_project

Create a new Rudow project and get its first ingest key. org_id is optional only if you belong to exactly one org. The key is returned once: write it to the app's .env as RUDOW_API_KEY and do not repeat it in chat.

ParameterTypeDescription
name *stringProject name.
org_idstringOrg to create the project in.

create_ingest_key

Mint an additional ingest key for a project. Returned once: write it to the app's .env as RUDOW_API_KEY and do not repeat it in chat.

ParameterTypeDescription
project_id *stringThe project id. Call list_projects to see the ids you can use.

check_ingestion

Check whether a project is receiving logs (use right after setup).

ParameterTypeDescription
project_id *stringThe project id. Call list_projects to see the ids you can use.

resolve_incident

Close an incident. Set false_alarm to also record it as a false positive.

ParameterTypeDescription
incident_id *stringThe incident id.
project_id *stringThe project id. Call list_projects to see the ids you can use.
false_alarmboolean

request_postmortem

Ask Rudow to generate a postmortem for an incident.

ParameterTypeDescription
incident_id *stringThe incident id.
project_id *stringThe project id. Call list_projects to see the ids you can use.

update_postmortem

Edit an incident's postmortem. Only the fields you pass are changed.

ParameterTypeDescription
incident_id *stringThe incident id.
project_id *stringThe project id. Call list_projects to see the ids you can use.
action_itemsarray
sectionsobjectMap of section name to new text.
statusstring
what_to_fixstringNew text for the what-to-fix section.