Basic information
About Patronus MCP Server
# Patronus MCP Server
Patronus MCP Server is a MCP server in the Other category listed in the AddMCP.net directory, published by patronus-ai. Supported transport: stdio. Runtime: python. License: Apache-2.0. The repository has 15 GitHub stars. Source code is hosted on github.com. Related topics: llm-optimization, mcp-server, patronus.
Setup
{
"mcpServers": {
"patronus-mcp-server": {
"command": "python",
"args": [
"-m",
"venv",
".venv"
]
}
}
}
{
"mcpServers": {
"patronus-mcp-server": {
"command": "python",
"args": [
"-m",
"venv",
".venv"
]
}
}
}
{
"servers": {
"patronus-mcp-server": {
"command": "python",
"args": [
"-m",
"venv",
".venv"
]
}
}
}
Patronus MCP Server config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"patronus-mcp-server": {
"command": "python",
"args": [
"-m",
"venv",
".venv"
]
}
}
}
Patronus MCP Server tools
Tool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is Patronus MCP Server?
An MCP server implementation for the Patronus SDK, providing a standardized interface for running LLM system optimizations, evaluations, and experiments.
How to use Patronus MCP Server?
Clone the repository, create a Python virtual environment, install dependencies with uv pip install -e ., then run the server with an API key via --api-key argument or the PATRONUS_API_KEY environment variable. Use the included test script for interactive evaluation or call the server’s tools through any MCP client.
Key features of Patronus MCP Server
- Initialize Patronus with API key and project settings
- Run single evaluations with configurable evaluators
- Run batch evaluations with multiple evaluators
- Run experiments with datasets
- Create custom evaluator criteria in the Patronus API
- List all available evaluators and their criteria
- Custom evaluate using user-defined evaluator functions
Use cases of Patronus MCP Server
- Evaluate LLM outputs for hallucinations or conciseness using remote evaluators
- Run batch evaluations with multiple remote evaluators on the same input
- Conduct experiments with a dataset and a mix of remote and custom evaluators
- Create new evaluator criteria to match specific pass/fail conditions
- Integrate custom evaluation logic via
@evaluatordecorated functions
Frequently asked questions
1 How do I supply the Patronus API key?
You can provide it either as a command‑line argument (--api-key your_key) or by setting the PATRONUS_API_KEY environment variable.
2 What runtime dependencies does the server require?
Python 3, a virtual environment, and the packages installed via uv pip install -e . and uv pip install -e ".[dev]" for development.
3 Does the server support custom evaluators?
Yes. You can define evaluator functions using the @evaluator decorator and pass them to the custom_evaluate tool, or configure a custom evaluator adapter for experiments.
4 How can I test the server interactively?
Run python -m tests.test_live src/patronus_mcp/server.py with an API key to get a menu of test options (single evaluation, batch evaluation). Results are shown as formatted JSON.
5 What transport or authentication does the server use?
The server uses the Model Context Protocol (MCP) and authenticates with the Patronus API via the provided API key. No other transport or auth method is documented.
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In