شعار MCP-openMSX

MCP-openMSX

المجتمع
nataliapc

A Model Context Protocol (MCP) server for automating openMSX emulator instances. This server provides comprehensive tools for MSX software development, testing, and automation through standardized MCP protocols.

الناشرnataliapc
المستودعmcp-openmsx
اللغةTypeScript
التفريعات
12
النجوم
73
الأدوات المتاحة
15
نوع نقل البياناتstdio, streamable-http
الفئات
الترخيصGPL-2.0
الروابط
  • اربط الأدوات بسير عمل الذكاء الاصطناعي

    يتيح MCP-openMSX إمكانات MCP التي يمكن لتطبيقات الذكاء الاصطناعي العميلة ووكلاء الذكاء الاصطناعي المتوافقة استخدامها.

  • الأدوات المتاحة: 15

    تصفّح الإجراءات القابلة للاستدعاء أدناه، بما في ذلك أسماؤها وأوصافها عندما يوفّرها الخادم.

  • إعدادات جاهزة للنسخ

    استخدم أمثلة إعداد التثبيت لتهيئة هذا الخادم في تطبيق MCP العميل المفضّل لديك.

  • مؤشرات الاهتمام بالمصدر المفتوح

    النجوم: 73، والنسخ المتفرعة: 12 في المستودع المرتبط.

MCP-openMSX

"Orchestrating a binary opera where AI conducts, MCP interprets, and openMSX acts as the 8-bit diva."

Built by NataliaPC License GitHub Repo stars
NPM Version NPM Downloads

A Model Context Protocol (MCP) server for automating openMSX emulator instances.

This server provides comprehensive tools for MSX software development, testing, and automation through standardized MCP protocols.

🎁🎁 If you find this project useful, please consider making a donation by PAYPAL Link or GitHub Sponsors


Table of Contents

Project Overview

This project creates a bridge between modern AI-assisted development (e.g. GitHub Copilot, Claude Desktop) and retro computing (MSX systems) by providing:

  • Emulator Control: Launch, configure, manage openMSX instances, and replay timelines.
  • Media Management: Handle ROM cartridges, floppy disks, and cassette tapes.
  • BASIC Programming Support: Tools to facilitate BASIC language programming and development.
  • Debugging Tools: Full CPU debugging with breakpoints, memory inspection, and step execution.
  • Video Control: VDP register manipulation and screen capture.
  • Memory Operations: Read/write RAM, VRAM, and I/O port access.
  • Automation: Keyboard input simulation and savestate management.
  • Hybrid Documentation Search: Query an embedded local index of MSX resources combining semantic (multilingual embeddings) and keyword (BM25) search, runs fully offline.
  • Hybrid Mode: This MCP server supports hybrid access mode (STDIO and HTTP transports).

Architecture

The MCP server translates high-level natural language commands from your Copilot AI into TCL commands to control openMSX, enabling automated MSX software testing and debugging.

Available MCP Tools

Emulator Control Tools

  • emu_control: Controls an openMSX emulator: launch, close, powerOn, powerOff, reset, getEmulatorSpeed, setEmulatorSpeed, machineList, extensionList, wait.
  • emu_replay: Controls emulation timeline: start, stop, status, goBack, absoluteGoto, advanceFrame, reverseFrame, truncate, saveReplay, loadReplay.
  • emu_info: Obtain informacion about the current emulated machine: getStatus, getSlotsMap, getIOPortsMap.
  • emu_media: Manage ROM, disk, and tape media: tapeInsert, tapeRewind, tapeEject, romInsert, romEject, diskInsert, diskInsertFolder, diskEject.
  • emu_vdp: Manage VDP (Video Display Processor): getPalette, getRegisters, getRegisterValue, setRegisterValue, screenGetMode, screenGetFullText.

Programming Tools

  • basic_programming: BASIC tools: isBasicAvailable, newProgram, runProgram, setProgram, getFullProgram, getFullProgramAdvanced, listProgramLines, deleteProgramLines.

