citygml_mcp_server
0
This project provides an implementation of a server that accesses CityGML data utilizing the Model Context Protocol (MCP). It features functionalities like message echoing and includes both stdio and HTTP server implementations.
CityGML MCP 서버
이 프로젝트는 Model Context Protocol (MCP)을 사용하여 CityGML 데이터에 접근할 수 있는 서버를 구현합니다.
설치
npm install
빌드
npm run build
실행
기본(stdio) 서버 실행:
npm start
HTTP 서버 실행:
node dist/http-server.js --http
클라이언트 실행:
node dist/client.js
기능
- 에코 리소스: 메시지를 에코하는 간단한 리소스 구현
- 에코 도구: 메시지를 에코하는 도구 구현
- 에코 프롬프트: 메시지 포맷팅을 위한 프롬프트 구현
구조
src/index.ts
: 기본 stdio 기반 MCP 서버 구현src/http-server.ts
: HTTP 및 SSE 기반 MCP 서버 구현src/client.ts
: MCP 클라이언트 예제