MCP server
An MCP server over Streamable HTTP, so an agent can list the vectors, read their cards and call the model with the behaviour it needs.
Connect
{
"mcpServers": {
"steerlabs": { "type": "http", "url": "https://<site>/mcp" }
}
}The server is stateless: every JSON-RPC request gets a JSON response. It answers initialize, tools/list, tools/call and ping.
Tools
| Tool | Arguments | Returns |
|---|---|---|
list_vectors | none | Every vector with its kind, what it changes, default strength and eval summary |
steer_chat | prompt, steer, max_tokens | The steered answer |
compare | prompt, steer, max_tokens | The base and the steered answers, labelled |
Example call
curl https://<site>/mcp -H "content-type: application/json" -d '{
"jsonrpc": "2.0", "id": 1, "method": "tools/call",
"params": {"name": "steer_chat", "arguments": {
"prompt": "Write a commit message for a fix to the login rate limiter.",
"steer": [{"id": "concise", "strength": 4}]}}}'