An open API service indexing awesome lists of open source software.

https://github.com/lyuboslavlyubenov/search-solodit-mcp


https://github.com/lyuboslavlyubenov/search-solodit-mcp

Last synced: 3 months ago
JSON representation

Awesome Lists containing this project

README

          

# Solodit MCP Server

A Model Context Protocol (MCP) server for searching and retrieving Solodit vulnerability reports.

https://github.com/user-attachments/assets/057ca6a2-8ca2-400c-b92b-9ed585ae2e79

## Features
- Search vulnerability reports by keywords
- Get full report content

## Setup

Easiest way is to start the server with `npx` or with docker:
```shell
npx @lyuboslavlyubenov/solodit-mcp
```
or with remote docker:
```shell
docker run -p 3000:3000 lyuboslavl/solodit-mcp:latest
```

## Local setup

### Using Docker
1. Build the image:
```shell
docker build -t solodit-mcp .
```
2. Run the container:
```shell
docker run -p 3000:3000 solodit-mcp
```

### Local build
1. Install dependencies:
```shell
npm install -g pnpm && pnpm install
```
2. Build and run:
```shell
pnpm build && node dist/index.js
```

## IDE Integration
Add this to your `mcp.json` configuration file:
```json
{
"mcpServers": {
"solodit-mcp": {
"url": "http://localhost:3000/mcp"
}
}
}
```

## API Usage
The server exposes an MCP endpoint at `POST /mcp` with these tools:

1. **Search Tool** (`search`):
- Input: `{ "keywords": "your search terms" }`
- Returns: JSON array of matching report titles

2. **Get by Title** (`get-by-title`):
- Input: `{ "title": "exact report title" }`
- Returns: Full content of the matching report