Integrations
Root Signals MCP Server
A Model Context Protocol (MCP) server that exposes Root Signals evaluators as tools for AI assistants & agents.
Overview
This project serves as a bridge between Root Signals API and MCP client applications, allowing AI assistants and agents to evaluate responses against various quality criteria.
Features
- Exposes Root Signals evaluators as MCP tools
- Supports both standard evaluation and RAG evaluation with contexts
- Implements SSE for network deployment
- Compatible with various MCP clients such as Cursor
Tools
The server exposes the following tools:
list_evaluators
- Lists all available evaluators on your Root Signals accountrun_evaluation
- Runs a standard evaluation using a specified evaluator IDrun_evaluation_by_name
- Runs a standard evaluation using a specified evaluator namerun_rag_evaluation
- Runs a RAG evaluation with contexts using a specified evaluator IDrun_rag_evaluation_by_name
- Runs a RAG evaluation with contexts using a specified evaluator namerun_coding_policy_adherence
- Runs a coding policy adherence evaluation using policy documents such as AI rules files
How to use this server
1. Get Your API Key
Sign up & create a key or generate a temporary key
2. Run the MCP Server
You should see some logs (note: /mcp
is the new preferred endpoint; /sse
is still available for backward‑compatibility)
From all other clients that support SSE transport - add the server to your config, for example in Cursor:
Usage Examples
Let's say you want an explanation for a piece of code. You can simply instruct the agent to evaluate its response and improve it with Root Signals evaluators:
After the regular LLM answer, the agent can automatically
- discover appropriate evaluators via Root Signals MCP (
Conciseness
andRelevance
in this case), - execute them and
- provide a higher quality explanation based on the evaluator feedback:
It can then automatically evaluate the second attempt again to make sure the improved explanation is indeed higher quality:
Let's say you have a prompt template in your GenAI application in some file:
You can measure by simply asking Cursor Agent: Evaluate the summarizer prompt in terms of clarity and precision. use Root Signals
. You will get the scores and justifications in Cursor:
For more usage examples, have a look at demonstrations
How to Contribute
Contributions are welcome as long as they are applicable to all users.
Minimal steps include:
uv sync --extra dev
pre-commit install
- Add your code and your tests to
src/root_mcp_server/tests/
docker compose up --build
ROOT_SIGNALS_API_KEY=<something> uv run pytest .
- all should passruff format . && ruff check --fix
Limitations
Network Resilience
Current implementation does not include backoff and retry mechanisms for API calls:
- No Exponential backoff for failed requests
- No Automatic retries for transient errors
- No Request throttling for rate limit compliance
Bundled MCP client is for reference only
This repo includes a root_mcp_server.client.RootSignalsMCPClient
for reference with no support guarantees, unlike the server.
We recommend your own or any of the official MCP clients for production use.
This server cannot be installed
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
Root Signals MCP Server
Related MCP Servers
- AsecurityAlicenseAqualityAn MCP server to run commands.Last updated -2204104JavaScriptMIT License
- -securityAlicense-qualityMCP Server for networl monitoring software ntopng.Last updated -PythonMIT License
- Python
- Python