Jina AI MCP Server

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.

Integrations

  • Used for loading API key from environment variables, allowing secure configuration of the Jina AI integration

  • Serves as the runtime environment for the MCP server, executing the Jina AI integration

  • Used for defining tool signatures and response formats when interacting with Jina AI's neural search capabilities

지나 AI MCP 서버

Jina AI의 신경망 검색 기능과 완벽하게 통합되는 모델 컨텍스트 프로토콜(MCP) 서버입니다. 이 서버는 간단한 인터페이스를 통해 의미 검색, 이미지 검색 및 크로스 모달 검색 기능을 제공합니다.

🚀 특징

  • 의미 검색 : 자연어 쿼리를 사용하여 의미적으로 유사한 문서 찾기
  • 이미지 검색 : 이미지 URL을 사용하여 시각적으로 유사한 이미지를 검색합니다.
  • 크로스 모달 검색 : 텍스트-이미지 또는 이미지-텍스트 검색 수행

📋 필수 조건

🛠️ 설치

  1. 저장소를 복제합니다.

지엑스피1

  1. 종속성 설치:
npm install
  1. Jina AI API 키로 .env 파일을 만듭니다.
JINA_API_KEY=your_api_key_here
  1. 서버를 빌드하세요:
npm run build

⚙️ 구성

MCP 설정 파일에 다음 구성을 추가하세요.

{ "mcpServers": { "jina-ai": { "command": "node", "args": [ "/path/to/jina-ai-mcp/build/index.js" ], "env": { "JINA_API_KEY": "your_api_key_here" } } } }

🔍 사용 가능한 도구

1. 의미 검색

텍스트 문서에 대한 의미론적/신경망 검색을 수행합니다.

use_mcp_tool({ server_name: "jina-ai", tool_name: "semantic_search", arguments: { query: "search query text", collection: "your-collection-name", limit: 10 // optional, defaults to 10 } })

2. 이미지 검색

이미지 URL을 사용하여 유사한 이미지를 검색하세요.

use_mcp_tool({ server_name: "jina-ai", tool_name: "image_search", arguments: { imageUrl: "https://example.com/image.jpg", collection: "your-collection-name", limit: 10 // optional, defaults to 10 } })

3. 크로스모달 검색

텍스트-이미지 검색이나 이미지-텍스트 검색을 수행합니다.

use_mcp_tool({ server_name: "jina-ai", tool_name: "cross_modal_search", arguments: { query: "a beautiful sunset", // or image URL for image2text mode: "text2image", // or "image2text" collection: "your-collection-name", limit: 10 // optional, defaults to 10 } })

📝 응답 형식

모든 검색 도구는 다음 형식으로 결과를 반환합니다.

{ content: [ { type: "text", text: JSON.stringify({ results: [ { id: string, score: number, data: Record<string, any> } ] }, null, 2) } ] }

🔐 오류 처리

서버는 다양한 오류 사례를 처리합니다.

  • 잘못된 API 키
  • 매개변수가 누락되었거나 잘못되었습니다
  • API 속도 제한
  • 네트워크 오류
  • 잘못된 컬렉션 이름

모든 오류는 올바르게 형식화되어 적절한 오류 코드와 메시지와 함께 반환됩니다.

🤝 기여하기

기여를 환영합니다! 풀 리퀘스트를 제출해 주세요.

📄 라이센스

이 프로젝트는 MIT 라이선스에 따라 라이선스가 부여되었습니다. 자세한 내용은 라이선스 파일을 참조하세요.

🙏 감사의 말

-
security - not tested
A
license - permissive license
-
quality - not tested

Jina AI의 신경망 검색 기능과 통합하여 의미 검색, 이미지 검색, 크로스 모달 검색 기능을 구현합니다.

  1. 🚀 Features
    1. 📋 Prerequisites
      1. 🛠️ Installation
        1. ⚙️ Configuration
          1. 🔍 Available Tools
            1. 1. Semantic Search
            2. 2. Image Search
            3. 3. Cross-Modal Search
          2. 📝 Response Format
            1. 🔐 Error Handling
              1. 🤝 Contributing
                1. 📄 License
                  1. 🙏 Acknowledgments
                    ID: pekvpd5qjt