Skip to content
Skill

Troubleshooting

Diagnoses failing Graylog MCP tool calls across connectivity, auth and query issues

Troubleshooting is an open-source agent skill for developer tools. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

Scripts
None
Platforms
Claude Code, Codex, Cursor
GitHub stars
6
Last commit
License
MIT
Listing updated

Similar skills

About Troubleshooting

This skill guides an agent through troubleshooting when Graylog MCP tools error out or return unexpectedly empty results. It starts with a health check through get_system_info, and if that fails it walks through verifying the BASE_URL setting, testing reachability with a curl request against the system API, and checking the API token.

The workflow also maps HTTP status codes such as 401, 403, 404 and 5xx to likely causes and fixes, and lists common reasons a search returns no hits: UTC timestamps, Elasticsearch query string syntax, case-sensitive field names and stream filters the token cannot read. It includes guidance on when to stop and escalate to the Graylog operator.

The skill expects a Graylog instance, an API token and the Graylog MCP server to be configured. It is written as instructions and includes one bash curl command; it does not ship scripts.

When your agent uses it

Use when Graylog MCP tools return errors (connection refused, 401, target not found, empty results when results are expected). Diagnoses connectivity, auth, and configuration. Triggers on graylog tool failures, "connection refused", "401", "target not found", "graylog isn't returning anything".

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 1 file (3 KB) on GitHub on 1 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

This skill ships in the graylog-log-search plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

/plugin marketplace add Pranavj17/mcp-server-graylog
/plugin install graylog-log-search@pranavj17

Or copy only this skill to ~/.claude/skills/troubleshooting:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/Pranavj17/mcp-server-graylog.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/troubleshooting &&
cp -R "$tmp/skills/troubleshooting" ~/.claude/skills/troubleshooting &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/troubleshooting inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/troubleshooting to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/Pranavj17/mcp-server-graylog.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/troubleshooting &&
cp -R "$tmp/skills/troubleshooting" ~/.agents/skills/troubleshooting &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/troubleshooting inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/troubleshooting to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/Pranavj17/mcp-server-graylog.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/troubleshooting &&
cp -R "$tmp/skills/troubleshooting" ~/.cursor/skills/troubleshooting &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/troubleshooting inside it instead.

Cursor docs on skills

Run in a terminal (add --scope workspace to install it for the current workspace only):

gemini skills install https://github.com/Pranavj17/mcp-server-graylog.git --path skills/troubleshooting

Or copy the folder to ~/.gemini/skills/troubleshooting yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/troubleshooting:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/Pranavj17/mcp-server-graylog.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/troubleshooting &&
cp -R "$tmp/skills/troubleshooting" ~/.copilot/skills/troubleshooting &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/troubleshooting inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/Pranavj17/mcp-server-graylog.git

Then copy mcp-server-graylog/skills/troubleshooting into your agent's skills folder as troubleshooting. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Health check first
Starts diagnosis with get_system_info to confirm whether the server is reachable and credentials work.
Base URL verification
Lists the rules for the BASE_URL setting and a curl command to test reachability.
API token guidance
Explains where to create Graylog tokens and how token-based basic auth should be set up.
Status code mapping
Maps 401, 403, 404 and 5xx responses to probable causes and fixes.
Empty search diagnosis
Checks time zone, query syntax, field casing and stream filters when searches return no hits.
Escalation criteria
Describes when the problem likely sits on the Graylog server and what to verify before asking the operator.

Good for

  • Why is my Graylog MCP tool returning a 401 error?
  • Fix the connection refused error when calling Graylog from my agent
  • My Graylog search returns nothing even though I know logs exist
  • Check whether my Graylog API token and base URL are configured correctly
  • Find out why list_streams returns an empty list

Troubleshooting FAQ

When does Troubleshooting trigger?

It is meant for cases where Graylog MCP tools return errors such as connection refused, 401, target not found, or empty results when results are expected.

What should I check first?

The skill says to call get_system_info first. If it succeeds, the connection and credentials are fine and the issue is likely in the query.

How are Graylog API tokens used for authentication?

The token is used as the username with the literal string token as the password, following Graylog's convention.

Why might a search return zero results?

Common causes listed are UTC timestamps without an offset, using Lucene-style field=value instead of field:value, case-sensitive field names, and a streamId the token cannot read.

How do I install Troubleshooting in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/troubleshooting to use it in all your projects, or to .claude/skills/troubleshooting in one project. Or install the graylog-log-search plugin, which includes it: /plugin marketplace add Pranavj17/mcp-server-graylog, then /plugin install graylog-log-search@pranavj17.

Does Troubleshooting run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

Which AI agents can use Troubleshooting?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

What are the best alternatives to Troubleshooting?

The closest alternatives to Troubleshooting are Graylog, MCP CLI, Trace debugging, Azure messaging and MCP release QA.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from Pranavj17/mcp-server-graylog

  1. Lets your agent search and trace production logs in Graylog via its MCP server

    • Open source
    • 6 GitHub stars
    • Developer tools
  2. Guides an agent through localizing an active incident to a service and error pattern

    • Open source
    • 6 GitHub stars
    • Developer tools
  3. Follows one trace ID across services in Graylog to find where a request failed

    • Open source
    • 6 GitHub stars
    • Developer tools