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

ToolArgumentsReturns
list_vectorsnoneEvery vector with its kind, what it changes, default strength and eval summary
steer_chatprompt, steer, max_tokensThe steered answer
compareprompt, steer, max_tokensThe 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}]}}}'