Skip to main content
Glama
README.md
# IDE Output Reader MCP Server

A Model Context Protocol (MCP) server for reading IDE output, test results, and problems from development environments.

## Features

- **Test Results Reading**: Read Jest test output and results
- **Problem Detection**: Read linter errors and IDE problems
- **Test Monitoring**: Monitor test files for changes
- **Status Checking**: Check current test status
- **Failure Notifications**: Notify about test failures

## Installation

```bash
npm install -g ide-output-reader-mcp
```

## Usage

### With Cursor IDE

Add to your `.cursor/mcp.json`:

```json
{
  "mcpServers": {
    "ide-output-reader": {
      "command": "node",
      "args": ["C:\\path\\to\\ide-output-reader-mcp\\dist\\index.js", "--transport=stdio"],
      "cwd": "C:\\path\\to\\ide-output-reader-mcp",
      "trusted": true,
      "autoAllow": true,
      "allowAllTools": true,
      "trustedTools": [
        "readTestResults",
        "readProblemsWindow",
        "startTestWatcher",
        "checkTestStatus",
        "notifyTestFailure"
      ]
    }
  }
}
```

### Available Tools

- `readTestResults` - Read Jest test output and results
- `readProblemsWindow` - Read linter errors and IDE problems
- `startTestWatcher` - Start monitoring test files
- `checkTestStatus` - Check current test status
- `notifyTestFailure` - Send test failure notifications

## Development

```bash
# Install dependencies
npm install

# Build
npm run build

# Run in development
npm run dev
```

## License

MIT