DM

distantorigin/mcp-telnet

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

12 stars 5 forks 品質 75 トレンド 22MIT

Telnet 用の MCP サーバーで、Claude や他の LLM がテキストベースのインターフェイスと相互作用できるようにします

概要

LLMをtelnetサービスに接続する橋。 MCP-Telnet は、telnet ベースのサービスとのやり取りを可能にする MCP サーバーです。 telnet通信の複雑な詳細を処理するため、シームレスな統合が可能になります。 - テキストアドベンチャーゲームのためのMUD(マルチユーザーダンジョン) - レガシーシステムとネットワーク機器管理 - 郵便サーバーやその他のテキストベースのインターフェイス - 履歴ネットワークプロトコルとシステム - ネットワークアクセス可能なデバイス上の自動ルーチンタスク MCP-Telnetは、telnetアクセスをシームレスにするために、数多くの機能を提供します。 - ほとんどMTTS識別でtelnetプロトコルの実装を完了 - 自動再接続と状態の永続性を備えた信頼性の高い接続 - 調節可能な遅延で柔軟なコマンドタイミング - ノートを格納するための接続固有のメモリシステム - 包括的なセッションロギングでロギング - telnet(port 9000)を介して利用可能なインタラクティブCL - 接続を維持するための自動継続型パケット - 拡張構成オプション...

概要(AI 翻訳)

LLMをtelnetサービスに接続する橋。

MCP-Telnetとは何ですか?

MCP-Telnet は、telnet ベースのサービスとのやり取りを可能にする MCP サーバーです。 telnet通信の複雑な詳細を処理するため、シームレスな統合が可能になります。

  • テキストアドベンチャーゲームのためのMUD(マルチユーザーダンジョン)
  • レガシーシステムとネットワーク機器の管理
  • メールサーバやその他のテキストベースのインターフェイス
  • 歴史的ネットワークプロトコルとシステム
  • ネットワークアクセス可能なデバイスの自動ルーチンタスク

主な特長

MCP-Telnetは、telnetアクセスをシームレスにするために、数多くの機能を提供します。

  • ほとんどMTTS識別とtelnetプロトコルの実装を完了
  • 自動再接続および状態の持続の信頼できる関係
  • 調節可能な遅れの適用範囲が広い命令のタイミング
  • ノートを保存するための接続固有のメモリシステム
  • フィルタリングによる包括的なセッションロギング
  • telnet (港9000)によって利用できる相互CLI
  • 接続を維持する自動連続パケット
  • カスタマイズのための広範な構成の選択

##インストールとクイックスタート

MCP-Telnetを使用する最も簡単な方法は、Claude Desktopです。 [claude-desktop-config.jsonにこれを追加します

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

MCP-Telnet

A bridge connecting LLMs to telnet services.

What is MCP-Telnet?

MCP-Telnet is an MCP server that enables interaction with telnet-based services. It handles the complex details of telnet communication, allowing seamless integration with:

  • MUDs (Multi-User Dungeons) for text adventure gaming
  • Legacy systems and network equipment management
  • Mail servers and other text-based interfaces
  • Historical network protocols and systems
  • Automated routine tasks on network-accessible devices

Key Features

MCP-Telnet provides numerous capabilities to make telnet access seamless:

  • Mostly complete telnet protocol implementation with MTTS identification
  • Reliable connections with automatic reconnection and state persistence
  • Flexible command timing with adjustable delays
  • Connection-specific memory system for storing notes
  • Comprehensive session logging with filtering
  • Interactive CLI available via telnet (port 9000)
  • Automatic keep-alive packets to maintain connections
  • Extensive configuration options for customization

Installation & Quick Start

The easiest way to use MCP-Telnet is with Claude Desktop. Add this to your claude-desktop-config.json:

{
  "mcpServers": {
    "telnet": {
      "command": "npx",
      "args": ["-y", "github:distantorigin/mcp-telnet"]
    }
  }
}

No separate installation is needed - Claude Desktop will automatically run it as required.

Basic Usage

  1. Ask Claude to connect to a telnet service:

    Connect to mud.example.com port 4000 and help me explore as a guest
    
  2. Send commands naturally:

    Look at the current room and summarize some of the objects that might be of interest.
    
  3. Use more advanced features:

    Please store a note that "The magic shop is west of the town square" in the connection memory
    

For detailed usage examples, see EXAMPLE_PROMPTS.md.

Tools Overview

MCP-Telnet provides various tools to manage telnet connections. Here are the most commonly used:

  • Connection Management:

    connect_telnet with: { "host": "mud.example.com", "port": 4000 }
    
  • Command Sending (with pattern-based waiting for fast responses):

    send_command with: { "command": "look", "waitFor": "You can go" }
    
  • Command Sending (with fixed delay):

    send_command with: { "command": "look", "waitAfter": 2 }
    
  • Command Sequences (with smart pattern waits):

    sequence_commands with: {
      "commands": [
        { "command": "north", "waitFor": "You can go" },
        { "command": "look", "waitAfter": 0 }
      ]
    }
    

For a complete list of available tools and their options, see TOOLS.md.

Command Timing and Anti-Spam

GitHub で README 全文を見る

インストール

npx -y github:distantorigin/mcp-telnet
MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "mcpServers": { "telnet": { "command": "npx", "args": ["-y", "github:distantorigin/mcp-telnet"] } } }