airbrake_mcp 1.0.1 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5e2e01dbcff964da8ab3a58bdd9af724f62e2865005568a8d1fa430a517ff958
4
- data.tar.gz: 157e61e70cc661d9f93dfc69384767134c135ea4f22af257973737ae3d4e0ea0
3
+ metadata.gz: b2240a66c5be534864e153cecb78600f027a30e877974cbad9a21a1b6b4823bf
4
+ data.tar.gz: d55ff5ccc6a5e9e4bb4bcb943582c997faec795378affc05175f6bd4c47f57b3
5
5
  SHA512:
6
- metadata.gz: c62c9237f24234be22af819ed9f7c1e538b6aa1eccdd25686a3b2b488c8debd9c34eacd339f76e3432539beb2eb8c97c22e628fa0b5b2420af27ec0b176e33cb
7
- data.tar.gz: 9a4b7edacf08589cbec426388488703723bcf0294a199ff36b3f9ad6aa399b40660dc7b338f9a7639c2ecb5924ceec851599707868ddd4a1ce6c52029330279f
6
+ metadata.gz: 6190373dabc25f17f30f5d7ecade25fe344802a72f5ff70085e05b652bd2f2adab074fdd8503bbde1a9de41f961a609cd13f9e6fdaeeddcc1b414c6a63519317
7
+ data.tar.gz: 346e2155248f9e9449f879542071be018b68e624db4fdb5771696fe6de12353193d88439ede288fb71476a32341d2a46773a8de21b7b34312673118d03b4b184
data/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.0.2] - 2025-01-06
4
+
5
+ ### Added
6
+ - Documentation for rbenv/asdf/chruby users (non-interactive shell shim paths)
7
+ - Improved `claude mcp add` examples with `$(which airbrake_mcp)`
8
+
3
9
  ## [1.0.1] - 2025-01-06
4
10
 
5
11
  ### Changed
data/README.md CHANGED
@@ -48,36 +48,42 @@ bundle install
48
48
  ### Quick Setup
49
49
 
50
50
  ```bash
51
- claude mcp add airbrake -- airbrake_mcp \
51
+ claude mcp add airbrake $(which airbrake_mcp) \
52
52
  -e AIRBRAKE_USER_KEY=your_user_key \
53
53
  -e AIRBRAKE_PROJECT_ID=123456
54
54
  ```
55
55
 
56
- ### Manual Configuration
56
+ ### Using rbenv/asdf/chruby
57
57
 
58
- Add to `~/.claude/settings.json` or project's `.claude/settings.local.json`:
58
+ If you use a Ruby version manager, Claude Code runs in a non-interactive shell without access to your `.bashrc`/`.zshrc`. You need to provide the full path to the shim:
59
59
 
60
- ```json
61
- {
62
- "mcpServers": {
63
- "airbrake": {
64
- "command": "airbrake_mcp",
65
- "env": {
66
- "AIRBRAKE_USER_KEY": "your_user_key",
67
- "AIRBRAKE_PROJECT_ID": "123456"
68
- }
69
- }
70
- }
71
- }
60
+ ```bash
61
+ # For rbenv
62
+ claude mcp add airbrake ~/.rbenv/shims/airbrake_mcp \
63
+ -e AIRBRAKE_USER_KEY=your_user_key \
64
+ -e AIRBRAKE_PROJECT_ID=123456
65
+
66
+ # For asdf
67
+ claude mcp add airbrake ~/.asdf/shims/airbrake_mcp \
68
+ -e AIRBRAKE_USER_KEY=your_user_key \
69
+ -e AIRBRAKE_PROJECT_ID=123456
70
+
71
+ # For chruby (use full gem path)
72
+ claude mcp add airbrake $(gem environment gemdir)/bin/airbrake_mcp \
73
+ -e AIRBRAKE_USER_KEY=your_user_key \
74
+ -e AIRBRAKE_PROJECT_ID=123456
72
75
  ```
73
76
 
74
- Or if installed from source:
77
+ ### Manual Configuration
78
+
79
+ Add to `~/.claude/settings.json` or project's `.claude/settings.local.json`:
75
80
 
76
81
  ```json
77
82
  {
78
83
  "mcpServers": {
79
84
  "airbrake": {
80
- "command": "/path/to/airbrake_mcp/bin/airbrake_mcp",
85
+ "command": "/full/path/to/airbrake_mcp",
86
+ "args": [],
81
87
  "env": {
82
88
  "AIRBRAKE_USER_KEY": "your_user_key",
83
89
  "AIRBRAKE_PROJECT_ID": "123456"
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module AirbrakeMcp
4
- VERSION = '1.0.1'
4
+ VERSION = '1.0.2'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: airbrake_mcp
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - httplab