Debugging Tools

  • debug_run: Control execution: break, isBreaked, continue, stepIn, stepOut, stepOver, stepBack, runTo.
  • debug_cpu: Read/write CPU registers, CPU info, Stack pile, and Disassemble code: getCpuRegisters, getRegister, setRegister, getStackPile, disassemble, getActiveCpu.
  • debug_memory: RAM memory operations: selectedSlots, getBlock, readByte, readWord, writeByte, writeWord, writeBlock, searchBytes.
  • debug_vram: VRAM operations: getBlock, readByte, writeByte, searchBytes.
  • debug_breakpoints: Breakpoint management: create, remove, list.
  • debug_log: Debug log: log, read.
  • debug_conditions: Condition management (like breakpoints, but not tied to an address — a Tcl expression evaluated continuously while the CPU runs): create, remove, list.

Automation Tools

  • emu_keyboard: Send text or key combinations to emulator: sendText, sendKeyCombo.
  • emu_savestates: Save and restore machine states: load, save, list.
  • screen_shot: Capture emulator screen: as_image, to_file.
  • screen_dump: Export screen data as BASIC BSAVE instruction.
  • msxdocs_resource_get: Retrieve MCP resources for MCP clients that don't support MCP resources.

Documentation Tools

  • vector_db_query: Hybrid search (semantic embeddings + BM25) over the local MSX documentation index, for information about MSX systems, cartridges, programming, and other development resources.
  • msxdocs_resource_get: Retrieve MCP resources for MCP clients that don't support MCP resources.

Optional Advanced Tools

  • openmsx_tcl_cmd: Executes a native Tcl command in the connected openMSX instance. It is disabled by default and is registered only when the user sets OPENMSX_ENABLE_RAW_TCL=true. Existing typed tools remain available and are preferred for operations they cover.

Available MCP Resources

What are MCP Resources?

MCP resources are structured data sets, documentation, and helper files that extend the capabilities of the MCP server. They provide essential information such as machine definitions, extension lists, media templates, and programming examples, enabling more powerful automation, testing, and development workflows for MSX software within the MCP-openMSX environment.

Available Resources

There are more than 60 resources available, some included directly in the MCP and others accessible via download when queried. They are organized into the following categories:

  • Processors (Z80, R800)
  • Bios (Bios ROM, DOS ROM, SUBROM, ...)
  • System
  • Audio
  • Video
  • Programming (ASM, BASIC, ...)
  • MSX-DOS
  • MSX-UNAPI
  • MSX BASIC

And books and manuals:

  • MSX2 Technical Handbook
  • The MSX Red Book
  • SDCC Compiler

Resources from:

Thanks to the authors of these resources, who have made them available under various licenses. This MCP server includes some of these resources to enhance the development experience.

[!IMPORTANT]
The rights to these resources belong to their respective authors and are distributed under the licenses they have defined.

Quick Start

You can use this MCP server in this basic way with the precompiled NPM package.

Quick installation with VSCode

Install in VS Code

Steps to install the MCP server in VSCode:

  1. Install Github Copilot extension
  2. Install nodejs (npx command must be available in your PATH).
  3. Install de MCP Server:
    • Use the Install MCP Server button above to install the MCP server in your VSCode settings.
    • Or add to your workspace folder a file named .vscode/mcp.json with the json configuration below.

STDIO mode (recommended)

json
{
  "servers": {
    "mcp-openmsx": {
      "command": "npx",
      "args": ["@nataliapc/mcp-openmsx"],
      "env": {
        "OPENMSX_SHARE_DIR": "C:\\the\\location\\of\\your\\openmsx\\share\\folder"
      }
    }
  }
}

[!NOTE]
In Windows you can change the command field to npx.cmd if you experience permission issues.

[!NOTE]
Environment variables are optional. Customize them as you need.

Streamed HTTP mode (more advanced)

json
{
  "servers": {
    "mcp-openmsx": {
      "type": "http",
      "url": "http://localhost:3000/mcp",
      "headers": { }
    }
  }
}

[!NOTE]
The MCP HTTP Server must be running standalone in the same computer or in another (make run_http).

Basic Installation with Claude Desktop

Follow these instrutions to access Claude's claude_desktop_config.json file.

Edit it to include the following JSON entry:

json
{
  "mcpServers": {
    "mcp-openmsx": {
      "command": "npx",
      "args": ["@nataliapc/mcp-openmsx"],
      "env": {
        "OPENMSX_SHARE_DIR": "C:\\the\\location\\of\\your\\openmsx\\share\\folder"
      }
    }
  }
}

