spring-ai-mcp-server-client

Provides a demo Spring AI MCP (Model Context Protocol) server that exposes simple tool/function-calling (math: sum/multiply) over SSE, and a client component that connects to that MCP server and offers a REST endpoint (/question) to accept user questions and produce model completions using OpenAI.

Evaluated Apr 04, 2026 (16d ago)
Repo ↗ DevTools ai-ml spring spring-boot mcp mcp-server mcp-client sse tool-calling java openai
⚙ Agent Friendliness
39
/ 100
Can an agent use this?
🔒 Security
38
/ 100
Is it safe for agents?
⚡ Reliability
20
/ 100
Does it work consistently?

Score Breakdown

⚙ Agent Friendliness

MCP Quality
55
Documentation
60
Error Messages
0
Auth Simplicity
35
Rate Limits
10

🔒 Security

TLS Enforcement
60
Auth Strength
25
Scope Granularity
10
Dep. Hygiene
45
Secret Handling
55

TLS enforcement for SSE/REST endpoints is not stated; Spring Boot defaults may apply but should not be assumed from the README. Auth is not documented for MCP server/SSE or the client REST endpoint; OpenAI API key is used by client via configuration. TRACE logging for MCP-related packages is enabled in example config, which can increase risk of sensitive data in logs if left on.

⚡ Reliability

Uptime/SLA
0
Version Stability
35
Breaking Changes
20
Error Recovery
25
AF Security Reliability

Best When

You want a minimal reference implementation to understand Spring AI MCP integration and tool-calling flow (SSE + function callbacks) quickly.

Avoid When

You need enterprise-grade security controls, clear rate limiting/error semantics, or long-term backward-compatibility guarantees based on documented release practices (not evidenced here).

Use Cases

  • Demonstrate or prototype MCP server/client integration with Spring AI
  • Expose specific backend functions/tools (e.g., math utilities) to an LLM via MCP
  • Build a simple interactive service that accepts user input via REST and routes execution through MCP tool calling
  • Learning/reference implementation for SSE-based MCP transport with Spring Boot

Not For

  • Production deployments requiring robust authn/authz, rate limiting, and hardened error handling by default
  • Use cases needing full-featured tool marketplaces, complex pagination, or standardized API contracts beyond the demo

Interface

REST API
Yes
GraphQL
No
gRPC
No
MCP Server
Yes
SDK
No
Webhooks
No

Authentication

Methods: OpenAI API key for the client component (application.yml)
OAuth: No Scopes: No

No auth for the described MCP/SSE endpoints or the client REST endpoint is documented in the README content provided.

Pricing

Free tier: No
Requires CC: No

No pricing for the project itself is stated; OpenAI API usage may incur costs from the client component.

Agent Metadata

Pagination
none
Idempotent
False
Retry Guidance
Not documented

Known Gotchas

  • README indicates SSE + MCP; agent reliability may depend on SSE connection stability and timeouts (not documented).
  • Logging level is configured to TRACE for MCP components; running at TRACE in production can leak sensitive data or increase log noise if not managed carefully.
  • Auth/rate limiting for the REST endpoint and SSE endpoints is not documented; agents should not assume protection is present.

Alternatives

Full Evaluation Report

Comprehensive deep-dive: security analysis, reliability audit, agent experience review, cost modeling, competitive positioning, and improvement roadmap for spring-ai-mcp-server-client.

AI-powered analysis · PDF + markdown · Delivered within 30 minutes

$99

Package Brief

Quick verdict, integration guide, cost projections, gotchas with workarounds, and alternatives comparison.

Delivered within 10 minutes

$3

Score Monitoring

Get alerted when this package's AF, security, or reliability scores change significantly. Stay ahead of regressions.

Continuous monitoring

$3/mo

Scores are editorial opinions as of 2026-04-04.

8642
Packages Evaluated
17761
Need Evaluation
586
Need Re-evaluation
Community Powered