Prem MCP Server
プレミアム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 を自動的にインストールするには:
npx -y @smithery/cli install @ucalyptus/prem-mcp-server --client claude手動でインストールする
# 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 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