
ruby sentry mcp
用于 Sentry 集成的 Ruby 实现的模型上下文协议 (MCP) 服务器。
Repository Info
About This Server
用于 Sentry 集成的 Ruby 实现的模型上下文协议 (MCP) 服务器。
Model Context Protocol (MCP) - This server can be integrated with AI applications to provide additional context and capabilities, enabling enhanced AI interactions and functionality.
Documentation
Ruby Sentry MCP
A Ruby implementation of the Model Context Protocol (MCP) server for Sentry integration.
Installation
Add this line to your application's Gemfile:
gem 'ruby-sentry-mcp'
And then execute:
$ bundle install
Usage
Start the MCP server:
$ bundle exec ruby-sentry-mcp start --auth-token YOUR_SENTRY_TOKEN
Development Guidelines
Running Tests
To run the test suite:
$ bundle install
$ bundle exec rake spec
To run specific tests:
$ bundle exec rspec spec/ruby/sentry/mcp/server_spec.rb # Run all server specs
$ bundle exec rspec spec/ruby/sentry/mcp/server_spec.rb:42 # Run specific test at line 42
$ bundle exec rspec --tag focus # Run only focused specs
Adding or Updating Tools
-
Update
TOOLS.md:- Move tool from "Planned" to "Implemented" section
- Add implementation date
- Update status to ✅ Completed
- List all implemented features
-
Testing Requirements:
- All tools must have corresponding tests in
spec/ruby/sentry/mcp/ - Tests should cover:
- Success cases with mock responses
- Error handling
- Parameter validation
- Response formatting
- Use RSpec and WebMock for HTTP request mocking
- All tools must have corresponding tests in
-
Documentation:
- Update method documentation with YARD format
- Include example usage in comments
- Document all parameters and return values
Commit Message Format
All commit messages must be written in the style of a sea shanty and follow this format:
($TYPE) $SHANTY_TITLE
[Sea shanty verses about the changes]
* Bullet points of specific changes
* More specific changes
* etc.
Where:
$TYPEis one of:- B: Behavioral (system behavior changes)
- S: Structural (refactoring)
- T: Testing (spec changes)
$SHANTY_TITLEis a sea shanty themed title for the changes
Example:
(B) Yo Ho Ho, A New Tool Sets Sail!
Hear ye, hear ye, developers true,
A new Sentry tool is coming through!
With tests so strong and docs so clear,
This code will bring us all good cheer!
* Added new tool functionality
* Implemented comprehensive tests
* Updated documentation
* Added error handling
Contributing
- Create a new branch or fork the repository
- Make your changes following the guidelines above
- Add tests for any new functionality
- Update TOOLS.md if adding/modifying tools
- Create a pull request with a sea shanty commit message
License
The gem is available as open source under the terms of the MIT License.
Code of Conduct
Everyone interacting in the Ruby Sentry MCP project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.
Quick Start
Clone the repository
git clone https://github.com/refriedchicken/ruby-sentry-mcpInstall dependencies
cd ruby-sentry-mcp
npm installFollow the documentation
Check the repository's README.md file for specific installation and usage instructions.
Repository Details
Recommended MCP Servers
Discord MCP
Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.
Knit MCP
Connect AI agents to 200+ SaaS applications and automate workflows.
Apify MCP Server
Deploy and interact with Apify actors for web scraping and data extraction.
BrowserStack MCP
BrowserStack MCP Server for automated testing across multiple browsers.
Zapier MCP
A Zapier server that provides automation capabilities for various apps.