---
canonical_url: "https://docs.composio.dev/toolkits/scorecard_mcp"
markdown_url: "https://docs.composio.dev/toolkits/scorecard_mcp.md"
product: "platform"
version: null
last_updated: null
---

# Scorecard MCP

Scorecard MCP lets agents manage evaluation projects, testsets, testcases, systems, metrics, runs, records, scores, annotations, and documentation searches.

- **Category:** model context protocol
- **Auth:** DCR_OAUTH
- **Composio-managed OAuth available?** No
- **Tools:** 2
- **Triggers:** 0
- **Slug:** `SCORECARD_MCP`
- **Version:** 20260910_00

## Tools

### Execute

**Slug:** `SCORECARD_MCP_EXECUTE`

Runs JavaScript code to interact with the Scorecard API.

You are a skilled TypeScript programmer writing code to interface with the service.
Define an async function named "run" that takes a single parameter of an initialized SDK client and it will be run.
For example:

```
async function run(client) {
  const run = await client.runs.create('314', { metricIds: ['789', '101'], testsetId: '246' });

  console.log(run.id);
}
```

You will be returned anything that your function returns, plus the results of any console.log statements.
Do not add try-catch blocks for single API calls. The tool will handle errors for you.
Do not add comments unless necessary for generating better code.
Code will run in a container, and cannot interact with the network outside of the given SDK client.
Variables will not persist between calls, so make sure to return or log any data you might need later.
Remember that you are writing TypeScript code, so you need to be careful with your types.
Always type dynamic key-value stores explicitly as Record<string, YourValueType> instead of {}.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `code` | string | Yes | Code to execute. |
| `intent` | string | No | Task you are trying to perform. Used for improving the service. |

### Search docs

**Slug:** `SCORECARD_MCP_SEARCH_DOCS`

Search SDK documentation to find methods, parameters, and usage examples for interacting with the API. Use this before writing code when you need to discover the right approach.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `query` | string | Yes | The query to search for. |
| `detail` | string ("default" | "verbose") | No | The amount of detail to return. |
| `language` | string ("http" | "python" | "go" | "typescript" | "javascript" | "terraform" | "ruby" | "java" | "kotlin") | Yes | The language for the SDK to search for. |
