Crossref MCP 서버
Crossref API와 상호작용하기 위한 MCP(모델 컨텍스트 프로토콜) 서버입니다.
특징
- 제목으로 작품 검색
- 작가별 작품 검색
- DOI로 작업 세부 정보 가져오기
설치
지엑스피1
용법
서버는 세 가지 주요 도구를 제공합니다.
1. 제목으로 검색
제목으로 Crossref에서 작품 검색:
2. 작성자로 검색
저자별로 Crossref에서 작품 검색:
3. DOI로 작업 가져오기
DOI를 사용하여 특정 작품을 검색합니다.
응답 형식
모든 응답은 다음 형식의 구조화된 JSON 객체로 반환됩니다.
성공적인 검색을 위해:
단일 DOI 조회의 경우:
오류가 있거나 결과가 없는 경우:
테스트
이 서버에는 Vitest를 활용한 포괄적인 테스트 도구가 포함되어 있습니다. 테스트는 사용 가능한 모든 도구를 다루며, 성공적인 응답, 빈 결과, 오류 처리 등 다양한 시나리오를 포함합니다.
테스트 실행
테스트 구조
이 테스트는 Vitest의 모의 기능을 사용하여 실제 네트워크 요청을 하지 않고 Crossref API 응답을 시뮬레이션합니다. 테스트 구조는 다음과 같습니다.
- 모의 데이터 : 제목 검색, 저자 검색 및 DOI 조회에 대한 샘플 응답
- 모의 핸들러 :
mcp-server-test-handlers.js
의 핸들러 함수 테스트 버전 - 테스트 사례 : 다음을 포함하는 모든 도구에 대한 테스트:
- 성공적인 API 응답
- 빈 결과 세트
- 오류 처리 및 네트워크 장애
테스트 확장
테스트 사례를 더 추가하려면:
- 필요한 경우 테스트 파일에 새로운 모의 데이터를 추가합니다.
- 관련 설명 블록에 추가 테스트 케이스를 만듭니다.
- API 응답을 시뮬레이션하려면
mockFetchResponse()
도우미를 사용하세요.
예:
This server cannot be installed
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
학술 출판물을 제목, 저자 또는 DOI로 검색하여 학술 작품에 대한 구조화된 메타데이터를 반환하는 Crossref API 쿼리를 지원하는 모델 컨텍스트 프로토콜 서버입니다.
Related MCP Servers
- -securityAlicense-qualitySemantic Scholar API, providing comprehensive access to academic paper data, author information, and citation networks.Last updated -35PythonMIT License
- AsecurityAlicenseAqualityA Model Context Protocol server that provides access to the DBLP computer science bibliography database, allowing AI models to search publications, process citations, and generate accurate BibTeX entries.Last updated -61PythonMIT License
- -securityFlicense-qualityA Model-Client-Protocol server that enables users to search the Gallica digital library of the National Library of France and generate structured sequential research reports with formatted citations and relevant images.Last updated -2Python
- -securityFlicense-qualityProvides tools for accessing the Semantic Scholar API to search papers, retrieve paper and author details, and fetch citations and references through the Model Context Protocol.Last updated -1Python