About Spring AI MCP Server
Spring AI MCP Server is an MCP server published by haeseoky in the Developer Tools category: sample Spring AI MCP Server project built for fun and experimentation. ๐ It implements basic CRUD operations using an in-memory data store with dummy Person data. ๐ค.
The repository has 6 stars and 4 forks, with the last commit a year ago. Six months or more without a commit doesn't mean the server is broken, but check the open issues before depending on it in production.
Install
git clone https://github.com/haeseoky/spring-ai-mcp-serverThis server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.
Ask AI
Ask AI about Spring AI MCP Server
Powered by Claude · Grounded in docs
Security checks
- โREADME presentThe repository ships documentation.
5 checks have not been run yet.
README
Spring AI MCP Server
์คํ๋ง๋ถํธ์ AI๋ฅผ ํ์ฉํ ์์ , PPT ์์ฑ ์๋ฒ์ ๋๋ค.
์ฃผ์ ๊ธฐ๋ฅ
- AI๋ฅผ ํ์ฉํ ์์ ๋ฌธ์ ์๋ ์์ฑ
- AI๋ฅผ ํ์ฉํ PPT ํ๋ ์ ํ ์ด์ ์๋ ์์ฑ
- RESTful API๋ฅผ ํตํ ๋น๋๊ธฐ ๋ฌธ์ ์์ฑ ์์ฒญ ์ฒ๋ฆฌ
๊ธฐ์ ์คํ
- Java 17
- Spring Boot 3.2.3
- Spring AI 0.8.0 (OpenAI ํ์ฉ)
- Apache POI 5.2.5 (์์ , PPT ํ์ผ ์์ฑ)
์๊ตฌ ์ฌํญ
- Java 17 ์ด์
- OpenAI API ํค
์คํ ๋ฐฉ๋ฒ
- ํ๊ฒฝ ๋ณ์ ์ค์ :
OPENAI_API_KEY=your_api_key - ์ ํ๋ฆฌ์ผ์ด์
๋น๋:
./gradlew clean build - ์ ํ๋ฆฌ์ผ์ด์
์คํ:
java -jar build/libs/spring-ai-mcp-server-0.0.1-SNAPSHOT.jar
API ์ฌ์ฉ ์์
1. ์์ ๋ฌธ์ ์์ฑ ์์ฒญ
curl -X POST http://localhost:8080/api/documents \
-H "Content-Type: application/json" \
-d '{
"title": "2024๋
๋ถ๊ธฐ๋ณ ๋งค์ถ ๋ณด๊ณ ์",
"content": "2024๋
1๋ถ๊ธฐ์์ 3๋ถ๊ธฐ๊น์ง์ ๋งค์ถ ๋ฐ์ดํฐ๋ฅผ ํฌํจํ ๋ณด๊ณ ์๋ฅผ ์์ฑํฉ๋๋ค. ์ ํ ์นดํ
๊ณ ๋ฆฌ๋ณ ๋งค์ถ๊ณผ ์ดํฉ์ ํ์ํ๊ณ , ๋ถ๊ธฐ๋ณ ์ฆ๊ฐ๋ฅ ๋ ํ์ํด์ฃผ์ธ์.",
"documentType": "EXCEL",
"sections": ["๋งค์ถ ๊ฐ์", "์ ํ๋ณ ์ค์ ", "์ง์ญ๋ณ ์ค์ "]
}'
2. PowerPoint ํ๋ ์ ํ ์ด์ ์์ฑ ์์ฒญ
curl -X POST http://localhost:8080/api/documents \
-H "Content-Type: application/json" \
-d '{
"title": "AI ๊ธฐ์ ๋ํฅ 2025",
"content": "2025๋
ํ์ฌ์ AI ๊ธฐ์ ๋ํฅ์ ์๊ฐํ๋ ํ๋ ์ ํ
์ด์
์
๋๋ค. ์์ฑํ AI ๋ฐ์ , ๋๊ท๋ชจ ์ธ์ด ๋ชจ๋ธ, AI ์ค๋ฆฌ ๋ฐ ๊ท์ , ์ฐ์
๋ณ AI ์์ฉ ์ฌ๋ก ๋ฑ์ ๋ค๋ฃน๋๋ค.",
"documentType": "POWERPOINT",
"sections": ["์๋ก ", "์์ฑํ AI ๋ํฅ", "๋๊ท๋ชจ ์ธ์ด ๋ชจ๋ธ ๋ฐ์ ", "์ฐ์
๋ณ AI ์์ฉ", "์ค๋ฆฌ ๋ฐ ๊ท์ ", "๊ฒฐ๋ก "]
}'
3. ๋ฌธ์ ์์ฑ ์ํ ํ์ธ
curl -X GET http://localhost:8080/api/documents/{documentId}
4. ์์ฑ๋ ๋ฌธ์ ๋ค์ด๋ก๋
-
์์ ํ์ผ:
curl -X GET http://localhost:8080/api/documents/excel/download/{fileName} -
PowerPoint ํ์ผ:
curl -X GET http://localhost:8080/api/documents/ppt/download/{fileName}
์ค์ ์ต์
application.yml์์ ๋ค์ํ ์ค์ ์ ์กฐ์ ํ ์ ์์ต๋๋ค:
app:
document:
temp-dir: ${java.io.tmpdir}/spring-ai-mcp-server # ์์ ํ์ผ ์ ์ฅ ๊ฒฝ๋ก
ํฅํ ๊ฐ๋ฐ ๊ณํ
- Markdown ๋ฌธ์ ์์ฑ ๊ธฐ๋ฅ ์ถ๊ฐ
- Confluence ํ์ด์ง ์๋ ์์ฑ ๊ธฐ๋ฅ ์ถ๊ฐ
- ๋ค์ํ ๋ฌธ์ ํ ํ๋ฆฟ ์ง์
- ์ด๋ฏธ์ง ๋ฐ ์ฐจํธ ์๋ ์์ฑ ๊ธฐ๋ฅ
๋ผ์ด์ผ์ค
MIT License
README copy captured when this server was indexed; it may lag the repository. The original is authoritative.