Skip to main content
Glama

Prem MCP Server

Prem MCP 서버

Prem AI를 위한 모델 컨텍스트 프로토콜(MCP) 서버 구현으로, Claude 및 기타 MCP 호환 클라이언트와의 원활한 통합을 지원합니다. 이 서버는 MCP 인터페이스를 통해 Prem AI의 강력한 기능에 대한 액세스를 제공합니다.

특징

  • 🤖 채팅 완성 : Prem AI의 언어 모델과 상호 작용하세요
  • 📚 RAG 지원 : 문서 저장소 통합을 통한 검색 증강 생성
  • 📝 문서 관리 : 저장소에 문서 업로드 및 관리
  • 🎭 템플릿 시스템 : 특수 출력을 위해 미리 정의된 프롬프트 템플릿을 사용합니다.
  • 스트리밍 응답 : 모델 출력의 실시간 스트리밍
  • 🛡️ 오류 처리 : 강력한 오류 처리 및 로깅

필수 조건

  • Node.js(v16 이상)
  • API 키가 있는 Prem AI 계정
  • Prem 프로젝트 ID

설치

Smithery를 통해 설치

Smithery를 통해 Claude Desktop용 prem-mcp-server를 자동으로 설치하려면:

지엑스피1

수동 설치

# Using npm npm install prem-mcp-server # Using yarn yarn add prem-mcp-server # Using pnpm pnpm add prem-mcp-server

구성

1. 환경 변수

프로젝트 루트에 .env 파일을 만듭니다.

PREM_API_KEY=your_api_key_here PREM_PROJECT_ID=your_project_id_here

2. 커서 구성

Cursor와 함께 Prem MCP 서버를 사용하려면 ~/.cursor/mcp.json 에 다음을 추가하세요.

{ "mcpServers": { "PremAI": { "command": "node", "args": ["/path/to/your/prem-mcp/build/index.js", "--stdio"], "env": { "PREM_API_KEY": "your_api_key_here", "PREM_PROJECT_ID": "your_project_id_here" } } } }

/path/to/your/prem-mcp 프로젝트 디렉토리의 실제 경로로 바꾸세요.

3. Claude 데스크톱 구성

Claude Desktop 사용자의 경우 claude_desktop_config.json 에 다음을 추가하세요.

{ "mcpServers": { "PremAI": { "command": "npx", "args": ["prem-mcp-server", "--stdio"], "env": { "PREM_API_KEY": "your_api_key_here", "PREM_PROJECT_ID": "your_project_id_here" } } } }

용법

서버 시작

npx prem-mcp-server

예시 프롬프트

  1. 기본 채팅
Let's have a conversation about artificial intelligence.
  1. 문서가 포함된 RAG
Based on the documents in repository XYZ, what are the key points about [topic]?
  1. 템플릿 사용
Use template ABC to generate [specific type of content].

문서 업로드

이 서버는 RAG 작업을 위해 Prem AI 저장소에 문서를 업로드하는 기능을 지원합니다. 지원되는 형식은 다음과 같습니다.

  • .txt
  • .pdf
  • .docx

API 참조

채팅 완료 매개변수

  • query : 입력 텍스트
  • system_prompt : 사용자 정의 시스템 프롬프트
  • model : 모델 식별자
  • temperature : 반응 무작위성(0-1)
  • max_tokens : 최대 응답 길이
  • repository_ids : RAG의 저장소 ID 배열
  • similarity_threshold : 문서 유사도에 대한 임계값
  • limit : 문서 청크의 최대 수

템플릿 매개변수

  • template_id : 프롬프트 템플릿의 ID
  • params : 템플릿별 매개변수
  • temperature : 반응 무작위성(0-1)
  • max_tokens : 최대 응답 길이

개발

# Clone the repository git clone https://github.com/yourusername/prem-mcp-server.git # Install dependencies npm install # Build the project npm run build # Run tests npm test

문제 해결

일반적인 문제

  1. 서버를 찾을 수 없습니다
    • claude_desktop_config.json 에서 서버 경로를 확인하세요.
    • 서버가 실행 중인지 확인하세요
  2. API 키가 유효하지 않습니다
    • Prem AI API 키가 유효한지 확인하세요.
    • API 키에 필요한 권한이 있는지 확인하세요
  3. 문서 업로드 실패
    • 파일 형식이 지원되는지 확인하세요
    • 파일 권한 확인
    • 저장소 ID가 올바른지 확인하세요

기여하다

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

특허

MIT 라이센스 - 자세한 내용은 LICENSE 파일을 참조하세요.

감사의 말

지원하다

이슈 및 기능 요청은 GitHub 이슈 페이지를 이용해 주세요.

-
security - not tested
F
license - not found
-
quality - not tested

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.

Claude 및 기타 MCP 호환 클라이언트와 원활하게 통합하여 Prem AI의 언어 모델, RAG 기능 및 문서 관리 기능에 액세스할 수 있는 모델 컨텍스트 프로토콜 서버 구현입니다.

  1. 특징
    1. 필수 조건
      1. 설치
        1. Smithery를 통해 설치
        2. 수동 설치
      2. 구성
        1. 1. 환경 변수
        2. 2. 커서 구성
        3. 3. Claude 데스크톱 구성
      3. 용법
        1. 서버 시작
        2. 예시 프롬프트
        3. 문서 업로드
      4. API 참조
        1. 채팅 완료 매개변수
        2. 템플릿 매개변수
      5. 개발
        1. 문제 해결
          1. 일반적인 문제
        2. 기여하다
          1. 특허
            1. 감사의 말
              1. 지원하다

                Related MCP Servers

                • -
                  security
                  F
                  license
                  -
                  quality
                  A comprehensive suite of Model Context Protocol servers designed to extend AI agent Claude's capabilities with integrations for knowledge management, reasoning, advanced search, news access, and workspace tools.
                  Last updated -
                  5
                  TypeScript
                  • Apple
                • A
                  security
                  F
                  license
                  A
                  quality
                  A Model Context Protocol (MCP) server that allows Claude AI to interact with custom tools, enabling extension of Claude's capabilities through the MCP framework.
                  Last updated -
                  TypeScript
                  • Apple
                • -
                  security
                  F
                  license
                  -
                  quality
                  A Model Context Protocol server that gives Claude access to multiple AI models (Gemini, OpenAI, OpenRouter) for enhanced code analysis, problem-solving, and collaborative development through AI orchestration with conversations that continue across tasks.
                  Last updated -
                  5,417
                  Python
                  • Apple
                • -
                  security
                  F
                  license
                  -
                  quality
                  An enhanced Model Context Protocol server that enables Claude to seamlessly collaborate with multiple AI models (Gemini, OpenAI, local models) for code analysis and development tasks, maintaining context across conversations.
                  Last updated -
                  85
                  23
                  JavaScript
                  • Apple
                  • Linux

                View all related MCP servers

                MCP directory API

                We provide all the information about MCP servers via our MCP API.

                curl -X GET 'https://glama.ai/api/mcp/v1/servers/ucalyptus/prem-mcp-server'

                If you have feedback or need assistance with the MCP directory API, please join our Discord server