Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:

strategy:
matrix:
node-version: [20.x, 22.x]
node-version: [22.x]

steps:
- uses: actions/checkout@v4
Expand Down
24 changes: 12 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,6 @@ Tested with node 20 and 22 (`nvm use 22`).

Configure your `.mcp.json` as follows:

Using npx (recommended):

```
{
"mcpServers": {
Expand All @@ -55,14 +53,22 @@ Using npx (recommended):
}
```

Or using a local development installation - see CONTRIBUTING.md.

### Codex CLI

## Junie
Add to your `~/.codex/config.toml`:

```
[mcp_servers.rollbar]
command = "npx"
args = ["-y", "@rollbar/mcp-server@latest"]
env = { "ROLLBAR_ACCESS_TOKEN" = "<project read/write acecss token>" }
```

Configure your `.junie/mcp/mcp.json` as follows:

Using npx (recommended):
### Junie

Configure your `.junie/mcp/mcp.json` as follows:

```
{
Expand All @@ -82,15 +88,11 @@ Using npx (recommended):
}
```

Or using a local development installation - see CONTRIBUTING.md.


### VS Code

Configure your `.vscode/mcp.json` as follows:

Using npx (recommended):

```
{
"servers": {
Expand All @@ -109,5 +111,3 @@ Using npx (recommended):
}
```

Or using a local development installation - see CONTRIBUTING.md.

4 changes: 2 additions & 2 deletions tests/e2e/test-get-item-details.sh
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,10 @@ cd "$TEMP_DIR"
# Copy the tarball to temp dir for npx to use
cp "$PROJECT_ROOT/$TARBALL" .

echo "Running: npx -y @modelcontextprotocol/inspector --cli -e ROLLBAR_ACCESS_TOKEN=\$ROLLBAR_E2E_READ_TOKEN npx -y ./$TARBALL --method tools/call --tool-name get-item-details --tool-arg counter=8 --tool-arg max_tokens=100"
echo "Running: npx -y @modelcontextprotocol/inspector@latest --cli -e ROLLBAR_ACCESS_TOKEN=\$ROLLBAR_E2E_READ_TOKEN npx -y ./$TARBALL --method tools/call --tool-name get-item-details --tool-arg counter=8 --tool-arg max_tokens=100"

# Run the command and capture output
npx -y @modelcontextprotocol/inspector --cli -e ROLLBAR_ACCESS_TOKEN=$ROLLBAR_E2E_READ_TOKEN npx -y ./$TARBALL --method tools/call --tool-name get-item-details --tool-arg counter=8 --tool-arg max_tokens=100 > test-output.json 2>&1
npx -y @modelcontextprotocol/inspector@latest --cli -e ROLLBAR_ACCESS_TOKEN=$ROLLBAR_E2E_READ_TOKEN npx -y ./$TARBALL --method tools/call --tool-name get-item-details --tool-arg counter=8 --tool-arg max_tokens=100 > test-output.json 2>&1

# Check the output using jq
HAS_CONTENT=$(jq -r 'has("content")' test-output.json 2>/dev/null || echo "false")
Expand Down
Loading