[!NOTE]
Environment variables are optional. Customize them as you need.

Environment Variables

VariableDescriptionDefault ValueExample
OPENMSX_EXECUTABLEPath or command to the openMSX executableAuto-detected: openmsx (Linux), /Applications/openMSX.app/Contents/MacOS/openmsx (macOS), openmsx.exe (Windows)/usr/local/bin/openmsx or C:\Program Files\openMSX\openmsx.exe
OPENMSX_SHARE_DIRDirectory containing openMSX data files (machines, extensions, etc.)System dependent/home/myuser/.openmsx/share
OPENMSX_SCREENSHOT_DIRDirectory where screenshots will be savedDefault for openmsx/myproject/screenshots
OPENMSX_SCREENDUMP_DIRDirectory where screen dumps will be savedDefault for openmsx/myproject/screendumps
OPENMSX_REPLAYS_DIRDirectory where replay files will be savedDefault for openmsx/myproject/replays
OPENMSX_ENABLE_RAW_TCLRegister the optional openmsx_tcl_cmd native Tcl tool. This grants the MCP client powerful access to openMSX and potentially the host filesystem; enable it only when explicitly required.falsetrue
OPENMSX_LAUNCH_HEADLESSLaunch openMSX without a renderer window (headless mode). Sets renderer to none instead of the default SDLGL-PP at startup. Useful for CI, testing, and server-side environments.falsetrue
MCP_TRANSPORTTransport mode (stdio or http)stdiohttp
MCP_HTTP_PORTPort number for HTTP transport mode30008080
MCP_ALLOWED_ORIGINSComma-separated list of allowed origins for HTTP transportEmpty for all allowedhttp://localhost,http://mydomain.com
OPENMSX_WINDOWS_CONTROLWindows only. How the server talks to openMSX's control socket (see below)stdio-proxydirect-sspi
OPENMSX_WINDOWS_PROXY_EXECUTABLEWindows only. Override path to the SSPI proxy helper (development)Bundled bin/win-x64/mcp-openmsx-sspi-proxy.exeC:\path\to\mcp-openmsx-sspi-proxy.exe
OPENMSX_MODELS_CACHEDirectory where the embedding model is cached (also honors HF_HOME / TRANSFORMERS_CACHE)~/.cache/mcp-openmsx/opt/models
OPENMSX_EMBED_PROVIDERIndex generator only. cuda uses the GPU (fp32 model) to regenerate the index, falling back to CPU if CUDA is unavailable. The MCP server itself always uses CPU/int8 and ignores this variable.(generator: cpu)cuda

Native Tcl command tool (OPENMSX_ENABLE_RAW_TCL)

The optional openmsx_tcl_cmd tool provides direct access to openMSX's native Tcl console for advanced or version-specific functionality not covered by the typed tools. It can use the runtime self-documentation commands help, about, openmsx_info, and machine_info before executing unfamiliar commands.

The tool is not registered by default. Only the user should enable it in the MCP server configuration:

json
{
  "env": {
    "OPENMSX_ENABLE_RAW_TCL": "true"
  }
}

Direct Tcl is intentionally unrestricted and may modify emulator state, access files, load scripts, or terminate openMSX. Treat it as equivalent to granting the MCP client local command execution privileges. Restart the MCP server after changing the setting.

Documentation search model

The vector_db_query tool runs a local hybrid search (semantic embeddings + BM25). The embedding model (multilingual-e5-small, ONNX quantized, ~118 MB, 512-token context, multilingual) is downloaded once from the HuggingFace Hub on the first query and cached on disk (see OPENMSX_MODELS_CACHE above). After that it runs fully offline. No API key is required. To pre-populate the cache for air-gapped environments, run one query on a networked machine and copy the cache directory.

Regenerating the index (rare) embeds the whole corpus. On CPU this is slow; on an NVIDIA GPU set OPENMSX_EMBED_PROVIDER=cuda for the generator to use it (requires CUDA 13 runtime libraries + cuDNN 9), which is ~50× faster. The GPU path uses the larger fp32 model; the server keeps using the int8 model and the two are interchangeable for search (same ranking). End users never download the fp32 model.

