MCP cover image
See in Github
2025-04-04

스프링부트와 AI를 활용한 엑셀, PPT 생성 서버

1

Github Watches

0

Github Forks

0

Github Stars

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 키

실행 방법

  1. 환경 변수 설정: OPENAI_API_KEY=your_api_key
  2. 애플리케이션 빌드:
    ./gradlew clean build
    
  3. 애플리케이션 실행:
    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

相关推荐

  • https://suefel.com
  • Latest advice and best practices for custom GPT development.

  • Yusuf Emre Yeşilyurt
  • I find academic articles and books for research and literature reviews.

  • https://maiplestudio.com
  • Find Exhibitors, Speakers and more

  • Carlos Ferrin
  • Encuentra películas y series en plataformas de streaming.

  • Joshua Armstrong
  • Confidential guide on numerology and astrology, based of GG33 Public information

  • Contraband Interactive
  • Emulating Dr. Jordan B. Peterson's style in providing life advice and insights.

  • rustassistant.com
  • Your go-to expert in the Rust ecosystem, specializing in precise code interpretation, up-to-date crate version checking, and in-depth source code analysis. I offer accurate, context-aware insights for all your Rust programming questions.

  • Elijah Ng Shi Yi
  • Advanced software engineer GPT that excels through nailing the basics.

  • Emmet Halm
  • Converts Figma frames into front-end code for various mobile frameworks.

  • lumpenspace
  • Take an adjectivised noun, and create images making it progressively more adjective!

  • apappascs
  • Discover the most comprehensive and up-to-date collection of MCP servers in the market. This repository serves as a centralized hub, offering an extensive catalog of open-source and proprietary MCP servers, complete with features, documentation links, and contributors.

  • modelcontextprotocol
  • Model Context Protocol Servers

  • Mintplex-Labs
  • The all-in-one Desktop & Docker AI application with built-in RAG, AI agents, No-code agent builder, MCP compatibility, and more.

  • ShrimpingIt
  • Micropython I2C-based manipulation of the MCP series GPIO expander, derived from Adafruit_MCP230xx

  • n8n-io
  • Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.

  • open-webui
  • User-friendly AI Interface (Supports Ollama, OpenAI API, ...)

  • WangRongsheng
  • 🧑‍🚀 全世界最好的LLM资料总结(Agent框架、辅助编程、数据处理、模型训练、模型推理、o1 模型、MCP、小语言模型、视觉语言模型) | Summary of the world's best LLM resources.

    Reviews

    3 (1)
    Avatar
    user_KOA0BdYw
    2025-04-16

    The spring-ai-mcp-server by haeseoky is a phenomenal tool for embedded AI solutions. Its seamless integration and efficient performance have significantly improved my development workflow. Great documentation and community support make it a must-use tool for any AI developer. Highly recommend checking it out on GitHub!