Skip to main content
Glama

mcp-llm

by sammcj

MCP LLM

LlamaIndexTS 라이브러리를 사용하여 LLM에 대한 액세스를 제공하는 MCP 서버입니다.

저는 귀하의 LLM을 위해 귀하의 MCP에 몇 가지 LLM을 넣었습니다.

특징

이 MCP 서버는 다음과 같은 도구를 제공합니다.

  • generate_code : 설명을 기반으로 코드 생성
  • generate_code_to_file : 코드를 생성하여 특정 줄 번호의 파일에 직접 씁니다.
  • generate_documentation : 코드에 대한 문서를 생성합니다.
  • ask_question : LLM에 질문하기

llm을 호출하여 코드를 생성합니다.추론 llm에 전화해서 문서를 작성해 달라고 요청하세요.

설치

Smithery를 통해 설치

Smithery를 통해 Claude Desktop용 LLM 서버를 자동으로 설치하려면:

지엑스피1

소스에서 수동 설치

  1. 저장소를 복제합니다
  2. 종속성 설치:
npm install
  1. 프로젝트를 빌드하세요:
npm run build
  1. MCP 구성을 업데이트하세요

예제 스크립트 사용

저장소에는 MCP 서버를 프로그래밍 방식으로 사용하는 방법을 보여주는 예제 스크립트가 포함되어 있습니다.

node examples/use-mcp-server.js

이 스크립트는 MCP 서버를 시작하고 curl 명령을 사용하여 해당 서버에 요청을 보냅니다.

예시

코드 생성

{ "description": "Create a function that calculates the factorial of a number", "language": "JavaScript" }

파일에 코드 생성

{ "description": "Create a function that calculates the factorial of a number", "language": "JavaScript", "filePath": "/path/to/factorial.js", "lineNumber": 10, "replaceLines": 0 }

generate_code_to_file 도구는 상대 경로와 절대 경로 모두를 지원합니다. 상대 경로를 제공하면 MCP 서버의 현재 작업 디렉터리를 기준으로 경로가 결정됩니다.

문서 생성

{ "code": "function factorial(n) {\n if (n <= 1) return 1;\n return n * factorial(n - 1);\n}", "language": "JavaScript", "format": "JSDoc" }

질문하기

{ "question": "What is the difference between var, let, and const in JavaScript?", "context": "I'm a beginner learning JavaScript and confused about variable declarations." }

특허

You must be authenticated.

A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

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.

LLM이 다른 LLM에 액세스할 수 있도록 하는 MCP 서버

  1. 특징
    1. 설치
      1. Smithery를 통해 설치
      2. 소스에서 수동 설치
      3. 예제 스크립트 사용
    2. 예시
      1. 코드 생성
      2. 파일에 코드 생성
      3. 문서 생성
      4. 질문하기
    3. 특허

      Related MCP Servers

      • -
        security
        A
        license
        -
        quality
        A MCP server enabling LLMs to roll dice
        Last updated -
        1
        1
        Python
        MIT License
        • Apple
      • -
        security
        A
        license
        -
        quality
        MCP server for toolhouse.ai. This does not rely on an external llm unlike the official server.
        Last updated -
        1
        Python
        MIT License
      • -
        security
        A
        license
        -
        quality
        An MCP server that connects any MCP client (like Claude or Cursor) with the browser using browser-use, allowing clients to utilize existing LLMs without requiring additional API keys.
        Last updated -
        32
        Python
        Apache 2.0
      • A
        security
        A
        license
        A
        quality
        An MCP server that enables LLMs to perform blockchain operations on the Base network through natural language commands, including wallet management, balance checking, and transaction execution.
        Last updated -
        4
        4
        1
        TypeScript
        MIT License
        • Apple

      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/sammcj/mcp-llm'

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