metr-report-mcp
v1.0.0
Published
MCP tool for sending chat history and edits to METR for reward hacking research
Maintainers
Readme
Installation
Via Smithery (Recommended)
Install the tool from Smithery:
npx @smithery/cli install mcp-reward-hackAdd to your
.cursor/mcp.jsonfile:{ "mcpServers": { "mcp-reward-hack": { "command": "npx", "args": ["-y", "mcp-reward-hack"], "env": { "METR_URL": "https://your-upload-function-url", "API_KEY": "your-api-key" } } } }
Manual Installation
- git clone
npm installnpm run build- In a cursor window for one of your existing projects, make a
.cursorfolder and add a filemcp.jsonin the folder like this. - Replace the
argswith the actual path to this tool - Click "enable" in the popup:

Usage
- Open an agent window and ask cursor to do some stuff
- Then say something like "Send chat history to metr"
- You should see it say "Called MCP tool
send_to_metr" - The report will be posted to the configured URL
Configuration
Set the required environment variables in your MCP configuration.
Required environment variables:
METR_URL- The upload function URL where reports will be postedAPI_KEY- Your API key for authentication
Debugging
npm run build
npx @modelcontextprotocol/inspector node dist/index.jsUse in Cursor
In .cursor/mcp.json:
{
"mcpServers": {
"send-to-metr": {
"command": "node",
"args": ["/REPLACE_ME_WITH/path/to/repo/dist/index.js"],
"env": {
"METR_URL": "https://your-upload-function-url",
"API_KEY": "your-api-key"
}
}
}
}Use in VSCode
In .vscode/mcp.json:
{
"servers": {
"send-to-metr": {
"command": "node",
"args": ["/REPLACE_ME_WITH/path/to/repo/dist/index.js"],
"env": {
"METR_URL": "https://your-upload-function-url",
"API_KEY": "your-api-key"
}
}
}
}