Windows control modes (OPENMSX_WINDOWS_CONTROL)

On Windows, openMSX is a GUI app whose TCP control socket requires SSPI (Negotiate/NTLM) authentication. The server supports several transports:

ValueDescription
stdio-proxyDefault. Launches a self-contained .NET helper that performs SSPI and exposes a clean XML stdio channel — the most robust path.
direct-sspiAuthenticates from Node via the optional node-expose-sspi package. Fallback / debugging.
socketLegacy alias of direct-sspi.

Linux and macOS are unaffected (openmsx -control stdio).

The bundled proxy is built from helpers/openmsx-sspi-proxy and can be rebuilt reproducibly from Linux with Docker (no local .NET required):

bash
cd mcp-server
pnpm build:proxy:win-x64:docker   # → bin/win-x64/mcp-openmsx-sspi-proxy.exe

Advanced Manual Usage

[!IMPORTANT]
This is not needed for using the MCP server, but if you want to install it manually, follow these steps.

The MCP server runs on Linux, macOS, and Windows. Building from source requires Node.js >= 18 and TypeScript.

Manual installation

bash
npm install -g @nataliapc/mcp-openmsx

Manual set of Environment Variables

Set optional environment variables to customize the server:

bash
export OPENMSX_EXECUTABLE="openmsx"
export OPENMSX_SHARE_DIR="/usr/share/openmsx"
export OPENMSX_SCREENSHOT_DIR="/my_project/screenshots"
export OPENMSX_SCREENDUMP_DIR="/my_project/screendumps"
export OPENMSX_REPLAYS_DIR="/my_project/replays"
export OPENMSX_ENABLE_RAW_TCL="true"
export OPENMSX_LAUNCH_HEADLESS="true"
export MCP_HTTP_PORT=3000
export MCP_ALLOWED_ORIGINS="http://localhost,http://mydomain.com"

As MCP Server (stdio)

bash
mcp-openmsx

As HTTP Server

bash
MCP_TRANSPORT=http mcp-openmsx
# or
mcp-openmsx http

Development

[!IMPORTANT]
This is not needed for using the MCP server, but if you want to contribute or modify the code, follow these steps.

Prerequisites to build

  • Node.js >= 18.0.0
  • TypeScript
  • openMSX emulator installed

Building

bash
git clone https://github.com/nataliapc/mcp-openmsx.git
cd mcp-openmsx/mcp-server
npm install
npm run build

Running in Development

bash
npm run dev

License

GPL2 License - see LICENSE file for details.

Support

If you need help, or have questions or suggestions, please open an issue on the GitHub Issues page or check the project discussions.

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

More stars!

Please give us a star on GitHub if you like this project.

Star History Chart

Star History


التثبيت

TypingMind
{
  "mcpServers": {
    "mcp-openmsx": {
      "command": "npx",
      "args": [
        "@nataliapc/mcp-openmsx"
      ]
    }
  }
}

