feat: connection manager related tool#90
Merged
Uh oh!
There was an error while loading. Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Overview
권한 및 오픈스택 환경을 변경하며 interaction할 수 있도록 ConnectionManager 관련 tool를 추가
Key Changes
tools/connection.py생성하여 cloud를 선택하고 조회할 수 있는 툴 추가Related Issues
cloudin openstack mcp servers. #89Additional context
실행 화면 예시

처음 issue에서는 config 정보를 resource로 제공하려고 했는데요. 아래 이유로 인해 tool로 제공하고자 하는데, 편하게 의견 주세요.
resource는 사용자가 직접 추가해야하는데, 현재 경우에 적합하지 않다고 생각하였습니다.

활성화 여부만 체크하면 되는 tool과 달리 사진처럼 resource는 가져와서 대화에 포함시켜야하는데, 사용자가 의도적으로 포함시켜서 질의하는 상황에 적합하다고 판단됩니다. 이 기능은 권한 오류 등이 발생할 때, llm이 function calling으로 get config -> set config를 수행하는 것을 의도하므로 암묵적으로 포함되어야 합니다. 현재로는 사용자가 mcp tool 호출시 오류를 겪을 때 오류 내용 기반으로 질문하기 위한 openstack sdk 호출 "로그 파일" 정도가 resource에 적합하다고 생각이 듭니다.