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
链接
  • 将工具接入 AI 工作流

    MCP-openMSX 提供 MCP 功能,可供兼容的 AI 客户端和智能体使用。

  • 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-openMSX MCP 与多个 AI 模型配合使用

TypingMind 在工作区级别连接 MCP 工具,因此连接 MCP-openMSX 后,您就可以在 TypingMind 中搭配不同的 AI 模型使用,无需为每个模型单独设置。 您可以在自己的设备上本地运行 MCP,也可以通过 URL 连接远程 MCP 服务器。

方式 1:使用本地连接器

如果 MCP 服务器需要访问您电脑上的本地文件、应用或私有资源,请选择此方式。

1

打开 MCP 设置

在 TypingMind 中,依次前往“设置”、“高级设置”和“模型上下文协议”,然后选择“设置连接器”。

  1. 在您的浏览器中打开 TypingMind。
  2. 点击“设置”图标。
  3. 进入“高级设置”。
  4. 打开“模型上下文协议”部分。
  5. 点击“设置连接器”,然后选择“此设备”。
TypingMind MCP 连接器设置界面,已选择“此设备”
2

运行连接器命令

选择“此设备”,从 TypingMind 复制命令并在终端中运行。使用 MCP 时,请保持该进程运行。

  1. 复制 TypingMind 显示的设置命令。
  2. 在 macOS 上打开“终端”,或在 Windows 上打开 Windows Terminal。
  3. 粘贴并运行命令。
  4. 如果终端询问您是否继续,请确认安装软件包。
  5. 使用 MCP 工具时,请勿关闭终端窗口或停止其中的连接器进程。
3

将 MCP-openMSX 添加为服务器

当连接器状态为“就绪”时,点击“编辑服务器”,然后粘贴 MCP 服务器配置。

  1. 等待连接器状态显示为“就绪”。
  2. 点击“编辑服务器”。
  3. 粘贴 MCP-openMSX MCP 服务器配置。
  4. 保存服务器列表。
  5. 如需确认连接器是否仍处于就绪状态,请刷新。
TypingMind MCP 设置界面,显示正在运行的服务器和“编辑服务器”按钮
{
  "mcpServers": {
    "mcp-openmsx": {
      "command": "npx",
      "args": [
        "-y",
        "@nataliapc/mcp-openmsx"
      ]
    }
  }
}
4

在不同模型中使用同一连接

保存服务器列表,打开“插件”,启用 MCP-openMSX MCP 工具,然后在 TypingMind 中选择任意受支持的 AI 模型,即可在聊天中使用这些工具,或将其分配给智能体。

  1. 在 TypingMind 中打开“插件”页面。
  2. 启用 MCP-openMSX MCP 工具。
  3. 开始聊天并选择您想使用的 AI 模型。
  4. 在聊天中使用 MCP 工具,或将其分配给 AI 智能体。
  5. 根据需要随时切换到其他 AI 模型,无需重新连接 MCP。
在 TypingMind 聊天中使用已启用的 MCP 工具和选定的 AI 模型
您能使用 MCP-openMSX 帮我完成这项任务吗?
MCP-openMSX
当然,我看过了。
以下是我使用 MCP-openMSX 得到的结果。

方式 2:添加 MCP 服务器 URL

如果 MCP-openMSX 已托管在远程服务器上,或您的团队希望让多个用户共用一个连接器,请选择此方式。

1

打开 MCP 连接器

在 TypingMind 中,前往“插件”,打开“MCP 连接器”,然后选择“添加 URL”。

  1. 在您的浏览器中打开 TypingMind。
  2. 进入“插件”。
  3. 打开“MCP 连接器”。
  4. 点击“添加 URL”。
TypingMind 的“添加自定义 MCP 服务器 URL”表单
2

粘贴服务器 URL

在“服务器 URL”字段中输入 提供商提供的 MCP 服务器 URL。根据服务器要求,添加连接名称、描述、图标、自定义 HTTP 请求头或 OAuth 客户端设置。

  1. 将 提供商提供的 MCP 服务器 URL 粘贴到“服务器 URL”字段中。
  2. 为 MCP-openMSX 输入连接名称。
  3. 您可以添加描述和图标,以便更容易识别此连接。
  4. 如果服务器需要身份验证,请添加自定义 HTTP 请求头或 OAuth 客户端信息。
3

创建连接

点击“创建连接”,然后返回插件列表,确认新的 MCP 连接处于可用状态。

  1. 点击“创建连接”。
  2. 返回 MCP 连接器列表。
  3. 确认列表中的 MCP-openMSX 连接显示为可用状态。
  4. 如果连接未立即出现,请刷新插件列表。
4

切换模型,无需重新连接

使用您偏好的模型开始聊天,在“插件”中启用 MCP-openMSX 工具,并根据需要随时切换到其他模型。该 MCP 连接在 TypingMind 工作区中仍然可用。

  1. 在 TypingMind 中开始新聊天。
  2. 选择您想使用的 AI 模型。
  3. 在“插件”中启用 MCP-openMSX 工具。
  4. 需要时,请让模型使用该工具。
  5. 切换到其他 AI 模型,继续使用同一个 MCP 连接。
在 TypingMind 聊天中使用已启用的 MCP 工具和选定的 AI 模型
您能使用 MCP-openMSX 帮我完成这项任务吗?
MCP-openMSX
当然,我看过了。
以下是我使用 MCP-openMSX 得到的结果。

常见问题

MCP-openMSX MCP 服务器有什么用途?

MCP-openMSX 是一个 MCP 服务器,可让兼容的 AI 客户端连接外部工具并获取上下文。在 TypingMind 中,只需添加一次此 MCP 服务器,即可在您的 AI 工作区中使用其工具。

可以在 TypingMind 中让多个 AI 模型使用 MCP-openMSX MCP 吗?

可以。TypingMind 在工作区层面连接 MCP 工具,因此您无需为每个模型单独配置 MCP 服务器,就能在 Claude、ChatGPT、Gemini 或您在 TypingMind 中配置的其他 AI 模型中使用 MCP-openMSX。

为什么在 TypingMind 中使用 MCP-openMSX MCP?

TypingMind 将多个 AI 模型、提示词、插件、AI 智能体、API 密钥和 MCP 工具整合到同一个工作区中,是最出色的大语言模型聊天前端之一。连接 MCP-openMSX 后,您可以在偏好的不同模型中使用其 MCP 工具,同时在 TypingMind 中井然有序地管理聊天工作流程。

如何将 MCP-openMSX MCP 连接到 TypingMind?

在 TypingMind 中,您可以使用本地 MCP 连接器或添加远程 MCP 服务器的 URL 来连接 MCP-openMSX。当服务器需要访问您设备上的文件、应用或私有资源时,请使用本地连接器;如果 MCP 服务器部署在远端,请使用服务器 URL。

MCP-openMSX MCP 在 TypingMind 中提供哪些工具?

MCP-openMSX 提供 15 个 MCP 工具,您可以在 TypingMind 的插件页面启用这些工具,然后在聊天中使用,或将其分配给 AI 智能体。

使用 MCP-openMSX MCP 需要向 TypingMind 提供我的 API 密钥吗?

不需要。TypingMind 采用本地优先的设计,让您自行选择模型提供商,并自行管理 API 密钥、提示词和 MCP 配置。如果 MCP-openMSX 需要身份验证,请在创建连接时,为该 MCP 服务器添加所需的请求头、OAuth 设置或本地配置。

相关 MCP 服务器

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