Prem MCP Server
Prem MCP 서버
Prem AI를 위한 모델 컨텍스트 프로토콜(MCP) 서버 구현으로, Claude 및 기타 MCP 호환 클라이언트와의 원활한 통합을 지원합니다. 이 서버는 MCP 인터페이스를 통해 Prem AI의 강력한 기능에 대한 액세스를 제공합니다.
특징
🤖 채팅 완성 : Prem AI의 언어 모델과 상호 작용하세요
📚 RAG 지원 : 문서 저장소 통합을 통한 검색 증강 생성
📝 문서 관리 : 저장소에 문서 업로드 및 관리
🎭 템플릿 시스템 : 특수 출력을 위해 미리 정의된 프롬프트 템플릿을 사용합니다.
⚡ 스트리밍 응답 : 모델 출력의 실시간 스트리밍
🛡️ 오류 처리 : 강력한 오류 처리 및 로깅
Related MCP server: MCP Server Sample
필수 조건
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_here2. 커서 구성
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예시 프롬프트
기본 채팅
Let's have a conversation about artificial intelligence.문서가 포함된 RAG
Based on the documents in repository XYZ, what are the key points about [topic]?템플릿 사용
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: 프롬프트 템플릿의 IDparams: 템플릿별 매개변수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문제 해결
일반적인 문제
서버를 찾을 수 없습니다
claude_desktop_config.json에서 서버 경로를 확인하세요.서버가 실행 중인지 확인하세요
API 키가 유효하지 않습니다
Prem AI API 키가 유효한지 확인하세요.
API 키에 필요한 권한이 있는지 확인하세요
문서 업로드 실패
파일 형식이 지원되는지 확인하세요
파일 권한 확인
저장소 ID가 올바른지 확인하세요
기여하다
기여를 환영합니다! 풀 리퀘스트를 제출해 주세요.
특허
MIT 라이센스 - 자세한 내용은 LICENSE 파일을 참조하세요.
감사의 말
강력한 AI 플랫폼을 갖춘 Prem AI
프로토콜 사양을 위한 모델 컨텍스트 프로토콜
클로드와 MCP 생태계를 위한 인류학적
지원하다
이슈 및 기능 요청은 GitHub 이슈 페이지를 이용해 주세요.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseBqualityDmaintenanceAn educational implementation of a Model Context Protocol server that demonstrates how to build a functional MCP server for integrating with various LLM clients like Claude Desktop.1162MIT
- AlicenseBqualityDmaintenanceAn educational implementation of a Model Context Protocol server that demonstrates how to build a functional MCP server integrating with various LLM clients.2MIT
- AlicenseNot gradedqualityCmaintenanceA Model Context Protocol (MCP) server that provides seamless integration with the Documize API. This server enables AI assistants like Claude to interact with your Documize knowledge base - search documents, manage spaces, handle attachments, and more.18MIT
- AlicenseNot gradedqualityDmaintenanceA Model Context Protocol server that enables any MCP-compatible application to perform advanced multi-modal document processing and retrieval using RAG-Anything.MIT
Related MCP Connectors
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
A Model Context Protocol server for Wix AI tools
Hosted MCP server for LLM cost estimation, model comparison, and budget-aware routing.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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