Apache Jena용 MCP 서버
SPARQL 쿼리 기능을 위해 AI 에이전트를 Apache Jena에 연결하는 MCP(Model Context Protocol) 서버입니다.
개요
이 프로젝트는 AI 에이전트(예: Cursor, Claude for Cline, Claude Desktop)가 Apache Jena에 저장된 RDF 데이터에 접근하고 쿼리할 수 있도록 하는 MCP 서버를 구현합니다. 이 서버는 Jena Fuseki 서버에 대해 SPARQL 쿼리 및 업데이트를 실행하는 도구를 제공합니다.
특징
- Jena Fuseki 서버에 대해 SPARQL 쿼리 실행
- RDF 데이터를 수정하기 위해 SPARQL 업데이트를 실행합니다.
- 데이터 세트에서 사용 가능한 명명된 그래프 나열
- Jena Fuseki에 대한 HTTP 기본 인증 지원
- 모델 컨텍스트 프로토콜과 호환
필수 조건
- Node.js(v16 이상)
- RDF 데이터가 로드된 Apache Jena Fuseki 서버가 실행 중입니다.
- 모델 컨텍스트 프로토콜(예: 커서, 클라인의 클로드)을 지원하는 AI 에이전트
설치
- 이 저장소를 복제하세요:지엑스피1
- 종속성 설치:
- TypeScript 코드를 작성합니다.
용법
기본 설정(Jena의 경우 localhost:3030, 데이터 세트의 경우 'ds')으로 서버를 실행합니다.
또는 사용자 지정 Jena 엔드포인트, 데이터 세트 및 인증 자격 증명을 지정합니다.
짧은 플래그를 사용할 수도 있습니다.
자동 변환 기능이 있는 개발 모드의 경우:
도커
Docker를 사용하여 MCP Jena 서버를 실행할 수 있습니다.
Docker 이미지 빌드
Docker로 실행
사용 가능한 도구
이 MCP 서버는 다음과 같은 도구를 제공합니다.
execute_sparql_query
- Jena 데이터 세트에 대해 SPARQL 쿼리를 실행합니다.execute_sparql_update
- SPARQL 업데이트 쿼리를 실행하여 데이터 세트를 수정합니다.list_graphs
- 데이터 세트에서 사용 가능한 모든 명명된 그래프를 나열합니다.
환경 변수
환경 변수를 사용하여 서버를 구성할 수도 있습니다.
JENA_FUSEKI_URL
: Jena Fuseki 서버의 URL(기본값: http://localhost:3030 )DEFAULT_DATASET
: 기본 데이터 세트 이름(기본값: ds)JENA_USERNAME
: Jena Fuseki에 대한 HTTP 기본 인증을 위한 사용자 이름JENA_PASSWORD
: Jena Fuseki에 대한 HTTP 기본 인증을 위한 비밀번호PORT
: MCP 서버의 포트(HTTP 전송용, 기본값: 8080)API_KEY
: MCP 서버 인증을 위한 API 키
SPARQL 쿼리 예시
기본 SELECT 쿼리:
UPDATE로 데이터 삽입:
특정 이름이 지정된 그래프를 쿼리합니다.
자원
This server cannot be installed
hybrid server
The server is able to function both locally and remotely, depending on the configuration or use case.
AI 에이전트를 Apache Jena에 연결하여 Jena Fuseki에 저장된 RDF 데이터에 대해 SPARQL 쿼리와 업데이트를 실행할 수 있도록 하는 모델 컨텍스트 프로토콜 서버입니다.
Related MCP Servers
- -securityFlicense-qualityA server implementation that allows AI models to interact with Jira through the Model Context Protocol, enabling tasks like JQL searches and retrieving issue details.Last updated -Python
- AsecurityAlicenseAqualityA Model Context Protocol server that enables AI agents to interact with local Logseq knowledge graphs, supporting operations like creating/editing pages and blocks, searching content, and managing journal entries.Last updated -137PythonMIT License
CodeAlive MCPofficial
-securityAlicense-qualityA Model Context Protocol server that enhances AI agents by providing deep semantic understanding of codebases, enabling more intelligent interactions through advanced code search and contextual awareness.Last updated -40PythonMIT License- -securityFlicense-qualityModel Context Protocol server that allows AI assistants to interact with Jira, supporting operations like creating tickets and fetching project information directly from the cursor.Last updated -Python