# Troubleshooting

> Troubleshooting is an open-source agent skill for developer tools. Diagnoses failing Graylog MCP tool calls across connectivity, auth and query issues. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/Pranavj17/mcp-server-graylog/tree/main/skills/troubleshooting
- **Repository:** https://github.com/pranavj17/mcp-server-graylog
- **GitHub stars:** 6
- **License:** MIT
- **Skill name:** troubleshooting
- **Collection:** https://github.com/Pranavj17/mcp-server-graylog
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-01

## About

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".

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/Pranavj17/mcp-server-graylog/tree/HEAD/skills/troubleshooting)
- [License: MIT](https://github.com/Pranavj17/mcp-server-graylog/tree/HEAD/skills/troubleshooting)

## Features

- **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

## Install

### Claude Code

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):

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

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

```sh
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.

### Codex

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

```sh
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.

### Cursor

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

```sh
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.

### Gemini CLI

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

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

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

### VS Code

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

```sh
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.

### Other agents

Get the folder:

```sh
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.

## 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.

## Alternatives

- [Graylog](https://ai-powered.com/skills/graylog): Graylog is an open-source agent skill for developer tools.
- [MCP CLI](https://ai-powered.com/skills/mcp-cli): MCP CLI is an open-source agent skill for developer tools.
- [Trace debugging](https://ai-powered.com/skills/trace-debugging): Trace debugging is an open-source agent skill for developer tools.
- [Azure messaging](https://ai-powered.com/skills/azure-messaging): Azure messaging is an open-source agent skill for cloud and infrastructure.
- [MCP release QA](https://ai-powered.com/skills/mcp-release-qa): MCP release QA is an open-source agent skill for developer tools.
- [Chrome MCP troubleshooting](https://ai-powered.com/skills/chrome-mcp-troubleshooting): Chrome MCP troubleshooting is an open-source agent skill for developer tools.
- [MCP builder](https://ai-powered.com/skills/mcp-builder-microsoft): MCP builder is an open-source agent skill for ai models and llm tooling.
- [MCP repair](https://ai-powered.com/skills/mcp-repair): MCP repair is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/troubleshooting
