Skip to main content
Glama

지나 AI MCP 서버

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

🚀 특징

  • 의미 검색 : 자연어 쿼리를 사용하여 의미적으로 유사한 문서 찾기

  • 이미지 검색 : 이미지 URL을 사용하여 시각적으로 유사한 이미지를 검색합니다.

  • 크로스 모달 검색 : 텍스트-이미지 또는 이미지-텍스트 검색 수행

Related MCP server: Jina Web Search MCP

📋 필수 조건

🛠️ 설치

  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 라이선스에 따라 라이선스가 부여되었습니다. 자세한 내용은 라이선스 파일을 참조하세요.

🙏 감사의 말

Related MCP Connectors

Related MCP Servers

  • A
    license
    B
    quality
    F
    maintenance
    Enables efficient web search integration with Jina.ai's Search API, offering clean, LLM-optimized content retrieval with support for various content types and configurable caching.
    1
    32 npm
    3
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables web content retrieval and semantic search capabilities through the Jina AI API. Provides tools to fetch content from URLs and perform intelligent web searches with natural language queries.
    3
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    Provides access to Jina AI's web reading, search, embeddings, and reranking capabilities. Enables URL content extraction, web/arXiv/image search, document deduplication, and relevance ranking through natural language.
    Apache 2.0