Skip to content

Conversation

@paoxiaomooo
Copy link
Contributor

  • demonstrate how to filter injected MCP clients by server name
    using getServerInfo().name()

This helps users dynamically choose which MCP services to expose
based on context (e.g. permissions, intent), instead of registering
all available tools unconditionally.

demonstrate how to filter injected MCP clients by server name
  using getServerInfo().name()

Signed-off-by: Sizhe Fan <[email protected]>
@liuhongwei1998
Copy link

good

@ilayaperumalg ilayaperumalg self-assigned this Jul 16, 2025
@ilayaperumalg ilayaperumalg added documentation Improvements or additions to documentation MCP labels Jul 16, 2025
@ilayaperumalg ilayaperumalg added this to the 1.1.x milestone Jul 16, 2025
@ilayaperumalg
Copy link
Member

@paoxiaomooo Thanks for the documentation update!

@ilayaperumalg ilayaperumalg merged commit ffad572 into spring-projects:main Jul 16, 2025
2 checks passed
spring-builds pushed a commit that referenced this pull request Jul 16, 2025
Fixes #3751

demonstrate how to filter injected MCP clients by server name
  using getServerInfo().name()

Signed-off-by: Sizhe Fan <[email protected]>
(cherry picked from commit ffad572)
scionaltera pushed a commit to scionaltera/spring-ai that referenced this pull request Sep 3, 2025
…3751)

Auto-cherry-pick to 1.0.x
Fixes spring-projects#3751

demonstrate how to filter injected MCP clients by server name
  using getServerInfo().name()

Signed-off-by: Sizhe Fan <[email protected]>
chedim pushed a commit to couchbaselabs/spring-ai that referenced this pull request Sep 19, 2025
…3751)

Auto-cherry-pick to 1.0.x
Fixes spring-projects#3751

demonstrate how to filter injected MCP clients by server name
  using getServerInfo().name()

Signed-off-by: Sizhe Fan <[email protected]>
Willam2004 pushed a commit to Willam2004/spring-ai that referenced this pull request Oct 11, 2025
…3751)

Auto-cherry-pick to 1.0.x
Fixes spring-projects#3751

demonstrate how to filter injected MCP clients by server name
  using getServerInfo().name()

Signed-off-by: Sizhe Fan <[email protected]>
Signed-off-by: 家娃 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants