getsentry / getsentry/sentry-java
Spring AI MCP Integration
Open
Feature
Java
Platform: Java
Traces
- Dominant language
- Kotlin
- Stars
- 1.4k
- Forks
- 478
- Avg merge
- 2d 23h
- Merged PRs (30d)
- 67
Description
### Problem Statement
We want to create an integration (or rather extend our Spring Boot integration) to instrument Spring Boot MCP servers (`spring-ai`).
### Solution Brainstorm
Likely we can use `BeanPostProcessor` to wrap `SyncToolSpecification`/`AsyncToolSpecification` beans and create spans in a wrapper.
Some parts will have to be restricted via `sendDefaultPii` option and maybe an additional `capturePromps` option.
More details tbd.
Contributor guide
Assessment
This issue has not been assessed yet.