Skip to main content
Glama

Mistral MCP Server

Mistral MCP 서버 예제

이것은 Mistral과의 채팅을 위한 두 가지 도구를 제공하는 TypeScript 기반 MCP 서버입니다. 모델 컨텍스트 프로토콜(MCP) 과 함께 사용할 수 있는 서버를 만드는 방법을 보여주는 기본적인 예시입니다.

블로그 게시물

이 저장소는 Speakeasy의 블로그 게시물인 "Mistral을 위한 MCP 서버 구축" 의 일부입니다.

요구 사항

미스트랄 API 키

Mistral AI 플랫폼과 상호 작용하려면 API 키가 필요합니다. mistral.ai 에 가입하면 API 키를 받으실 수 있습니다.

API 키를 환경 변수로 설정하세요. .env.example 파일의 복사본을 만들고 이름을 .env 로 바꾸세요.

지엑스피1

이제 Mistral API 키로 .env 파일을 업데이트하세요.

MISTRAL_API_KEY="YOUR_MISTRAL_API_KEY"

도구

이 서버는 두 가지 도구를 제공합니다.

텍스트 입력을 사용하여 Mistral과 채팅하려면 mistral_chat_text 도구를 사용하세요.

  • 모델과 텍스트 입력 배열을 가져옵니다.
  • Mistral에서 텍스트 응답을 반환합니다.

텍스트와 이미지 입력을 사용하여 Mistral과 채팅하려면 mistral_chat_image 도구를 사용하세요.

  • 모델과 텍스트 및 이미지 입력 배열을 가져옵니다.
  • 공개 URL에 호스팅된 이미지만 허용합니다.
  • Mistral에서 텍스트 응답을 반환합니다.

개발

종속성 설치:

npm install

서버를 빌드하세요:

npm run build

자동 재빌드를 사용한 개발의 경우:

npm run watch

설치

Claude 데스크톱 앱과 함께 이 서버를 사용하려면 다음 서버 구성을 Claude 구성 파일에 추가하세요.

  • MacOS의 경우: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows의 경우: %APPDATA%/Claude/claude_desktop_config.json
{ "mcpServers": { "Mistral MCP Server": { "command": "node", "args": [ // Update this path to the location of the built server "/Users/speakeasy/server-mistral/build/index.js" ], "env": { // Update this with your Mistral API key "MISTRAL_API_KEY": "YOUR_MISTRAL_API_KEY" } } } }

디버깅

MCP 서버는 표준 입출력 스트림(stdio)을 통해 통신하므로 디버깅이 어려울 수 있습니다. 패키지 스크립트로 제공되는 MCP Inspector를 사용하는 것이 좋습니다.

npm run inspector

MCP Inspector는 브라우저에서 디버깅 도구에 액세스할 수 있는 URL을 제공합니다.

특허

이 프로젝트는 MIT 라이선스에 따라 라이선스가 부여되었습니다. 자세한 내용은 라이선스 파일을 참조하세요.

-
security - not tested
A
license - permissive license
-
quality - not tested

hybrid server

The server is able to function both locally and remotely, depending on the configuration or use case.

Mistral AI 모델과 채팅하기 위한 두 가지 도구를 제공하는 TypeScript 기반 MCP 서버로, 텍스트 전용 대화와 이미지+텍스트 입력을 모두 지원합니다.

  1. 블로그 게시물
    1. 요구 사항
      1. 미스트랄 API 키
        1. 도구
          1. 개발
            1. 설치
              1. 디버깅
            2. 특허

              Related MCP Servers

              • -
                security
                F
                license
                -
                quality
                An MCP server that enables AI assistants like Claude to interact with Anki flashcard decks, allowing users to create, manage, and update flashcards through natural language conversations.
                Last updated -
                7
                TypeScript
              • -
                security
                -
                license
                -
                quality
                An MCP-based messaging system that allows AI systems to interact with various messaging platforms through standardized tools for sending text, images, documents, buttons, and alerts.
                Last updated -
                Python
              • -
                security
                A
                license
                -
                quality
                A Model Context Protocol (MCP) server that enables real-time, interactive AI chat with Selector AI through a streaming-capable server and Docker-based client communicating via stdin/stdout.
                Last updated -
                4
                Python
                Apache 2.0
              • -
                security
                A
                license
                -
                quality
                An MCP-based service that enables AI models to seamlessly interact with Feishu (Lark) platform, supporting document reading and chatbot messaging capabilities.
                Last updated -
                8
                37
                TypeScript
                MIT License
                • Linux
                • 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/speakeasy-api/mistral-mcp-server-example'

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