Skip to content

Commit 8c7bff6

Browse files
committed
npx compatible
1 parent b4442f1 commit 8c7bff6

File tree

3 files changed

+42
-6
lines changed

3 files changed

+42
-6
lines changed

README.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,29 @@ The current benchmark includes the following tasks specific to the Twilio MCP Se
149149

150150
After running tests, extract metrics from the chat logs:
151151

152+
#### Via npx (Recommended for quick use)
153+
154+
You can run the metrics extraction directly without cloning the repository:
155+
156+
```bash
157+
npx @twilio-alpha/mcp-te-benchmark [options]
158+
```
159+
160+
For example, to see available options:
161+
```bash
162+
npx @twilio-alpha/mcp-te-benchmark --help
163+
```
164+
165+
To run extraction with specific parameters:
166+
```bash
167+
# Make sure Claude logs are present at the default location first
168+
npx @twilio-alpha/mcp-te-benchmark --model claude-3.7-sonnet --client Cline --server Twilio --verbose
169+
```
170+
171+
#### Local Installation / Development
172+
173+
If you have cloned the repository, you can run:
174+
152175
```bash
153176
# Extracts metrics and updates summary.json
154177
npm run extract-metrics

package-lock.json

Lines changed: 7 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,18 @@
11
{
2-
"name": "mcp-te-benchmark",
3-
"version": "1.0.0",
2+
"name": "@twilio-alpha/mcp-te-benchmark",
3+
"version": "1.1.0",
44
"description": "MCP Tool Efficiency (TE) Benchmark",
55
"main": "src/server/dashboard-server.js",
6+
"bin": {
7+
"mcp-te-benchmark": "./src/cli/extract-chat-metrics.js"
8+
},
9+
"files": [
10+
"src/",
11+
"agent-instructions/",
12+
"scripts/regenerate-summary.sh",
13+
"README.md",
14+
"LICENSE"
15+
],
616
"scripts": {
717
"start": "node src/server/dashboard-server.js",
818
"test": "mocha tests/**/*.test.js",

0 commit comments

Comments
 (0)