# McpController#handle

- **Period:** 27 Jun 16:22 UTC – 27 Jun 18:11 UTC
- **Throughput**: 0.41 / min
- **Average:** 49.5 ms

## Most Impactful Sections
| Kind | Location | Avg ms | Avg calls | Impact | Command |
| ---- | -------- | -----: | --------: | -----: | ------- |
| code | app/controllers/mcp_controller.rb:15 | 25.27 | 1.0 | 51.01% | `McpController#handle` |
| gc | ruby/gc.c | 12.36 | 0.5 | 12.48% | `GC.start` |
| http | app/lib/sensor/query/helpers/influx/base.rb:95 | 24.33 | 0.14 | 6.70% | `POST influxdb` |
| rack | /usr/local/bundle/gems/http_accept_language-2.1.1/lib/http_accept_language/middleware.rb:7 | 3.25 | 1.0 | 6.56% | `HttpAcceptLanguage::Middleware` |
| redis | /usr/local/bundle/gems/activesupport-8.1.3/lib/active_support/cache/redis_cache_store.rb:464 | 1.08 | 2.0 | 4.36% | `pipeline` |
| cache | app/lib/sensor/query/helpers/influx/base.rb:79 | 7.89 | 0.2 | 3.26% | `read write` |
| rack | /usr/local/bundle/gems/rack-attack-6.8.0/lib/rack/attack.rb:104 | 1.09 | 1.0 | 2.20% | `Rack::Attack` |
| redis | app/lib/mcp_oauth.rb:49 | 0.8 | 1.0 | 1.61% | `get` |
| rack | /usr/local/bundle/gems/railties-8.1.3/lib/rails/rack/logger.rb:20 | 0.66 | 1.0 | 1.33% | `Rails::Rack::Logger` |
| rack | /usr/local/bundle/gems/actionpack-8.1.3/lib/action_dispatch/http/content_security_policy.rb:37 | 0.55 | 1.0 | 1.10% | `ActionDispatch::ContentSecurityPolicy::Middleware` |

[View on RoRvsWild ↗](https://www.rorvswild.com/applications/136101/requests/McpController%23handle?range=2026-06-27+16%3A22%3A59+UTC..2026-06-27+18%3A11%3A09+UTC)