# McpController#handle

- **Period:** 27 Jun 09:45 UTC – 27 Jun 14:23 UTC
- **Throughput**: 0.17 / min
- **Average:** 36.5 ms

## Most Impactful Sections
| Kind | Location | Avg ms | Avg calls | Impact | Command |
| ---- | -------- | -----: | --------: | -----: | ------- |
| code | app/controllers/mcp_controller.rb:15 | 16.51 | 1.0 | 45.24% | `McpController#handle` |
| gc | ruby/gc.c | 6.48 | 0.57 | 10.20% | `GC.start` |
| http | app/lib/sensor/query/helpers/influx/base.rb:95 | 22.67 | 0.13 | 7.93% | `POST influxdb` |
| rack | /usr/local/bundle/gems/http_accept_language-2.1.1/lib/http_accept_language/middleware.rb:7 | 2.89 | 1.0 | 7.93% | `HttpAcceptLanguage::Middleware` |
| redis | /usr/local/bundle/gems/activesupport-8.1.3/lib/active_support/cache/redis_cache_store.rb:464 | 1.06 | 2.0 | 5.83% | `pipeline` |
| rack | /usr/local/bundle/gems/rack-attack-6.8.0/lib/rack/attack.rb:104 | 0.91 | 1.0 | 2.51% | `Rack::Attack` |
| redis | app/lib/mcp_oauth.rb:49 | 0.91 | 1.0 | 2.51% | `get` |
| cache | app/lib/sensor/query/helpers/influx/base.rb:79 | 4.25 | 0.17 | 1.98% | `read write` |
| rack | /usr/local/bundle/gems/railties-8.1.3/lib/rails/rack/logger.rb:20 | 0.64 | 1.0 | 1.75% | `Rails::Rack::Logger` |
| rack | /usr/local/bundle/gems/actionpack-8.1.3/lib/action_dispatch/http/content_security_policy.rb:37 | 0.47 | 1.0 | 1.28% | `ActionDispatch::ContentSecurityPolicy::Middleware` |
| cache | /usr/local/bundle/gems/activesupport-8.1.3/lib/active_support/notifications/fanout.rb:158 | 0.21 | 2.0 | 1.17% | `increment` |

[View on RoRvsWild ↗](https://www.rorvswild.com/applications/136101/requests/McpController%23handle?range=2026-06-27+09%3A45%3A13+UTC..2026-06-27+14%3A23%3A13+UTC)