spring-ai-mcp-server-patterns SKILL.md skillA

spring-ai-mcp-server-patterns from giuseppe-trisciuoglio/developer-kit is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add giuseppe-trisciuoglio/developer-kit/spring-ai-mcp-server-patterns@git:20260324.a02e282

Pins git:20260324.a02e282 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
giuseppe-trisciuoglio/developer-kit
Path
plugins/developer-kit-java/skills/spring-ai-mcp-server-patterns/SKILL.md
Versions recorded
5
Latest version
git:20260324.a02e282, committed Mar 24, 2026
First version recorded
Feb 23, 2026
Size
10,692 bytes
Repository stars
367
License
MIT

Provides Spring Boot MCP server patterns that create Model Context Protocol servers with Spring AI by defining tool handlers, exposing resources, configuring prompt templates, and setting up transports for AI function calling and tool calling. Use when building MCP servers to extend AI capabilities with Spring's official AI framework, implementing AI tools, custom function calling, or MCP client integration.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# Spring AI MCP Server Implementation Patterns

Implements MCP servers with Spring AI for AI function calling, tool handlers, and MCP transport configuration.

## Overview

Production-ready MCP server patterns: `@Tool` functions, `@PromptTemplate` resources, and stdio/HTTP/SSE transports with Spring AI security.

## When to Use

MCP servers, Spring AI function calling, AI tools, tool calling, custom tool handlers, Spring Boot MCP, resource endpoints, or MCP transport configuration.

## Quick Reference

### Core Annotations

| Annotation | Target | Purpose |
|-----------|--------|---------|
| `@EnableMcpServer` | Class | Enable MCP server auto-configuration |
| `@Tool(description)` | Method | Declare AI-callable tool |
| `@ToolParam(value)` | Parameter | Document tool parameter for AI |
| `@PromptTemplate(name)` | Method | Declare reusable prompt template |
| `@PromptParam(value)` | Parameter | Document prompt parameter |

### Transport Types

| Transport | Use Case | Config |
|-----------|----------|--------|
| `stdio` | Local process / Claude Desktop | Default |
| `http` | Remote HTTP clients | `port`, `path` |
| `sse` | Real-time streaming clients | `port`, `path` |
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add giuseppe-trisciuoglio/developer-kit/spring-ai-mcp-server-patterns@sha256:10264f3028637e67

