# McpController#handle

- **Period:** 27 Jun 18:11 UTC – 28 Jun 01:18 UTC
- **Throughput**: 0.05 / min
- **Average:** 66.0 ms

## Most Impactful Sections
| Kind | Location | Avg ms | Avg calls | Impact | Command |
| ---- | -------- | -----: | --------: | -----: | ------- |
| code | app/controllers/mcp_controller.rb:15 | 30.43 | 1.0 | 46.07% | `McpController#handle` |
| http | app/lib/sensor/query/helpers/influx/base.rb:95 | 21.57 | 0.33 | 10.89% | `POST influxdb` |
| rack | /usr/local/bundle/gems/http_accept_language-2.1.1/lib/http_accept_language/middleware.rb:7 | 5.43 | 1.0 | 8.22% | `HttpAcceptLanguage::Middleware` |
| redis | /usr/local/bundle/gems/activesupport-8.1.3/lib/active_support/cache/redis_cache_store.rb:464 | 1.98 | 2.0 | 5.98% | `pipeline` |
| gc | ruby/gc.c | 3.39 | 0.86 | 4.40% | `GC.start` |
| cache | app/lib/sensor/query/helpers/influx/base.rb:79 | 3.31 | 0.62 | 3.10% | `read write` |
| rack | /usr/local/bundle/gems/actionpack-8.1.3/lib/action_dispatch/http/content_security_policy.rb:37 | 1.33 | 1.0 | 2.02% | `ActionDispatch::ContentSecurityPolicy::Middleware` |
| sql | app/lib/sensor/query/ranking.rb:91 | 2.17 | 0.57 | 1.87% | `SELECT "summary_values"."date", "summary_values"."value" FROM "summary_values" …` |
| redis | app/lib/mcp_oauth.rb:49 | 1.24 | 1.0 | 1.87% | `get` |
| rack | /usr/local/bundle/gems/railties-8.1.3/lib/rails/rack/logger.rb:20 | 1.05 | 1.0 | 1.59% | `Rails::Rack::Logger` |
| rack | /usr/local/bundle/gems/rack-attack-6.8.0/lib/rack/attack.rb:104 | 1.0 | 1.0 | 1.51% | `Rack::Attack` |
| rack | /usr/local/bundle/gems/actionpack-8.1.3/lib/action_dispatch/middleware/executor.rb:13 | 0.86 | 1.0 | 1.30% | `ActionDispatch::Executor` |
| redis | app/lib/sensor/query/helpers/influx/base.rb:79 | 1.31 | 0.62 | 1.23% | `get` |
| cache | app/lib/mcp_oauth.rb:49 | 0.67 | 1.0 | 1.01% | `read` |

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