Skip to content

ajeetcloud/spring-ai-mcp-server-resources

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

11 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿง  spring-ai-mcp-server-resources

This project demonstrates how to expose local documents as MCP (Model Context Protocol) resources using Spring AI.
It allows AI models (through the MCP protocol) to access files dynamically from a local directory โ€” such as .txt, .md, .json, or other text-based documents.

๐Ÿ“บ Youtube Tutorial

YouTube Video

๐Ÿš€ Features

  • ๐Ÿ“ Automatically registers all files in a given directory.
  • ๐Ÿงฉ Exposes each file as a resource via McpServerFeatures.SyncResourceSpecification
  • โš™๏ธ Simple and extensible Spring Boot setup
  • ๐Ÿง  Compatible with Spring AI MCP Client โ€” resources can be discovered and read by an AI model at runtime

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages