# McpController#handle

- **Period:** 27 Jun 11:26 UTC – 27 Jun 23:25 UTC
- **Throughput**: 0.14 / min
- **Average:** 71.5 ms

## Most Impactful Sections
| Kind | Location | Avg ms | Avg calls | Impact | Command |
| ---- | -------- | -----: | --------: | -----: | ------- |
| http | app/lib/sensor/query/helpers/influx/base.rb:95 | 161.41 | 0.17 | 38.79% | `POST influxdb` |
| code | app/controllers/mcp_controller.rb:15 | 21.2 | 1.0 | 29.67% | `McpController#handle` |
| gc | ruby/gc.c | 7.95 | 0.64 | 7.08% | `GC.start` |
| rack | /usr/local/bundle/gems/http_accept_language-2.1.1/lib/http_accept_language/middleware.rb:7 | 3.87 | 1.0 | 5.41% | `HttpAcceptLanguage::Middleware` |
| redis | /usr/local/bundle/gems/activesupport-8.1.3/lib/active_support/cache/redis_cache_store.rb:464 | 1.3 | 2.0 | 3.63% | `pipeline` |
| cache | app/lib/sensor/query/helpers/influx/base.rb:79 | 4.46 | 0.26 | 1.64% | `read write` |
| rack | /usr/local/bundle/gems/rack-attack-6.8.0/lib/rack/attack.rb:104 | 0.99 | 1.0 | 1.39% | `Rack::Attack` |
| rack | /usr/local/bundle/gems/railties-8.1.3/lib/rails/rack/logger.rb:20 | 0.89 | 1.0 | 1.24% | `Rails::Rack::Logger` |
| redis | app/lib/mcp_oauth.rb:49 | 0.88 | 1.0 | 1.23% | `get` |

[View on RoRvsWild ↗](https://www.rorvswild.com/applications/136101/requests/McpController%23handle?range=12h)