getsentry / getsentry/sentry-java

Spring AI MCP Integration

Open
#5,233 2 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.