modelscope·@root-signals/scorable-mcp
暂无描述。
A Model Context Protocol (MCP) server that exposes Scorable evaluators as tools for AI assistants & agents.
This project serves as a bridge between Scorable API and MCP client applications, allowing AI assistants and agents to evaluate responses against various quality criteria.
The server exposes the following tools:
list_evaluators - Lists all available evaluators on your Scorable accountrun_evaluation - Runs a standard evaluation using a specified evaluator IDrun_evaluation_by_name - Runs a standard evaluation using a specified evaluator namerun_coding_policy_adherence - Runs a coding policy adherence evaluation using policy documents such as AI rules fileslist_judges - Lists all available judges on your Scorable account. A judge is a collection of evaluators forming LLM-as-a-judge.run_judge - Runs a judge using a specified judge IDSign up & create a key or generate a temporary key
docker run -e SCORABLE_API_KEY=<your_key> -p 0.0.0.0:9090:9090 --name=rs-mcp -d ghcr.io/scorable/scorable-mcp:latest
You should see some logs (note: /mcp is the new preferred endpoint; /sse is still available for backwardcompatibility)
docker logs rs-mcp
2025-03-25 12:03:24,167 - scorable_mcp.sse - INFO - Starting Scorable MCP Server v0.1.0
2025-03-25 12:03:24,167 - scorable_mcp.sse - INFO - Environment: development
2025-03-25 12:03:24,167 - scorable_mcp.sse - INFO - Transport: stdio
2025-03-25 12:03:24,167 - scorable_mcp.sse - INFO - Host: 0.0.0.0, Port: 9090
2025-03-25 12:03:24,168 - scorable_mcp.sse - INFO - Initializing MCP server...
2025-03-25 12:03:24,168 - scorable_mcp - INFO - Fetching evaluators from Scorable API...
2025-03-25 12:03:25,627 - scorable_mcp - INFO - Retrieved 100 evaluators from Scorable API
2025-03-25 12:03:25,627 - scorable_mcp.sse - INFO - MCP server initialized successfully
2025-03-25 12:03:25,628 - scorable_mcp.sse - INFO - SSE server listening on http://0.0.0.0:9090/sse
From all other clients that support SSE transport - add the server to your config, for example in Cursor:
{
"mcpServers": {
"scorable": {
"url": "http://localhost:9090/sse"
}
}
}
In cursor / claude desktop etc:
{
"mcpServers": {
"scorable": {
"command": "uvx",
"args": ["--from", "git+https://github.com/scorable/scorable-mcp.git", "stdio"],
"env": {
"SCORABLE_API_KEY": "<myAPIKey>"
}
}
}
}
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 Scorable evaluators:
<h1 align="center"> <img width="750" alt="Use case example image 1" src="https://github.com/user-attachments/assets/bb457e05-038a-4862-aae3-db030aba8a7c" loading="lazy"> </h1>After the regular LLM answer, the agent can automatically
Conciseness and Relevance in this case),It can then automatically evaluate the second attempt again to make sure the improved explanation is indeed higher quality:
<h1 align="center"> <img width="750" alt="Use case example image 3" src="https://github.com/user-attachments/assets/440d62f6-9443-47c6-9d86-f0cf5a5217b9" loading="lazy"> </h1> </details> <details> <summary style="font-size: 1.3em;"><b>2. Use the MCP reference client directly from code</b></summary><br>from scorable_mcp.client import ScorableMCPClient
async def main():
mcp_client = ScorableMCPClient()
try:
await mcp_client.connect()
evaluators = await mcp_client.list_evaluators()
print(f"Found {len(evaluators)} evaluators")
result = await mcp_client.run_evaluation(
evaluator_id="eval-123456789",
request="What is the capital of France?",
response="The capital of France is Paris."
)
print(f"Evaluation score: {result['score']}")
result = await mcp_client.run_…
暂无描述。
一个由人工智能驱动的MCP服务器,通过自然语言提示实现测试的记录、执行和发现,从而自动化的网络测试工作流程。
一个MCP(模型上下文协议)服务器,用于使用axe-core对网页进行无障碍审计。在代理循环中使用结果与您喜欢的AI助手(Cline/Cursor/GH Copilot)结合,并让它们为您修复无障碍问题!
暂无描述。
暂无描述。
暂无描述。