KM

kaliaboi/mcp-zotero

API development

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

163 stars 19 forks 품질 65 트렌드 0MIT

kaliaboi/mcp-zotero는 [[T0]에서 가져온 MCP 서버 후보입니다.

개요

kaliaboi/mcp-zotero는 [[T0]에서 가져온 MCP 서버 후보입니다.

개요(AI 번역)

Claude가 Zotero 라이브러리와 상호작용할 수 있도록 하는 Zotero 통합용 모델 컨텍스트 프로토콜 서버입니다.

준비

  1. 조테로 자격 증명 획득:

답변은 다음과 같습니다:

필요한 것은 userID 값입니다.

  1. 환경 변수 설정:

  2. 신분증명서 확인:

답변에서 채권 목록을 보실 수 있을 겁니다.

  1. 설치 및 실행:

클로드 데스크톱과의 통합

이 서버를 Claude Desktop과 함께 사용하려면 Claude Desktop 설정에 다음 사항을 추가하세요:

사용 가능한 도구

  • get_collections: 라이브러리 내 모든 컬렉션을 나열하세요
  • get_collection_items: 특정 컬렉션의 아이템 획득
  • get_item_details: 논문에 대한 상세 정보 얻기
  • search_library: 라이브러리 전체 검색
  • get_recent: 최근에 추가된 서류 받기

문제 해결

문제가 생기면:

  1. 환경 변수가 설정되어 있는지 확인하세요:

  2. 설치 상태 점검:

  3. 재설치를 시도해보세요:

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.

README

MCP Zotero

A Model Context Protocol server for Zotero integration that allows Claude to interact with your Zotero library.

Setup

  1. Get your Zotero credentials:

    # First, create an API key at https://www.zotero.org/settings/keys
    # Then use it to get your user ID:
    curl -H "Zotero-API-Key: YOUR_API_KEY" https://api.zotero.org/keys/current
    

    The response will look like:

    {
      "userID": 123456,
      "username": "your_username",
      "access": {
        "user": {
          "library": true,
          "files": true,
          "notes": true,
          "write": true
        }
      }
    }
    

    The userID value is what you need.

  2. Set environment variables:

    export ZOTERO_API_KEY="your-api-key"
    export ZOTERO_USER_ID="user-id-from-curl"
    
  3. Verify your credentials:

    # Test that your credentials work:
    curl -H "Zotero-API-Key: $ZOTERO_API_KEY" \
         "https://api.zotero.org/users/$ZOTERO_USER_ID/collections"
    

    You should see your collections list in the response.

  4. Install and run:

    # Install globally (recommended)
    npm install -g mcp-zotero
    mcp-zotero
    
    # Or run directly with npx
    npx mcp-zotero
    

Integration with Claude Desktop

To use this server with Claude Desktop, add the following to your Claude Desktop configuration:

{
  "mcpServers": {
    "zotero": {
      "command": "mcp-zotero",
      "env": {
        "ZOTERO_API_KEY": YOUR_API_KEY,
        "ZOTERO_USER_ID": YOUR_USER_ID
      }
    }
  }
}

Available Tools

  • get_collections: List all collections in your library
  • get_collection_items: Get items in a specific collection
  • get_item_details: Get detailed information about a paper
  • search_library: Search your entire library
  • get_recent: Get recently added papers

Troubleshooting

If you encounter any issues:

  1. Verify your environment variables are set:

    echo $ZOTERO_API_KEY
    echo $ZOTERO_USER_ID
    
  2. Check the installation:

    npm list -g mcp-zotero
    
  3. Try reinstalling:

    npm uninstall -g mcp-zotero
    npm install -g mcp-zotero
    
GitHub에서 전체 README 보기

설치

npx mcp-zotero
MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →

설정

{ "mcpServers": { "zotero": { "command": "mcp-zotero", "env": { "ZOTERO_API_KEY": YOUR_API_KEY, "ZOTERO_USER_ID": YOUR_USER_ID } } } }