We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/irab/orgbrain'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
README.md•1023 B
# OrgBrain API Server
REST API server that wraps MCP tool handlers for the web dashboard.
## Setup
```bash
cd server
pnpm install
```
## Development
```bash
pnpm dev
```
Server runs on `http://localhost:3001` by default.
## Environment Variables
- `PORT` - Server port (default: 3001)
- `FRONTEND_URL` - CORS origin (default: http://localhost:5173)
- `MCP_CONFIG` - Path to repos config (default: config/repos.yaml)
## API Endpoints
- `GET /api/health` - Health check
- `GET /api/repos` - List all repos
- `GET /api/repos/:repo/refs` - List branches/tags
- `GET /api/repos/:repo/versions` - List extracted versions
- `POST /api/extract/:repo/:ref` - Trigger extraction
- `POST /api/extract/all` - Extract all repos
- `GET /api/query/nips` - Query NIP usage
- `GET /api/query/types` - Query type definitions
- `GET /api/diagrams/c4` - Generate C4 diagram
- `POST /api/pr-impact` - PR impact preview
- `GET /api/stale-deps` - Detect stale dependencies
See route files in `src/routes/` for full API documentation.