Allows natural language control of OpenStack cloud infrastructure, including managing servers (create, restart, stop, delete), viewing server lists, searching images, checking flavors, and monitoring system status.
OpenStack MCP Server v0.1.0 (현대화 버전)
완전히 현대화된 OpenStack Model Context Protocol 서버
nest-asyncio + pydantic-settings 2.0+ 적용으로 안정성과 사용성 대폭 향상
Claude Desktop과 연동하여 OpenStack을 자연어로 제어할 수 있는 현대적이고 안정적인 MCP 서버입니다.
새로운 기능들 (v0.1.0)
안정성 향상
- [Fix] nest-asyncio 적용: 이벤트 루프 충돌 문제 완전 해결
- [Tool] 향상된 오류 처리: 상세한 진단 및 복구 안내
- [Check] 스마트 진단: 자동 문제 감지 및 해결책 제시
현대적 설정 관리
- [Config] pydantic-settings 2.0+: 타입 안전성과 자동 검증
- [Secure] 보안 강화: 민감 정보 자동 마스킹
- [Structure] 정리된 구조: 환경변수 우선순위 체계
향상된 사용자 경험
- [Chat] 자연어 인터페이스: 더욱 직관적인 대화형 제어
- [Mock] Mock 모드: OpenStack 없이도 완전한 기능 테스트
- [Monitor] 실시간 상태 모니터링: 건강 상태 및 성능 지표
빠른 시작 (2분)
Mock 모드 (OpenStack 없이 즉시 테스트)
실제 OpenStack 연결
설치 및 설정
사전 요구사항
- Python: 3.10 이상
- Poetry: 최신 버전
- Claude Desktop: 최신 버전
- OpenStack: DevStack, All-in-One, 또는 프로덕션 환경 (Mock 모드에서는 불필요)
의존성 설치
설정 방법
환경변수 또는 .env
파일을 사용하여 설정을 관리합니다. 두 방식은 함께 사용할 수 있으며, 환경변수가 항상 우선됩니다.
방법 1: .env 파일 (권장)
가장 일반적인 방법입니다. 제공된 예제 파일을 복사하여 시작하세요.
.env
파일에서 필요한 설정을 수정합니다. 최소한 OPENSTACK_
관련 변수들은 실제 환경에 맞게 변경해야 합니다.
방법 2: 환경변수 직접 설정
쉘에서 직접 환경변수를 설정하여 서버를 실행할 수도 있습니다. 이 방식은 .env
파일의 설정을 덮어씁니다.
Claude Desktop 연동
설정 파일 위치
- Windows:
%APPDATA%\Claude\claude_desktop_config.json
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json
- Linux:
~/.config/claude/claude_desktop_config.json
설정 파일 업데이트
[Tip]: claude_desktop_config.example.json
파일 참조
연결 테스트
- Claude Desktop 완전 종료 후 재시작
- 연결 상태 확인 (하단 녹색 표시)
- 첫 테스트: "OpenStack 서버 목록을 보여주세요"
사용 방법
기본 조회
고급 검색
서버 관리
진단 및 모니터링
문제 해결
"Already running asyncio" 오류
[OK] 해결됨! nest-asyncio 패치로 완전 해결
연결 진단
의존성 문제
Claude Desktop 연결 실패
- 절대 경로 사용 - 상대 경로 금지
- 경로 구분자 확인 - Windows:
\\
, Unix:/
- 권한 확인 - Poetry 실행 권한
- 로그 확인 - Claude Desktop 개발자 도구 (Ctrl+Shift+I)
현대화된 프로젝트 구조
테스트 및 개발
통합 테스트
개발 도구
명령줄 옵션
기술 스택
핵심 기술
- MCP: Model Context Protocol
- FastMCP: 현대적 MCP 서버 프레임워크
- nest-asyncio: 이벤트 루프 충돌 해결
- pydantic-settings: 타입 안전 설정 관리
지원 기술
- Poetry: 현대적 의존성 관리
- Python 3.10+: 최신 언어 기능
- OpenStack SDK: 공식 API 클라이언트
- JSON Schema: 자동 검증
로드맵
[OK] Phase 1: 현대화 (완료)
- nest-asyncio 적용
- pydantic-settings 도입
- 프로젝트 구조 현대화
- 완전한 Mock 모드
[In Progress] Phase 2: 확장 기능 (진행 중)
- 고급 서버 관리 (스냅샷, 백업)
- 네트워크 및 볼륨 관리
- 실시간 모니터링
- 알림 시스템
[Plan] Phase 3: 엔터프라이즈 (계획)
- 멀티 클러스터 지원
- RBAC (역할 기반 접근 제어)
- 감사 로그
- 대시보드 연동
기여하기
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature
) - Commit your changes (
git commit -m 'Add amazing feature'
) - Push to the branch (
git push origin feature/amazing-feature
) - Open a Pull Request
개발 가이드라인
- 타입 힌트 필수 사용
- pydantic 모델 활용
- asyncio 안전성 고려
- 테스트 작성 필수
라이센스
이 프로젝트는 MIT 라이센스하에 배포됩니다.
지원 및 커뮤니티
문제 해결
- Issues - 버그 리포트 및 기능 요청
- Discussions - 질문 및 아이디어 공유
참고 자료
감사의 말
- Anthropic - Model Context Protocol 개발
- OpenStack - 클라우드 인프라 플랫폼
- FastMCP - MCP 서버 프레임워크
- Pydantic - 타입 안전 데이터 검증
마지막 체크리스트
설치 후 확인사항
- 의존성 설치:
poetry install --sync
[OK] - 테스트 실행:
python test_mcp_simple.py
[OK] - Mock 모드:
poetry run python src/main.py --mock-mode
[OK] - Claude Desktop 설정 [OK]
- 첫 번째 대화: "OpenStack 서버 목록을 보여주세요" [OK]
성공 지표
- 이벤트 루프 충돌 없음 [OK]
- 타입 안전 설정 관리 [OK]
- Mock 모드 완전 작동 [OK]
- 자연어 명령 인식 [OK]
Happy Cloud Computing with Modern OpenStack MCP Server!
"OpenStack을 이제 Claude와 대화하듯 제어하세요!"
This server cannot be installed
hybrid server
The server is able to function both locally and remotely, depending on the configuration or use case.
Modern and stable Model Context Protocol server that enables controlling OpenStack through natural language commands via Claude Desktop.
Related MCP Servers
- -securityFlicense-qualityA Model Context Protocol server that enables Claude to manage software development projects with complete context awareness and code execution through Docker environments.Last updated -53Python
- AsecurityAlicenseAqualityA collection of Model Context Protocol servers that enable Claude Desktop to provide development assistance capabilities with filesystem, Git, shell command, and web search functionality without incurring API usage costs.Last updated -219TypeScriptMIT License
- -securityAlicense-qualityA custom Model Context Protocol server that gives Claude Desktop and other LLMs access to file system operations and command execution capabilities through standardized tool interfaces.Last updated -23PythonApache 2.0
- -securityAlicense-qualityA Model Context Protocol server that integrates high-quality text-to-speech capabilities with Claude Desktop and other MCP-compatible clients, supporting multiple voice options and audio formats.Last updated -141TypeScriptMIT License