MCP MarkLogic 서버
이는 MarkLogic을 위한 MCP(Model Context Protocol) 서버 구현으로, MCP 도구를 통해 MarkLogic 데이터베이스와 상호 작용할 수 있도록 해줍니다.
서버는 다음과 같은 작업을 제공합니다.
문서 만들기
MarkLogic에서 선택적 컬렉션을 사용하여 문서 만들기
URI로 문서 읽기
URI로 문서 삭제
쿼리 문자열과 선택적 수집 필터를 사용하여 문서 검색
설치
지엑스피1
구성
서버에는 다음과 같은 환경 변수가 필요합니다.
용법
설치 및 구성이 완료되면 서버를 시작할 수 있습니다.
사용 가능한 도구
create-documentMarkLogic에서 새 문서를 만듭니다
매개변수:
uri: 문서 URI(필수)content: JSON 형식의 문서 내용(필수)collections: 문서를 추가할 컬렉션 목록(선택 사항)
read-documentMarkLogic에서 문서 읽기
매개변수:
uri: 문서 URI(필수)
delete-documentMarkLogic에서 문서 삭제
매개변수:
uri: 문서 URI(필수)
search-documentsMarkLogic에서 문서 검색
매개변수:
query: 검색 쿼리 문자열(필수)collections: 검색할 컬렉션 목록(선택 사항)
개발
설정
저장소를 복제합니다
가상 환경을 생성하고 활성화하세요
종속성 설치:
pip install -e .
테스트 실행
MarkLogic 설정
MarkLogic Server가 설치되어 실행 중인지 확인하세요.
포트 8000에 REST API 인스턴스가 없으면 새로 만듭니다.
적절한 권한이 있는 사용자를 만듭니다.
관리자 인터페이스로 이동합니다(일반적으로 http://localhost:8001 )
다음을 사용하여
python-docs-role역할을 만듭니다.역할:
rest-extension-user,rest-reader,rest-writer권한:
xdbc:eval,xdbc:invoke,xdmp:eval-in
다음을 사용하여
python-user만듭니다.비밀번호:
pyth0n역할:
python-docs-role
특허
MIT
This server cannot be installed
Related Resources
Related MCP Servers
- -securityFlicense-qualityA Model Context Protocol server that provides AI assistants with structured access to your Logseq knowledge graph, enabling retrieval, searching, analysis, and creation of content within your personal knowledge base.Last updated -54
- -securityAlicense-qualityA Model Context Protocol server that enables LLMs to interact with GraphQL APIs by providing schema introspection and query execution capabilities.Last updated -6761MIT License
- -securityAlicense-qualityA Model Context Protocol server that enables LLMs to interact with databases (currently MongoDB) through natural language, supporting operations like querying, inserting, deleting documents, and running aggregation pipelines.Last updated -MIT License
- -securityFlicense-qualityA Model Context Protocol server that enables LLMs to interact with GraphQL APIs by providing schema introspection and query execution capabilities.Last updated -3