orq.ai MCP Server
by DFreeRide
README.md
# orq.ai MCP Server
A comprehensive Model Context Protocol (MCP) server for the [orq.ai](https://orq.ai) platform.
[](https://github.com/DFreeRide/orq-mcp-server)
[](LICENSE)
## Features
Complete implementation of the orq.ai API v2 with **87 tools** covering:
| Resource | Tools | Description |
|----------|-------|-------------|
| **Agents** | 6 | Create, manage, and invoke AI agents |
| **Conversations** | 6 | Manage conversation threads |
| **Identities** | 5 | User identity management |
| **Deployments** | 4 | Deploy and invoke models |
| **Prompts** | 7 | Prompt management with versioning |
| **Tools** | 7 | Custom tool definitions with versioning |
| **Knowledge Bases** | 6 | Vector knowledge bases |
| **Datasources** | 5 | Manage datasources in knowledge bases |
| **Chunks** | 8 | Chunk management for RAG |
| **Memory Stores** | 5 | Persistent memory management |
| **Memories** | 5 | Memory entries in stores |
| **Memory Documents** | 5 | Documents within memories |
| **Datasets** | 6 | Evaluation datasets |
| **Datapoints** | 5 | Datapoints in datasets |
| **Evals** | 6 | Evaluators and invocation |
| **Files** | 4 | File upload and management |
| **Router** | 4 | OpenAI-compatible proxy endpoints |
| **Other** | 3 | Models, Feedback, Remote Configs |
## Installation
### Prerequisites
- Node.js 18+
- An orq.ai API key ([Get one here](https://my.orq.ai))
### Setup
```bash
git clone https://github.com/DFreeRide/orq-mcp-server.git
cd orq-mcp-server
npm install
```
### Configure Claude Desktop
Add to `~/Library/Application Support/Claude/claude_desktop_config.json`:
```json
{
"mcpServers": {
"orq-ai": {
"command": "node",
"args": ["/path/to/orq-mcp-server/server.js"],
"env": {
"ORQ_API_KEY": "your-api-key-here",
"ORQ_DEFAULT_PATH": "MyProject"
}
}
}
}
```
## Environment Variables
| Variable | Required | Default | Description |
|----------|----------|---------|-------------|
| `ORQ_API_KEY` | Yes | - | Your orq.ai API key |
| `ORQ_DEFAULT_PATH` | No | `Example` | Default project path |
## Changelog
### v3.0.0 (2025-02-11)
- Complete rewrite based on official orq.ai Node.js SDK v4.2.18
- Added 40+ new tools (Conversations, Identities, expanded Memory, Datasets, Evals, Router)
- Fixed `knowledge_create_chunks` body format (array, not object; field `text` not `content`)
- Fixed `prompts_create` format (`prompt` not `prompt_config`)
- Added versioning endpoints for Prompts, Tools, Evaluators
- Added Router endpoints (embeddings, completions, rerank)
### v2.4.2
- Fixed `knowledge_create_chunks`: body as array, field `text` not `content`
### v2.4.1
- Fixed `prompts_create`: simplified format with `prompt` object
## License
MIT License - see [LICENSE](LICENSE)
## Links
- [orq.ai Documentation](https://docs.orq.ai)
- [orq.ai Node.js SDK](https://github.com/orq-ai/orq-node)
- [MCP Protocol](https://modelcontextprotocol.io)