OL

openconstruct/llama-mcp-server

Analytics & monitoring

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

10 stars 5 forks 품질 55 트렌드 0

MCP cerver는 claude 사용 llamacpp를 시켰습니다. API를 사용합니다.

개요

Llama-server를 통해 실행되는 로컬 LLM 인스턴스와 Claude Desktop을 브리짓하는 모델 Context Protocol (MCP) 서버. - Claude Desktop - to️ (온도, max tokens, top p, top k) - ✅ 및 서버 상태 체크 - 다른 기능을 위해 - and 및 토큰 사용 추적 - 환경 변수를 통해 ☸ npm @openconstruct/llama-mcp-server 설치 llama-server를 통해 실행되는 로컬 LLM 인스턴스와 Claude Desktop을 브리짓하는 모델 Context Protocol (MCP) 서버. - Claude 데스크톱을 통해 LibreModel와 함께 - max️ (온도, max tokens, top p, top k) - ✅ 및 서버 상태 확인 - 다른 기능에 대한 - and 및 토큰 사용 추적 - 환경 변수를 통해 llama-server가 모델을 실행했는지 확인하십시오. Claude 데스크탑 구성에 이것을 추가하십시오 (~/.config/claude/claude desktop config.json): Claude는 이제 MCP를 통해 LibreModel에 액세스 할 것입니다!

개요(AI 번역)

Llama-server를 통해 실행되는 로컬 LLM 인스턴스와 Claude Desktop을 브리짓하는 모델 Context Protocol (MCP) 서버.

특징

  • Я ** 풀 대화 지원 ** Claude Desktop을 통한 Local Model
  • to️ **컴플트 매개 변수 제어 ** (온도, max tokens, top p, top k)
  • ✅ ** 건강 모니터링 ** 및 서버 상태 확인
  • Bu **Built-in 테스트 도구 ** 다른 기능
  • Performance metrics 및 토큰 사용 추적
  • 환경 변수를 통해  ** 쉬운 구성 **

빠른 시작

npm @openconstruct/llama-mcp-server 설치

llama-server를 통해 실행되는 로컬 LLM 인스턴스와 Claude Desktop을 브리짓하는 모델 Context Protocol (MCP) 서버.

특징

  • Я ** 풀 대화 지원 ** Claude Desktop을 통해 LibreModel
  • to️ **컴플트 매개 변수 제어 ** (온도, max tokens, top p, top k)
  • ✅ ** 건강 모니터링 ** 및 서버 상태 확인
  • Bu **Built-in 테스트 도구 ** 다른 기능
  • Performance metrics 및 토큰 사용 추적
  • 환경 변수를 통해  ** 쉬운 구성 **

빠른 시작

##1. 종속 설치

##2. 서버 구축

##3. LibreModel를 시작하세요

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.

README

원문 README의 일부입니다. 원문 보기.

LibreModel MCP Server 🤖

A Model Context Protocol (MCP) server that bridges Claude Desktop with your local LLM instance running via llama-server.

Features

  • 💬 Full conversation support with Local Model through Claude Desktop
  • 🎛️ Complete parameter control (temperature, max_tokens, top_p, top_k)
  • ✅ Health monitoring and server status checks
  • 🧪 Built-in testing tools for different capabilities
  • 📊 Performance metrics and token usage tracking
  • 🔧 Easy configuration via environment variables

Quick Start

npm install @openconstruct/llama-mcp-server

A Model Context Protocol (MCP) server that bridges Claude Desktop with your local LLM instance running via llama-server.

Features

  • 💬 Full conversation support with LibreModel through Claude Desktop
  • 🎛️ Complete parameter control (temperature, max_tokens, top_p, top_k)
  • ✅ Health monitoring and server status checks
  • 🧪 Built-in testing tools for different capabilities
  • 📊 Performance metrics and token usage tracking
  • 🔧 Easy configuration via environment variables

Quick Start

1. Install Dependencies

cd llama-mcp
npm install

2. Build the Server

npm run build

3. Start Your LibreModel

Make sure llama-server is running with your model:

./llama-server -m lm37.gguf -c 2048 --port 8080

4. Configure Claude Desktop

Add this to your Claude Desktop configuration (~/.config/claude/claude_desktop_config.json):

{
  "mcpServers": {
    "libremodel": {
      "command": "node",
      "args": ["/home/jerr/llama-mcp/dist/index.js"]
    }
  }
}

5. Restart Claude Desktop

Claude will now have access to LibreModel through MCP!

Usage

Once configured, you can use these tools in Claude Desktop:

💬 chat - Main conversation tool

Use the chat tool to ask LibreModel: "What is your name and what can you do?"

🧪 quick_test - Test LibreModel capabilities

Run a quick_test with type "creative" to see if LibreModel can write poetry

🏥 health_check - Monitor server status

Use health_check to see if LibreModel is running properly

Configuration

Set environment variables to customize behavior:

export LLAMA_SERVER_URL="http://localhost:8080"  # Default llama-server URL

Available Tools

Tool Description Parameters
chat Converse with MOdel message, temperature, max_tokens, top_p, top_k, system_prompt
quick_test Run predefined capability tests test_type (hello/math/creative/knowledge)
health_check Check server health and status None

Resources

  • Configuration: View current server settings
  • Instructions: Detailed usage guide and setup instructions

Development

# Install dependencies
npm install # LibreModel MCP Server 🤖
GitHub에서 전체 README 보기

설치

This server does not publish a one-line install command.

Open the repository installation guide MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →

설정

{ "mcpServers": { "libremodel": { "command": "node", "args": ["/home/jerr/llama-mcp/dist/index.js"] } } }