The line at the top of this page pins the label git:20260324.a02e282, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_fgabb6xar4bocmvd.svg)](https://markdownregistry.com/a/art_fgabb6xar4bocmvd)

5 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 5 versions of this file, between Feb 23, 2026 and Mar 24, 2026, about one every 7 days.

versioncommittedcommitsizeaudit
git:20260324.a02e282 latest2026-03-24 a02e282 10,692 BA view · diff
git:20260323.f468c032026-03-23 f468c03 11,055 BA view · diff
git:20260316.91dc3c42026-03-16 91dc3c4 66,738 BA view · diff
git:20260228.3187e792026-02-28 3187e79 66,740 BA view · diff
git:20260223.c6d4db12026-02-23 c6d4db1 66,399 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (10692 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

giuseppe-trisciuoglio/developer-kit · 367 stars · license MIT · pushed 2026-09-10 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_fgabb6xar4bocmvd
GET https://markdownregistry.com/api/v1/resolve?ref=giuseppe-trisciuoglio/developer-kit/spring-ai-mcp-server-patterns
GET https://markdownregistry.com/api/v1/blob/10264f3028637e67812fc6fc96c362624c2522ed6ff71ddbfe9cca28d7c4bb53

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from giuseppe-trisciuoglio/developer-kit

chunking-strategy SKILL.md skill
giuseppe-trisciuoglio/developer-kit · plugins/developer-kit-ai/skills/chunking-strategy/SKILL.md · Provides chunking strategies for RAG systems. Generates chunk size recommendations (256-1024 tokens), overlap…
git:20260324.a02e282 · audit A · 367 stars
prompt-engineering SKILL.md skill
giuseppe-trisciuoglio/developer-kit · plugins/developer-kit-ai/skills/prompt-engineering/SKILL.md · Provides workflows to write, debug, and optimize prompts for LLMs, including few-shot example selection…
git:20260316.68f3ca5 · audit A · 367 stars
rag SKILL.md skill
giuseppe-trisciuoglio/developer-kit · plugins/developer-kit-ai/skills/rag/SKILL.md · Implements document chunking, embedding generation, vector storage, and retrieval pipelines for Retrieval-Augmented…
git:20260324.a02e282 · audit A · 367 stars
aws-cloudformation-auto-scaling SKILL.md skill
giuseppe-trisciuoglio/developer-kit · plugins/developer-kit-aws/skills/aws-cloudformation/aws-cloudformation-auto-scaling/SKILL.md · Provides AWS CloudFormation patterns for Auto Scaling including EC2, ECS, and Lambda. Use when creating Auto Scaling…
git:20260324.a02e282 · audit A · 367 stars
aws-cloudformation-bedrock SKILL.md skill
giuseppe-trisciuoglio/developer-kit · plugins/developer-kit-aws/skills/aws-cloudformation/aws-cloudformation-bedrock/SKILL.md · Provides AWS CloudFormation patterns for Amazon Bedrock resources including agents, knowledge bases, data sources…
git:20260324.a02e282 · audit A · 367 stars
aws-cloudformation-cloudfront SKILL.md skill
giuseppe-trisciuoglio/developer-kit · plugins/developer-kit-aws/skills/aws-cloudformation/aws-cloudformation-cloudfront/SKILL.md · Provides AWS CloudFormation patterns for CloudFront distributions, origins (ALB, S3, Lambda@Edge, VPC Origins)…
git:20260324.a02e282 · audit A · 367 stars
aws-cloudformation-cloudwatch SKILL.md skill
giuseppe-trisciuoglio/developer-kit · plugins/developer-kit-aws/skills/aws-cloudformation/aws-cloudformation-cloudwatch/SKILL.md · Provides AWS CloudFormation patterns for CloudWatch monitoring, metrics, alarms, dashboards, logs, and observability…
git:20260324.a02e282 · audit A · 367 stars
aws-cloudformation-dynamodb SKILL.md skill
giuseppe-trisciuoglio/developer-kit · plugins/developer-kit-aws/skills/aws-cloudformation/aws-cloudformation-dynamodb/SKILL.md · Provides AWS CloudFormation patterns for DynamoDB tables, GSIs, LSIs, auto-scaling, and streams. Use when creating…
git:20260324.a02e282 · audit A · 367 stars
aws-cloudformation-ec2 SKILL.md skill
giuseppe-trisciuoglio/developer-kit · plugins/developer-kit-aws/skills/aws-cloudformation/aws-cloudformation-ec2/SKILL.md · Provides AWS CloudFormation patterns for EC2 instances, Security Groups, IAM roles, and load balancers. Use when…
git:20260324.a02e282 · audit A · 367 stars
aws-cloudformation-ecs SKILL.md skill
giuseppe-trisciuoglio/developer-kit · plugins/developer-kit-aws/skills/aws-cloudformation/aws-cloudformation-ecs/SKILL.md · Provides AWS CloudFormation patterns for ECS clusters, task definitions, services, container definitions, auto scaling…
git:20260324.a02e282 · audit A · 367 stars
aws-cloudformation-elasticache SKILL.md skill
giuseppe-trisciuoglio/developer-kit · plugins/developer-kit-aws/skills/aws-cloudformation/aws-cloudformation-elasticache/SKILL.md · Provides AWS CloudFormation patterns for ElastiCache Redis or Memcached infrastructure, including subnet groups…
git:20260323.2528036 · audit A · 367 stars
aws-cloudformation-iam SKILL.md skill
giuseppe-trisciuoglio/developer-kit · plugins/developer-kit-aws/skills/aws-cloudformation/aws-cloudformation-iam/SKILL.md · Provides AWS CloudFormation patterns for IAM roles, policies, managed policies, permission boundaries, and trust…
git:20260324.a02e282 · audit A · 367 stars

Every file in giuseppe-trisciuoglio/developer-kit

Browse by kind, by grade A, or by owner.