الأدوات المتاحة

  • emu_control

    Controls an openMSX emulator. Commands: 'launch [machine] [extensions]': opens a powered-on openMSX emulator; you must wait some time waiting the machine is fully booted; machine and extensions parameters can be specified so use 'machineList' and 'extensionList' commands to obtain valid values. " + 'close': closes the openMSX emulator. 'powerOn': powers on the openMSX emulator. 'powerOff': powers off the openMSX emulator. 'reset': resets the current machine. 'getEmulatorSpeed': gets the current emulator speed as a percentage, default is 100. 'setEmulatorSpeed ': sets the emulator speed as a percentage, valid values are 1-10000, default is 100. 'machineList': gets a list of all available MSX machines that can be emulated with openMSX. 'extensionList': gets a list of all available MSX extensions that can be used with openMSX. 'wait ': performs a wait for the specified number of seconds, default is 2.

  • emu_media

    Manage tapes, rom cartridges, and floppy disks. Commands: 'tapeInsert ': insert a valid tape file (*.cas, .wav, .tsx). 'tapeRewind': rewind the current tape. 'tapeEject': remove tape from virtual cassette player. 'romInsert ': insert a valid ROM cartridge file (.rom) at cartridge slot A. 'romEject': remove the current ROM cartridge from cartridge slot A. 'diskInsert ': insert a valid disk file (.dsk) in floppy disk A. 'diskInsertFolder ': use a host folder as a floppy disk A root directory. 'diskEject': remove the current disk from floppy disk A.

  • emu_info

    Obtain informacion about the current emulated machine. Commands: 'getStatus': returns the status of the openMSX emulator. 'getSlotsMap': shows what devices/ROM/RAM are inserted into which slots. 'getIOPortsMap': shows an overview about the I/O mapped devices.

  • emu_vdp

    Manage the VDP (Video Display Processor). Commands: 'getPalette': returns the current V9938/V9958 color palette in RGB333 format. 'getRegisters': returns all VDP register values. 'getRegisterValue ': returns the value of a specific VDP register (0-31) in decimal format. 'setRegisterValue ': sets a hexadecimal value to a specific VDP register (0-31). 'screenGetMode': returns the current screen mode (0-12) as a number, which matches the BASIC SCREEN command. 'screenGetFullText': returns the full content of an MSX text screen (screen 0 or 1) as a string; PRIORITIZE this command to view screen content in text modes.

  • debug_run

    Control execution (break, continue, step). Commands: 'break': to break CPU at current execution position. 'isBreaked': to check if the CPU is currently in break state (1) or not (0). 'continue': to continue execution after break. 'stepIn': to execute one CPU instruction, go into subroutines. 'stepOver': to execute one CPU instruction, but don't go into subroutines. 'stepOut': to step out of the current subroutine. 'stepBack': to step one instruction back in time. 'runTo ': to run the CPU until it reaches the specified address. Important Note: Addresses and values are in hexadecimal format (e.g. 0x0000).

  • debug_cpu

    Read/write CPU registers, CPU info, Stack pile, and Disassemble code from memory. Commands: 'getCpuRegisters': to get an overview of all the CPU registers. 'getRegister ': to get the decimal value of a specific CPU register (pc, sp, ix, iy, af, bc, de, hl, ixh, ixl, iyh, iyl, a, f, b, c, d, e, h, l, i, r, im, iff). 'setRegister ': to set the value of a specific CPU register (pc, sp, ix, iy, af, bc, de, hl, ixh, ixl, iyh, iyl, a, f, b, c, d, e, h, l, i, r, im, iff). 'getStackPile': to get an overview of the CPU stack. 'disassemble [address] [size]': to print disassembled instructions at the address parameter location or PC register if empty. 'getActiveCpu': to return the active cpu: z80 or r800. "Important Note: Addresses and values are in hexadecimal format (e.g. 0xd2 0x3af2)."

  • debug_memory

    Slots info, and Read/write from/to memory in the openMSX emulator. Commands: 'selectedSlots': to get a list of the currently selected memory slots. 'getBlock [lines]': to read a block of memory from the specified address. 'readByte ': to read a BYTE from the specified address. 'readWord ': to read a WORD from the specified address. 'writeByte ': to write a BYTE to the specified address. 'writeWord ': to write a WORD to the specified address. Important Note: Addresses and values are in hexadecimal format (e.g. 0x0000).

  • debug_vram

    Read or write from/to VRAM video memory in the openMSX emulator. Commands: 'getBlock [lines]': to read a block of VRAM memory from the specified address. 'readByte ': to read a BYTE from the specified VRAM address. 'writeByte ': to write a BYTE to the specified VRAM address. Important Note: Addresses and values are in hexadecimal format (e.g. 0x0000).

  • debug_breakpoints

    Create, remove, and list breakpoints. Commands: 'create ': create a breakpoint at a specified address, and returns its name. 'remove ': remove a breakpoint by name (e.g. bp#1). 'list': enumerate the active breakpoints. "Important Note: Addresses and values are in hexadecimal format (e.g. 0x0000). "Important Note: The memory addresses of functions and variables can be previously obtained from *.sym or *.map files.

  • emu_savestates

    Load, save, and list savestates. Commands: 'load ': restores a previously created savestate. 'save ': creates a snapshot of the currently emulated MSX machine specifying a name for the savestate. 'list': returns the names of all previously created savestates, separated by spaces. Important Note: names with spaces are enclosed in {}.

  • emu_replay

    When replay is enabled (the default) the emulator collect data while emulating, which enables you to go back and forward in MSX time. Commands: 'start': starts the replay mode (enabled by default when emulator is launched). 'stop': stops the replay mode. 'status': gives information about the replay feature and the data that is collected. 'goBack ': go back specified seconds (1-60) in the timeline, you cannot go back to a time before the time the replay started. 'absoluteGoto ': go to the indicated absolute time in seconds in the MSX timeline, if time is before replay started it will jump to the time when is started. 'truncate': stop replaying and wipe all the future replay data after now. 'saveReplay [filename]': saves the current replay data to a file (extension .omr), filename is returned in the response. 'loadReplay ': loads a previously saved replay file (extension .omr), starts replaying from the begin, and starts replay mode.

  • emu_keyboard

    Send a text to the openMSX emulator. Commands: 'sendText ': type a string in the emulated MSX, this command automatically press and release keys in the MSX keyboard matrix. Important Note: each 'text' sent is limited to 200 characters, and the 'text' is sent as if it was typed in the MSX keyboard. Important Note: escape keys that needs it as Return key (use \r), double quotes (use "), etc...

  • screen_shot

    Take a screenshot of the openMSX emulator screen. Commands: 'as_image': take a screenshot and the image is returned in the response. 'to_file': take a screenshot and save it to a file, the file name is returned in the response.

  • screen_dump

    Take a screendump of the openMSX emulator screen as SC?. The parameter scrbasename is the name of the filename (without path) to save the screendump, default is 'screendump'.

  • basic_programming

    Tool helper to develop BASIC programs. Commands: 'newProgram': clears the current BASIC program. 'setProgram ': sets/updates the current BASIC program to the specified string. 'runProgram': runs the current BASIC program. 'getFullProgram': returns the current BASIC program as a plain text string. 'getFullProgramAdvanced': returns the current BASIC program with the ram address where each line is coded. 'listProgramLines [endLine]': lists at the emulator screen the selected range lines of the current BASIC program. 'deleteProgramLines [endline]': deletes a specific line range from the current BASIC program, if endline is not specified, only the startLine is deleted. Important Note: priorize this tools to develop BASIC programs, it's more efficient than using the 'sendText' tool. Important Note: all the program lines must be ended with a carriage return (\r) to be correctly processed, even the last one. **Important Note

استخدم MCP الخاص بـ MCP-openMSX مع نماذج ذكاء اصطناعي متعددة

يربط TypingMind أدوات MCP على مستوى مساحة العمل، لذا بمجرد توصيل MCP-openMSX، يمكنك استخدامه مع نماذج ذكاء اصطناعي مختلفة في TypingMind بدلًا من إعداده لكل نموذج على حدة. يمكنك تشغيل MCP محليًا على جهازك أو الاتصال بعنوان URL لخادم MCP بعيد.

الخيار 1: استخدام الموصل المحلي

استخدم هذا الخيار عندما يحتاج خادم MCP إلى الوصول إلى ملفات محلية أو تطبيقات أو موارد خاصة على جهاز الكمبيوتر لديك.

1

فتح إعدادات MCP

في TypingMind، انتقل إلى «الإعدادات»، ثم «الإعدادات المتقدمة»، ثم «بروتوكول سياق النموذج»، واختر «إعداد الموصل».

  1. افتح TypingMind في متصفحك.
  2. انقر على أيقونة الإعدادات.
  3. انتقل إلى الإعدادات المتقدمة.
  4. افتح قسم بروتوكول سياق النموذج.
  5. انقر على «إعداد الموصل» واختر «هذا الجهاز».
شاشة إعداد موصل MCP في TypingMind مع تحديد «هذا الجهاز»
2

تنفيذ أمر الموصل

اختر «هذا الجهاز»، وانسخ الأمر من TypingMind وشغّله في Terminal. أبقِ العملية قيد التشغيل أثناء استخدام MCP.

  1. انسخ أمر الإعداد الذي يعرضه TypingMind.
  2. افتح Terminal على macOS أو Windows Terminal على Windows.
  3. الصق الأمر ونفّذه.
  4. وافق على تثبيت الحزمة إذا طلب منك Terminal تأكيد المتابعة.
  5. أبقِ نافذة Terminal والعملية التي تعمل فيها قيد التشغيل أثناء استخدام أدوات MCP.
3

أضف MCP-openMSX كخادم

عندما تظهر حالة الموصل «جاهز»، انقر على «تعديل الخوادم» والصق إعدادات خادم MCP.

  1. انتظر حتى تظهر حالة الموصل «جاهز».
  2. انقر على «تعديل الخوادم».
  3. الصق إعدادات خادم MCP الخاص بـ MCP-openMSX.
  4. احفظ قائمة الخوادم.
  5. حدّث الحالة إذا أردت التأكد من أن الموصل لا يزال جاهزًا.
إعدادات MCP في TypingMind تعرض خادمًا نشطًا وزر «تعديل الخوادم»
{
  "mcpServers": {
    "mcp-openmsx": {
      "command": "npx",
      "args": [
        "-y",
        "@nataliapc/mcp-openmsx"
      ]
    }
  }
}
4

استخدام الاتصال مع نماذج مختلفة

احفظ قائمة الخوادم، وافتح «الإضافات»، وفعّل أدوات MCP الخاصة بـ MCP-openMSX، ثم اختر أي نموذج ذكاء اصطناعي مدعوم في TypingMind واستخدم الأدوات في المحادثة أو أسندها إلى وكيل ذكاء اصطناعي.

  1. افتح صفحة الإضافات في TypingMind.
  2. فعّل أدوات MCP الخاصة بـ MCP-openMSX.
  3. ابدأ محادثة واختر نموذج الذكاء الاصطناعي الذي تريد استخدامه.
  4. استخدم أدوات MCP في المحادثة أو عيّنها لوكيل ذكاء اصطناعي.
  5. انتقل إلى نموذج ذكاء اصطناعي آخر عند الحاجة دون إعادة الاتصال بـ MCP.
محادثة في TypingMind تستخدم أدوات MCP المفعّلة مع نموذج ذكاء اصطناعي محدّد
هل يمكنك استخدام MCP-openMSX لمساعدتي في هذه المهمة؟
MCP-openMSX
بالتأكيد. قرأته.
إليك ما وجدته باستخدام MCP-openMSX.

الخيار 2: إضافة عنوان URL لخادم MCP

استخدم هذا الخيار عندما يكون MCP-openMSX مستضافًا بالفعل عن بُعد أو عندما يريد فريقك موصلًا مشتركًا واحدًا يمكن لعدة مستخدمين الوصول إليه.

1

فتح موصلات MCP

في TypingMind، انتقل إلى «الإضافات»، وافتح «موصلات MCP»، ثم اختر «إضافة رابط».

  1. افتح TypingMind في متصفحك.
  2. انتقل إلى الإضافات.
  3. افتح موصلات MCP.
  4. انقر على «إضافة عنوان URL».
نموذج إضافة عنوان URL لخادم MCP مخصص في TypingMind
2

لصق عنوان URL للخادم

أدخل عنوان URL لخادم MCP الذي يقدّمه مزوّد الخدمة في حقل «رابط الخادم». أضف اسمًا للاتصال أو وصفًا أو أيقونة أو ترويسات HTTP مخصصة أو إعدادات عميل OAuth إذا كان الخادم يتطلب ذلك.

  1. ألصق عنوان URL لخادم MCP الذي يقدّمه مزوّد الخدمة في حقل «رابط الخادم».
  2. أدخل اسمًا لاتصال MCP-openMSX.
  3. أضف وصفًا وأيقونة لتسهيل التعرّف على الاتصال إن أردت.
  4. أضف ترويسات HTTP مخصصة أو تفاصيل عميل OAuth إذا كان الخادم يتطلب المصادقة.
3

إنشاء الاتصال

انقر على «إنشاء اتصال»، ثم عُد إلى قائمة الإضافات وتأكد من أن اتصال MCP الجديد نشط.

  1. انقر على «إنشاء اتصال».
  2. عُد إلى قائمة موصلات MCP.
  3. تأكد من ظهور اتصال MCP-openMSX بحالة «نشط».
  4. حدّث قائمة الإضافات إذا لم يظهر الاتصال فورًا.
4

تبديل النماذج دون إعادة الاتصال

ابدأ محادثة مع نموذجك المفضل، وفعّل أدوات MCP-openMSX من «الإضافات»، وانتقل إلى نموذج آخر عند الحاجة. يظل اتصال MCP متاحًا في مساحة عمل TypingMind.

  1. ابدأ محادثة جديدة في TypingMind.
  2. اختر نموذج الذكاء الاصطناعي الذي تريد استخدامه.
  3. فعّل أدوات MCP-openMSX من قسم الإضافات.
  4. اطلب من النموذج استخدام الأداة عند الحاجة.
  5. انتقل إلى نموذج ذكاء اصطناعي آخر وأعد استخدام اتصال MCP نفسه.
محادثة في TypingMind تستخدم أدوات MCP المفعّلة مع نموذج ذكاء اصطناعي محدّد
هل يمكنك استخدام MCP-openMSX لمساعدتي في هذه المهمة؟
MCP-openMSX
بالتأكيد. قرأته.
إليك ما وجدته باستخدام MCP-openMSX.

الأسئلة الشائعة

ما استخدامات خادم MCP MCP-openMSX؟

MCP-openMSX هو خادم MCP يتيح لتطبيقات الذكاء الاصطناعي المتوافقة الاتصال بأدوات ومصادر سياق خارجية. في TypingMind، يمكنك إضافة خادم MCP هذا مرة واحدة وإتاحة أدواته في مساحة عملك للذكاء الاصطناعي.

هل يمكنني استخدام خادم MCP MCP-openMSX مع نماذج ذكاء اصطناعي متعددة في TypingMind؟

نعم. يربط TypingMind أدوات MCP على مستوى مساحة العمل، لذا يمكنك استخدام MCP-openMSX مع نماذج ذكاء اصطناعي مختلفة مثل Claude أو ChatGPT أو Gemini أو غيرها من النماذج التي أعددتها في TypingMind، دون إعداد خادم MCP لكل نموذج على حدة.

لماذا تستخدم موصل MCP MCP-openMSX مع TypingMind؟

يُعد TypingMind من أفضل واجهات المحادثة مع النماذج اللغوية الكبيرة، إذ يجمع نماذج ذكاء اصطناعي متعددة ومطالبات وإضافات ووكلاء ذكاء اصطناعي ومفاتيح API وأدوات MCP في مساحة عمل واحدة. بعد توصيل MCP-openMSX، يمكنك استخدام أدوات MCP الخاصة به عبر نماذجك المفضلة مع الحفاظ على سير عمل محادثاتك منظمًا في TypingMind.

كيف أوصّل خادم MCP MCP-openMSX بـ TypingMind؟

يمكن توصيل MCP-openMSX بـ TypingMind باستخدام موصل MCP المحلي أو بإضافة عنوان URL لخادم MCP بعيد. استخدم الموصل المحلي عندما يحتاج الخادم إلى الوصول إلى ملفات أو تطبيقات أو موارد خاصة على جهازك، واستخدم عنوان URL للخادم عندما يكون خادم MCP مستضافًا عن بُعد.

ما الأدوات التي يوفّرها خادم MCP MCP-openMSX في TypingMind؟

يتيح MCP-openMSX أدوات MCP بعدد 15، يمكنك تفعيلها من صفحة الإضافات في TypingMind واستخدامها في المحادثات أو تعيينها لوكلاء ذكاء اصطناعي.

هل أحتاج إلى مشاركة مفاتيح API الخاصة بي مع TypingMind لاستخدام خادم MCP MCP-openMSX؟

لا. يعطي TypingMind الأولوية للعمل المحلي ويُبقي مزوّدي النماذج ومفاتيح API والمطالبات وإعدادات MCP تحت تحكمك. إذا كان MCP-openMSX يتطلب مصادقة، فأضف الترويسات أو إعدادات OAuth أو الإعدادات المحلية المطلوبة لخادم MCP هذا عند إنشاء الاتصال.

خوادم MCP ذات صلة

عرض الكل

أنشئ مساحة عملك للذكاء الاصطناعي الآن

اشترك في نشرتنا البريدية لتصلك أخبار الميزات الجديدة والهدايا القادمة 👇