Spring AI MCP PoC
@shesadri
关于 Spring AI MCP PoC
Spring AI integration with GitHub MCP server and LLM model - Proof of Concept
基本信息
配置
工具
未检测到工具
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
What is Spring AI MCP PoC?
Spring AI MCP PoC is a proof-of-concept application that integrates the Spring AI framework with GitHub’s Model Context Protocol (MCP) server and OpenAI’s GPT models. It processes natural language prompts, enables function calling for GitHub operations, and provides a RESTful API for AI-powered interactions.
How to use Spring AI MCP PoC?
Clone the repository, set environment variables (OPENAI_API_KEY required; GITHUB_MCP_SERVER_URL and GITHUB_TOKEN optional), then build and run with ./gradlew build and ./gradlew bootRun. Use POST /api/v1/prompt to process prompts (JSON with "prompt" and "enableMcpTools" fields) and GET /api/v1/mcp/tools to list available MCP tools.
Key features of Spring AI MCP PoC
- Spring AI integration for LLM interactions
- GitHub MCP support via Model Context Protocol
- AI function calling for GitHub operations
- RESTful API endpoints for prompt processing
- Configurable environment variables and application properties
- Robust error handling and logging
Use cases of Spring AI MCP PoC
- Build an AI assistant that queries and manages GitHub repositories
- Prototype a natural‑language interface for GitHub APIs
- Test and evaluate MCP integration with Spring AI and OpenAI
FAQ from Spring AI MCP PoC
What are the prerequisites to run Spring AI MCP PoC?
You need Java 17+, Gradle 8.6+, and an OpenAI API key. Optionally, a running GitHub MCP server and a GitHub personal access token for enhanced features.
How do I configure the GitHub MCP server?
Set the GITHUB_MCP_SERVER_URL environment variable or the app.github.mcp.server.url property in application.yml. The server must provide repository, issue, pull request, and code search endpoints.
What happens if no GitHub MCP server is available?
The application still works but with limited GitHub integration. Basic prompt processing and AI responses will function without the MCP server.
Which API endpoints are available?
GET /api/v1/health – health check, POST /api/v1/prompt – process an AI prompt, and GET /api/v1/mcp/tools – list available MCP tools.
What technologies does Spring AI MCP PoC use?
Spring Boot 3.2.5, Spring AI 1.0.0-M1, OpenAI GPT-4, WebFlux, Jackson, and Gradle 8.6.
其他 分类下的更多 MCP 服务器
Mcp
browsermcpBrowser MCP is a Model Context Provider (MCP) server that allows AI applications to control your browser
AutoBrowser MCP
autobrowser-aiBrowser MCP is a Model Context Provider (MCP) server that allows AI applications to control your browser
ACI: Open-Source Infra to Power Unified MCP Servers
aipotheosis-labsACI.dev is the open source tool-calling platform that hooks up 600+ tools into any agentic IDE or custom AI agent through direct function calling or a unified MCP server. The birthplace of VibeOps.
FastMCP v2 🚀
jlowin🚀 The fast, Pythonic way to build MCP servers and clients.
🚀 Model Context Protocol (MCP) Curriculum for Beginners
microsoftThis open-source curriculum introduces the fundamentals of Model Context Protocol (MCP) through real-world, cross-language examples in .NET, Java, TypeScript, JavaScript, Rust and Python. Designed for developers, it focuses on practical techniques for building modular, scalable,
评论