TT

typingmind/typingmind-mcp

Developer toolsОфициальный

Эта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал

37 stars 53 forks Качество 55 Тренд 12

typingmind/typingmind-mcp - кандидат на сервер MCP, импортированный из https://github.com/typingmind/typingmind-mcp.

Обзор

typingmind/typingmind-mcp - кандидат на сервер MCP, импортированный из https://github.com/typingmind/typingmind-mcp.

Обзор (машинный перевод)

MCP Connector - это легкий сервер, который может запускать и управлять несколькими серверами протокола Model Context Protocol (MCP), специально разработанными для интеграции с TypingMind. Он обеспечивает простой способ запуска MCP-серверов на локальном компьютере или удаленном сервере, что позволяет подключать пользовательские модели или инструменты ИИ с помощью TypingMind через простой REST API.

Как работать на локальном устройстве

Вы можете быстро запустить MCP Connector, используя npx (не требуется установка):

Замените токеном аутентификации, предоставленным TypingMind.

Вы также можете предоставить токен auth через переменную среды:

Продолжайте процесс, пока вы используете TypingMind.

Поддержка HTTPS

Чтобы включить HTTPS, установите следующие переменные среды:

  • [[Т2]]: Путь к файлу SSL-сертификата
  • [[Т3]]: Путь к вашему файлу закрытого ключа SSL

Когда обе переменные установлены, сервер будет использовать HTTPS вместо HTTP.

Как работать на сервере

Если вы предпочитаете использовать MCP Connector на удаленном сервере:

  1. Установить Node.js (версия 14 или более поздняя).
  2. Запустите сервер, используя npx:

Чтобы работать с HTTPS:

Альтернативно, для постоянного бега (например.

Эта страница переведена автоматически. Технические детали смотрите в оригинале.

README

Показан фрагмент оригинального README. Открыть оригинал.

MCP Connector

MCP Connector is a lightweight server that can run and manage multiple Model Context Protocol (MCP) servers, specifically designed to integrate with TypingMind. It provides an easy way to run MCP servers on your local computer or a remote server, making it possible to connect your custom AI models or tools with TypingMind through a simple REST API.


How to Run on Your Local Device

You can quickly start the MCP Connector using npx (no install required):

npx @typingmind/mcp@latest 
  • Replace `` with your authentication token provided by TypingMind.

You can also provide the auth token via an environment variable:

MCP_AUTH_TOKEN= npx @typingmind/mcp@latest

Keep the process running while you use TypingMind.

HTTPS Support

To enable HTTPS, set the following environment variables:

CERTFILE=./path/to/certificate.crt KEYFILE=./path/to/privatekey.key npx @typingmind/mcp@latest 
  • CERTFILE: Path to your SSL certificate file
  • KEYFILE: Path to your SSL private key file

When both variables are set, the server will use HTTPS instead of HTTP.


How to Run on a Server

If you prefer running the MCP Connector on a remote server:

  1. Install Node.js (version 14 or later).

  2. Run the server using npx:

    npx @typingmind/mcp@latest 
    

    To run with HTTPS:

    CERTFILE=./path/to/certificate.crt KEYFILE=./path/to/privatekey.key npx @typingmind/mcp@latest 
    

    Alternatively, for persistent running (e.g., after closing SSH), you may use a process manager like pm2 or screen/tmux:

    pm2 start npx -- @typingmind/mcp@latest 
    

How to Run with Docker

You can also run the MCP Connector using Docker.

  1. Build the Docker Image: Navigate to the project’s root directory (where the Dockerfile is located) and run:

    docker build -t mcp-connector .
    

    (You can replace mcp-connector with your preferred image tag.)

  2. Run the Docker Container:

    • Basic Run (HTTP): Replace `` with your actual token. This command runs the container in detached mode (-d) and maps the container’s default port 50880 to the same port on your host machine.

      docker run -d -p 50880:50880 --name mcp-connector-instance mcp-connector 
      
    • Using a Different Port: If you need to use a different port (e.g., 8080 on the host mapped to 12345 in the container), use the -p flag for mapping and the -e PORT environment variable:

      docker run -d -p 8080:12345 -e PORT=12345 --name mcp-connector-instance mcp-connector 
      
    • Running with HTTPS:

Открыть полный README на GitHub

Установка

npx @typingmind/mcp@latest <auth-token>
Новичок в MCP? Начните с руководства на mcpskill.org →