Λογότυπο Puerts Unity MCP

Puerts Unity MCP

Κοινότητα
killop

unity-mcp driven by tencent puerts , invoke js/ts call c# in your cell phone and unity editor

Εκδότηςkillop
Αποθετήριοpuerts-unity-mcp
ΓλώσσαC#
Forks
5
Αστέρια
81
Διαθέσιμα εργαλεία
0
Τύπος μεταφοράςstdio
Άδεια χρήσηςMIT
Σύνδεσμοι
  • Συνδέστε εργαλεία σε ροές εργασίας AI

    Το Puerts Unity MCP παρέχει δυνατότητες MCP που μπορούν να χρησιμοποιηθούν από συμβατές εφαρμογές-πελάτες AI και πράκτορες AI.

  • 0 διαθέσιμα εργαλεία

    Περιηγηθείτε παρακάτω στις ενέργειες που μπορούν να κληθούν, μαζί με τα ονόματα και τις περιγραφές τους, όταν παρέχονται από τον διακομιστή.

  • Ρυθμίσεις έτοιμες για αντιγραφή

    Χρησιμοποιήστε τα αποσπάσματα εγκατάστασης για να ρυθμίσετε αυτόν τον διακομιστή στην εφαρμογή-πελάτη MCP που προτιμάτε.

  • Δείκτες ενδιαφέροντος για τον ανοιχτό κώδικα

    81 αστέρια και 5 διακλαδώσεις στο συνδεδεμένο αποθετήριο.


Features

FeatureDescription
Direct phone debuggingConnect an agent directly to an Android, iOS, or standalone Unity Player over HTTP and run PuerTS JavaScript inside the live game.
IL2CPP player supportBuild tools add PuerTS packages, native plugins, StreamingAssets config, Android permissions, and preservation hints for player builds.
Editor JavaScript without domain reloadeditor.js.eval runs in the Editor PuerTS VM. It does not generate C# files, call AssetDatabase.Refresh, or trigger a Unity domain reload.
Runtime JavaScriptruntime.js.eval targets local Play Mode or a remote Player MCP endpoint, including phones.
Unity window focusBring the Unity Editor process/window to the foreground before visual automation or evidence capture.
Editor and Player screenshotsCapture Unity EditorWindow tabs such as Game, Scene, Inspector, Console, or Hierarchy, and capture runtime Player/phone screens.
UI testing automationInspect visible UGUI controls with snapshot/find/raycast tools and click by text, path, instanceId, or screen coordinates for repeatable QA flows.
Profiler performance reportsCollect Unity Editor Profiler data for the Editor or attached Player/phone targets and generate hotspot reports with frame, marker, and GC.Alloc evidence.
C# and JavaScript MCP toolsCore tools are C#; project JavaScript tools can also be loaded from puerts-unity-mcp-extension/js/editor and js/runtime.
Domain reload recoveryThe Editor endpoint persists operation state, compile results, reload hints, and restarts itself after Unity domain reloads.

What It Controls

PuerTS Unity MCP treats every controllable Unity whole as one endpoint.

text
Agent / MCP client
  |
  | stdio JSON-RPC
  v
Node stdio proxy
  |
  | HTTP JSON-RPC POST /mcp
  v
+----------------------+      direct C# route      +-----------------------+
| Unity Editor MCP     | ------------------------> | Play Mode Runtime MCP |
| endpointKind=editor  |                           | endpointKind=player   |
| C# + Editor PuerTS   |                           | C# + Runtime PuerTS   |
+----------------------+                           +-----------------------+
        |
        | explicit direct target URL
        v
+----------------------+
| Phone / Player MCP   |
| Android, iOS, build  |
| C# + Runtime PuerTS  |
+----------------------+

Editor Play Mode is not a third MCP kind. It is the same Runtime MCP implementation running inside the Unity Editor process.

Quick Start

Vendor PuerTS

bash
node Packages/puerts-unity-mcp/Tools~/vendor-puerts.mjs

This downloads and verifies PuerTS Unity_v3.0.2 Core and V8 packages under third_party/puerts.

Sync Into A Unity Project

bash
node Packages/puerts-unity-mcp/Tools~/sync-local-package.mjs --unity-project-root <UnityProject>

The Unity project receives:

text
<UnityProject>/puerts-unity-mcp
<UnityProject>/puerts-unity-mcp-extension
<UnityProject>/.puerts-unity-mcp

To seed the demo extension layout as well:

bash
node Packages/puerts-unity-mcp/Tools~/create-extension-demos.mjs --unity-project-root <UnityProject>

install-to-unity-project.mjs also creates the same demos by default; pass --skip-extension-demos for a clean install.

Register Local UPM Packages

The sync script updates Packages/manifest.json with three local dependencies:

json
{
  "dependencies": {
    "com.tencent.puerts.core": "file:../puerts-unity-mcp/third_party/puerts/unity/upms/core",
    "com.tencent.puerts.v8": "file:../puerts-unity-mcp/third_party/puerts/unity/upms/v8",
    "puerts-unity-mcp": "file:../puerts-unity-mcp/Packages/puerts-unity-mcp"
  }
}

Configure Your Agent

Open the agent setup guide copied into the Unity package:

text
<UnityProject>/puerts-unity-mcp/Packages/puerts-unity-mcp/setup-for-agent.md

For Codex, the MCP server entry looks like this:

toml
[mcp_servers."puerts-unity-mcp"]
command = "node"
args = [
  "<UnityProject>/puerts-unity-mcp/Packages/puerts-unity-mcp/Tools~/puerts-unity-mcp-stdio-proxy.js",
  "--config",
  "<UnityProject>/puerts-unity-mcp-extension/editor-mcp-config.json"
]

Phone And IL2CPP Builds

For QA phones and real player builds, include the Runtime MCP in the player:

bash
node <UnityProject>/puerts-unity-mcp/Packages/puerts-unity-mcp/Tools~/add-pum-to-build.mjs --unity-project-root <UnityProject>

Remove it from player builds again with:

bash
node <UnityProject>/puerts-unity-mcp/Packages/puerts-unity-mcp/Tools~/remove-pum-from-build.mjs --unity-project-root <UnityProject>

The add script:

  • adds the local PuerTS and PuerTS Unity MCP package dependencies
  • copies puerts-unity-mcp-extension/mobile-mcp-config.json to Assets/StreamingAssets/PuertsUnityMcp/mobile-mcp-config.json
  • verifies the upstream PuerTS Android native libraries under third_party/puerts and uses the MCP Android permission library bundled under Packages/puerts-unity-mcp/Runtime/Plugins/Android
  • keeps runtime defaults low-IO for phones

remove-pum-from-build.mjs removes the build dependency entries and copied StreamingAssets config, but it does not delete the bundled Android plugin files from the package.

The runtime endpoint inside the phone exposes:

text
GET  /health
POST /mcp

An agent can connect without the Unity Editor by using:

bash
node <UnityProject>/puerts-unity-mcp/Packages/puerts-unity-mcp/Tools~/puerts-unity-mcp-stdio-proxy.js \
  --config <UnityProject>/puerts-unity-mcp-extension/editor-mcp-config.json \
  --target-kind player \
  --target-url http://PHONE_IP:18991

Remote phone/player connections are explicit. Put the URL in editor-mcp-config.json or pass --target-url:

json
{
  "selectedTargetKind": "player",
  "selectedTargetUrl": "http://PHONE_IP:18991"
}

Editor JavaScript Without Domain Reload

Use editor.js.eval for Editor automation that should stay smooth. It executes inside an existing PuerTS VM and does not create or compile C# scripts.

json
{
  "name": "editor.js.eval",
  "arguments": {
    "mode": "expression",
    "code": "CS.UnityEditor.EditorApplication.isPlaying"
  }
}

This is different from generating temporary C# files. JavaScript eval does not call AssetDatabase.Refresh, so normal Editor automation avoids Unity domain reload entirely.

When a domain reload is unavoidable because project C# changed, the Editor MCP records operation state under .puerts-unity-mcp/ops, writes compile result hints, and restarts its HTTP endpoint after afterAssemblyReload.

MCP Tool Extension

Core tools are implemented in C# and registered by the Editor or Runtime host. Project tools can be implemented in JavaScript or C# and appear in the same tools/list as built-ins. Project extensions do not silently replace an existing tool name; use a team prefix such as project.* or game.*.

text
<UnityProject>/puerts-unity-mcp-extension
  js/editor                Editor-side JavaScript MCP tools
  js/runtime               Runtime/player JavaScript MCP tools
  Packages/<package>       Optional project C# MCP extension packages
  skills                   Project skills for agents

Each JavaScript MCP tool has a manifest that points to a module:

json
{
  "name": "runtime.activeScene",
  "description": "Return the active Unity scene through the runtime PuerTS VM.",
  "modulePath": "active-scene.mjs",
  "functionName": "execute",
  "inputSchemaJson": "{\"type\":\"object\",\"additionalProperties\":true}"
}

Runtime JavaScript tools execute through runtime.js.eval, so the same tool model works for Play Mode and real phones.

The module should export a JSON-shaped function. Future agents can discover the same convention from MCP initialize instructions or the stdio proxy tool agent.extension.instructions.

js
export function execute(argsJson, contextJson) {
  const args = JSON.parse(argsJson || "{}");
  const context = JSON.parse(contextJson || "{}");
  return {
    ok: true,
    endpointKind: context.endpointKind,
    args
  };
}

The install script and Unity menu can copy a demo extension layout without overwriting existing files:

bash
node <repo>/Packages/puerts-unity-mcp/Tools~/create-extension-demos.mjs --unity-project-root <UnityProject>

You can also run PuerTS Unity MCP/Create Extension Demos in Unity. The demo includes:

  • js/editor/demo-editor-scene.*: an Editor JS tool that reads the active scene and Build Settings.
  • js/runtime/demo-runtime-screen.*: a Runtime JS tool for Play Mode or phone/player screen and scene data.
  • skills/puerts-unity-mcp-extension-demo.md: agent guidance for writing project extensions.
  • Packages/puerts-unity-mcp-extension-demo: a local C# provider package sample. To enable the C# demo, add "puerts-unity-mcp-extension-demo": "file:../puerts-unity-mcp-extension/Packages/puerts-unity-mcp-extension-demo" to Unity Packages/manifest.json.

Put project-specific authoring rules, gameplay workflows, and HotFix naming conventions into puerts-unity-mcp-extension/skills/*.md; agents can list and load them through agent.extension.skills.list, editor.skills.list, or runtime.skills.list.

Project C# MCP extensions should live in a separate local package under puerts-unity-mcp-extension/Packages/<project-extension-package>. That package may reference PuertsUnityMcp and project assemblies such as HotFix; the core puerts-unity-mcp package stays project-agnostic and build scripts can enable or remove the C# extension by editing Unity Packages/manifest.json. C# extensions implement IUnityMcpToolProvider and are discovered from loaded assemblies when the Editor or Runtime host starts:

csharp
using System.Threading.Tasks;
using PuertsUnityMcp;

public sealed class ProjectMcpTools : IUnityMcpToolProvider
{
    public string EndpointKind => "runtime"; // editor, runtime/player, or all

    public void RegisterTools(UnityMcpToolProviderContext context)
    {
        context.TryRegister(new DelegateUnityMcpTool(
            "game.status",
            "Return project runtime state.",
            JsonSchemas.Object(),
            (ctx, args) => Task.FromResult("{\"ok\":true}")));
    }
}

Built-in MCP Tools

tools/list returns the tools currently available on the connected endpoint. The tables below list the package-provided C# tools. Project JavaScript tools and C# provider tools are loaded in addition from the extension folder / loaded assemblies; project-specific tools such as game.* are not universal built-ins.

Editor MCP

ToolPurpose
mcp.infoReturn Editor endpoint metadata, health, and capabilities.
editor.stateReturn the current Unity Editor state.
editor.buildSettings.startupSceneReturn the first enabled scene in Build Settings.
editor.js.evalExecute JavaScript inside the Editor PuerTS VM without generating C# or normally triggering domain reload.
editor.hierarchy.getExport scene/Play Mode hierarchy JSON to .puerts-unity-mcp/hierarchy-results and return only file paths plus summary.
get-hierarchyuLoop-compatible alias for editor.hierarchy.get.
editor.window.focusBring the Unity Editor process/window to the foreground.
focus-windowuLoop-compatible alias for editor.window.focus.
editor.window.screenshotCapture an EditorWindow tab as PNG under .puerts-unity-mcp/editor-window-screenshots. This is Editor-only.
screenshotuLoop-compatible EditorWindow screenshot alias. Use Runtime screen.screenshot for Player/phone screenshots.
editor.profiler.targets.listList Unity Editor Profiler targets exposed by ProfilerDriver, including attached player/phone targets when Unity exposes them.
editor.profiler.connectBest-effort helper to switch the Unity Editor Profiler to Editor or a player/phone target.
editor.profiler.captureRecord through the Unity Editor Profiler, then analyze raw frame data into JSON/CSV/Markdown under .puerts-unity-mcp/perf-reports.
editor.profiler.analyzeAnalyze frames already available in the Unity Editor Profiler without starting a new recording.
editor.scriptTools.listList project JavaScript tools from puerts-unity-mcp-extension/js/editor.
editor.scriptTools.reloadReload Editor project JavaScript tools.
editor.skills.listList project skills from puerts-unity-mcp-extension/skills.
editor.skill.loadLoad one project skill.
editor.playmode.setEnter, exit, or toggle Play Mode through a delayed Editor request.
editor.playmode.stateReturn Play Mode state.
editor.playmode.set.immediateEnter, exit, or toggle Play Mode immediately.
editor.targets.listList this Editor and the configured direct remote Editor target, if set.
runtime.targets.listList local Play Mode Runtime and the configured direct Player target, if set.
targets.listList local Editor, local Play Mode Runtime, and configured direct remote targets.
runtime.js.evalForward JavaScript from the Editor to local Play Mode Runtime or a remote Player/phone.
runtime.tool.callCall a runtime MCP tool in local Play Mode or a remote Player target.
performance.hotspot.reportAIBridge-style alias for the Profiler workflow: capture/analyze Unity Editor Profiler data for Editor or attached phone/player targets and write a Markdown hotspot report.
perf.hotspot.reportAlias for performance.hotspot.report.
editor.compileTrigger AssetDatabase.Refresh and persist compile result hints for domain reload recovery tests.
op.statusRead persisted operation state or result.

Runtime / Player MCP

These tools are available in Editor Play Mode, Android, iOS, and standalone Player endpoints. Direct phone connections use this tool set.

ToolPurpose
mcp.infoReturn Runtime/Player endpoint metadata, health, and capabilities.
runtime.statusReturn Runtime/Player endpoint state.
runtime.targets.listList this Player endpoint.
targets.listAlias for runtime.targets.list.
runtime.js.evalExecute JavaScript inside the Runtime PuerTS VM.
runtime.reflection.invokeInvoke a static C# method through the reflection gateway.
runtime.scriptTools.listList project JavaScript tools from puerts-unity-mcp-extension/js/runtime.
runtime.scriptTools.reloadReload Runtime project JavaScript tools.
runtime.skills.listList project skills.
runtime.skill.loadLoad one project skill.
op.statusRead persisted operation state or result.
runtime.logsReturn recent entries from the Runtime log ring buffer.
runtime.logs.clearClear the Runtime log ring buffer.
screen.screenshotCapture the Player screen; phone defaults use in-memory PNG base64 to reduce device IO.
runtime.ui.snapshotReturn a structured snapshot of visible UGUI canvases, buttons, and clickable controls.
runtime.ui.findFind UGUI controls by text, name, path, or canvas.
runtime.ui.raycastRaycast runtime UI at a screen point or resolved target.
runtime.ui.clickClick a UGUI control by coordinates, path, or instanceId.
input.tapAlias for runtime.ui.click.

Agent PuerTS JS Guide

This section is written for agents that need to generate JavaScript for editor.js.eval, runtime.js.eval, or project JavaScript MCP tools.

Choose The Target VM

TaskToolVM
Unity Editor automationeditor.js.evalEditor PuerTS VM
Play Mode runtime automationruntime.js.eval with local Play Mode targetRuntime PuerTS VM
Android, iOS, standalone automationruntime.js.eval with targetId or httpUrlRuntime PuerTS VM on the player

Editor and Runtime are separate PuerTS ScriptEnv instances. Editor code can use UnityEditor APIs. Runtime/player code should use runtime-safe APIs.

Basic PuerTS Code

Use the PuerTS CS global first.

js
CS.UnityEngine.Debug.Log("hello from PuerTS Unity MCP");

var productName = CS.UnityEngine.Application.productName;
var sceneName = CS.UnityEngine.SceneManagement.SceneManager.GetActiveScene().name;

return {
  ok: true,
  productName: productName,
  sceneName: sceneName
};

For mode: "expression", the expression is returned automatically:

js
CS.UnityEngine.Application.version

For mode: "script", use return explicitly:

js
var go = CS.UnityEngine.GameObject.Find("Canvas");
return {
  found: !!go,
  name: go ? go.name : ""
};

Reflection Fallback

If a C# type is not available through generated wraps, use __unity_mcp. This project intentionally supports reflection-first access, which is useful during development and for project-specific IL2CPP investigation.

js
return __unity_mcp.invokeStatic(
  "UnityEngine.Debug",
  "Log",
  "hello through reflection"
);

Common helpers:

js
__unity_mcp.typeExists("UnityEngine.Application");
__unity_mcp.getStatic("UnityEngine.Application", "productName");
__unity_mcp.getStaticPath("UnityEngine.Screen", "width");
__unity_mcp.setStatic("UnityEngine.Time", "timeScale", 1);
__unity_mcp.invokeStatic("UnityEngine.Debug", "Log", "message");

On IL2CPP builds, reflection depends on the type and member surviving stripping. Add link.xml preservation or a project wrapper when a reflected type is stripped.

Runtime UI Automation Pattern

For black-box phone automation, prefer observation before action:

js
var root = CS.UnityEngine.GameObject.Find("UICanvas");
return {
  hasUiCanvas: !!root,
  screen: {
    width: CS.UnityEngine.Screen.width,
    height: CS.UnityEngine.Screen.height
  }
};

Then use runtime MCP tools such as:

  • screen.screenshot
  • runtime.ui.snapshot
  • runtime.ui.find
  • runtime.ui.raycast
  • runtime.ui.click
  • input.tap

For stable game workflows, put project-specific logic into puerts-unity-mcp-extension/js/runtime instead of repeatedly generating one-off eval scripts.

Profiler Hotspot Workflow

Performance diagnosis now uses the Unity Editor Profiler instead of a Runtime sampler. First call editor.profiler.targets.list to see targets the Profiler can see. For Editor profiling use target: "editor"; for a phone or Player, attach it in the Unity Profiler first, or try editor.profiler.connect with profilerTargetName, profilerTargetId, or profilerTargetUrl.

Then call editor.profiler.capture or performance.hotspot.report, for example with duration: "15s". The analyzer reads frames through ProfilerDriver.GetRawFrameDataView, follows the Profile Analyzer style for frame summary, top markers, self time, and GC.Alloc, and writes profiler-analysis.json, top-markers.csv, and report.md under .puerts-unity-mcp/perf-reports.

Return Values

Return JSON-serializable values: strings, numbers, booleans, arrays, and plain objects. Avoid returning raw Unity objects directly.

js
var camera = CS.UnityEngine.Camera.main;
return {
  hasMainCamera: !!camera,
  cameraName: camera ? camera.name : ""
};

Protocol Surface

HTTP endpoints:

EndpointPurpose
GET /healthEndpoint metadata, runtime state, capability summary
GET /api/pingLightweight health alias
POST /mcpSynchronous JSON-RPC MCP calls

Main MCP methods:

  • initialize
  • ping
  • tools/list
  • tools/call

JSON serialization in C# uses Unity JsonUtility. The package does not depend on Newtonsoft.Json or any other third-party JSON library.

Configuration And State

Persistent project configuration:

PathPurpose
puerts-unity-mcp-extension/editor-mcp-config.jsonEditor, agent, and explicit target selection config
puerts-unity-mcp-extension/mobile-mcp-config.jsonRuntime/player config copied into builds
Packages/puerts-unity-mcp/Runtime/Plugins/AndroidBundled MCP Android permission library; PuerTS native libraries come from the upstream UPM packages under third_party/puerts
Assets/puerts-unity-mcp/Runtime/Generated/Plugins/puerts_il2cppGenerated PuerTS IL2CPP bridge files for the current Unity project; ignore/regenerate instead of committing as reusable package source
puerts-unity-mcp-extension/js/editorProject Editor JS MCP tools
puerts-unity-mcp-extension/js/runtimeProject Runtime JS MCP tools
puerts-unity-mcp-extension/skillsProject skills for agents

Temporary state and operation data:

PathPurpose
.puerts-unity-mcp/editors/{editorId}/heartbeat.jsonEditor heartbeat
.puerts-unity-mcp/players/{playerId}/heartbeat.jsonOptional player heartbeat
.puerts-unity-mcp/ops/{operationId}Persistent operation state/result
.puerts-unity-mcp/temp/compile-resultsCompile result hints

Unity Project .gitignore

Add these entries to the Unity project .gitignore:

gitignore
# PuerTS Unity MCP runtime state and generated project-local files
.puerts-unity-mcp/
Assets/puerts-unity-mcp/Runtime/Generated/
Assets/puerts-unity-mcp/Runtime/Generated/Plugins/puerts_il2cpp/

Do not ignore the whole puerts-unity-mcp-extension directory. Project configs, JS tools, and skills under that directory are persistent project assets and may be committed when they are intended to travel with the project. Do not ignore puerts-unity-mcp/Packages/puerts-unity-mcp/Runtime/Plugins/Android; that folder contains the MCP Android permission library. Upstream PuerTS .so files come from third_party/puerts; do not duplicate them inside the MCP package.

The vendored PuerTS core and v8 UPM package .meta files must travel with the source tree. They pin ScriptedImporter GUIDs such as MJSImporter.cs; if those metas are missing on another machine, Unity regenerates a new importer GUID and rewrites *.mjs.meta script.guid references. If a Unity project vendors this repository under puerts-unity-mcp/, make sure the project .gitignore does not hide these paths, or force-add them once:

bash
git add -f puerts-unity-mcp/third_party/puerts/unity/upms/core/**/*.meta
git add -f puerts-unity-mcp/third_party/puerts/unity/upms/v8/**/*.meta

Directory Structure

text
puerts-unity-mcp
  Packages/puerts-unity-mcp
    Editor/      Editor MCP endpoint and Unity menus
    Runtime/     Runtime MCP assembly for Editor Play Mode, Android, iOS, and standalone builds
      Plugins/   Runtime native/plugin assets bundled with the package
    Tools~/      Node install, build, sync, and stdio proxy tools
    Tests/       Unity Editor tests
  docs/
    protocol.md
  third_party/puerts/
    Vendored PuerTS UPM packages and native plugins

License

PuerTS Unity MCP is released under the MIT License. See LICENSE.

Vendored third-party code under third_party/puerts keeps its upstream license files.

Χρησιμοποιήστε το MCP Puerts Unity MCP με πολλά μοντέλα AI

Το TypingMind συνδέει τα εργαλεία MCP σε επίπεδο χώρου εργασίας. Έτσι, μόλις συνδεθεί το Puerts Unity MCP, μπορείτε να το χρησιμοποιείτε με διαφορετικά μοντέλα AI στο TypingMind, αντί να το ρυθμίζετε ξεχωριστά για κάθε μοντέλο. Αυτή η ενσωμάτωση MCP εκτελείται τοπικά στη συσκευή σας μέσω του συνδέσμου MCP του TypingMind.

Οδηγός ρύθμισης για τη χρήση του τοπικού συνδέσμου

Επιλέξτε αυτή τη μέθοδο όταν ο διακομιστής MCP χρειάζεται πρόσβαση σε τοπικά αρχεία, εφαρμογές ή ιδιωτικούς πόρους στον υπολογιστή σας.

1

Ανοίξτε τις ρυθμίσεις MCP

Στο TypingMind, μεταβείτε στις «Ρυθμίσεις», έπειτα στις «Σύνθετες ρυθμίσεις» και στο «Model Context Protocol» και επιλέξτε «Ρύθμιση συνδέσμου».

  1. Ανοίξτε το TypingMind στο πρόγραμμα περιήγησής σας.
  2. Κάντε κλικ στο εικονίδιο «Ρυθμίσεις».
  3. Μεταβείτε στις «Σύνθετες ρυθμίσεις».
  4. Ανοίξτε την ενότητα Model Context Protocol.
  5. Κάντε κλικ στην επιλογή «Ρύθμιση συνδέσμου» και επιλέξτε «Αυτή η συσκευή».
Οθόνη ρύθμισης συνδέσμου MCP του TypingMind με επιλεγμένη την επιλογή «Αυτή η συσκευή»
2

Εκτελέστε την εντολή του συνδέσμου

Επιλέξτε «Αυτή η συσκευή», αντιγράψτε την εντολή από το TypingMind και εκτελέστε την στο Τερματικό. Διατηρήστε τη διεργασία σε λειτουργία όσο χρησιμοποιείτε το MCP.

  1. Αντιγράψτε την εντολή ρύθμισης που εμφανίζεται στο TypingMind.
  2. Ανοίξτε το Τερματικό στο macOS ή το Windows Terminal στα Windows.
  3. Επικολλήστε και εκτελέστε την εντολή.
  4. Εγκρίνετε την εγκατάσταση του πακέτου, αν το Τερματικό σάς ζητήσει επιβεβαίωση για να συνεχίσει.
  5. Διατηρήστε ανοιχτό το παράθυρο του Τερματικού και τη διεργασία σε λειτουργία όσο χρησιμοποιείτε εργαλεία MCP.
3

Προσθέστε το Puerts Unity MCP ως διακομιστή

Όταν η κατάσταση του συνδέσμου είναι «Έτοιμος», κάντε κλικ στο «Αλλαγή servers» και επικολλήστε τις ρυθμίσεις του διακομιστή MCP.

  1. Περιμένετε μέχρι η κατάσταση του συνδέσμου να εμφανιστεί ως «Έτοιμος».
  2. Κάντε κλικ στο «Αλλαγή servers».
  3. Επικολλήστε τις ρυθμίσεις του διακομιστή MCP Puerts Unity MCP.
  4. Αποθηκεύστε τη λίστα διακομιστών.
  5. Κάντε ανανέωση αν θέλετε να επιβεβαιώσετε ότι ο σύνδεσμος παραμένει έτοιμος για χρήση.
Ρυθμίσεις MCP του TypingMind με ενεργό διακομιστή και το κουμπί «Αλλαγή servers»
{
  "mcpServers": {
    "puerts-unity-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

Χρησιμοποιήστε τη σύνδεση με διαφορετικά μοντέλα

Αποθηκεύστε τη λίστα διακομιστών, ανοίξτε τα «Πρόσθετα», ενεργοποιήστε τα εργαλεία MCP του Puerts Unity MCP και έπειτα επιλέξτε οποιοδήποτε υποστηριζόμενο μοντέλο AI στο TypingMind. Χρησιμοποιήστε τα εργαλεία στη συνομιλία ή αναθέστε τα σε έναν πράκτορα AI.

  1. Ανοίξτε τη σελίδα «Πρόσθετα» στο TypingMind.
  2. Ενεργοποιήστε τα εργαλεία MCP του Puerts Unity MCP.
  3. Ξεκινήστε μια συνομιλία και επιλέξτε το μοντέλο AI που θέλετε να χρησιμοποιήσετε.
  4. Χρησιμοποιήστε τα εργαλεία MCP στη συνομιλία ή αντιστοιχίστε τα σε έναν πράκτορα AI.
  5. Μεταβείτε σε άλλο μοντέλο AI όποτε χρειάζεται, χωρίς να συνδέσετε ξανά το MCP.
Συνομιλία στο TypingMind με ενεργοποιημένα εργαλεία MCP και επιλεγμένο μοντέλο AI
Θα με βοηθήσετε σε αυτό μέσω Puerts Unity MCP;
Puerts Unity MCP
Βεβαίως. Το διάβασα.
Δείτε τι βρήκα μέσω του Puerts Unity MCP.

Συχνές ερωτήσεις

Σε τι χρησιμεύει ο διακομιστής MCP Puerts Unity MCP;

Το Puerts Unity MCP είναι ένας διακομιστής MCP που επιτρέπει σε συμβατές εφαρμογές AI να συνδέονται με εξωτερικά εργαλεία και πληροφορίες πλαισίου. Στο TypingMind, μπορείτε να προσθέσετε αυτόν τον διακομιστή MCP μία φορά και να κάνετε τα εργαλεία του διαθέσιμα στον χώρο εργασίας AI σας.

Μπορώ να χρησιμοποιήσω το Puerts Unity MCP MCP με πολλά μοντέλα AI στο TypingMind;

Ναι. Το TypingMind συνδέει τα εργαλεία MCP σε επίπεδο χώρου εργασίας, ώστε να μπορείτε να χρησιμοποιείτε το Puerts Unity MCP με διαφορετικά μοντέλα AI, όπως τα Claude, ChatGPT, Gemini ή άλλα μοντέλα που έχετε ρυθμίσει στο TypingMind, χωρίς να ρυθμίζετε τον διακομιστή MCP ξεχωριστά για κάθε μοντέλο.

Γιατί να χρησιμοποιήσετε τον σύνδεσμο MCP Puerts Unity MCP με το TypingMind;

Το TypingMind είναι ένα από τα καλύτερα περιβάλλοντα συνομιλίας με μεγάλα γλωσσικά μοντέλα, καθώς συγκεντρώνει πολλά μοντέλα AI, προτροπές, πρόσθετα, πράκτορες AI, κλειδιά API και εργαλεία MCP σε έναν χώρο εργασίας. Συνδέοντας το Puerts Unity MCP, μπορείτε να χρησιμοποιείτε τα εργαλεία MCP του με τα μοντέλα που προτιμάτε, διατηρώντας οργανωμένη τη ροή εργασίας των συνομιλιών σας στο TypingMind.

Πώς συνδέω το Puerts Unity MCP MCP στο TypingMind;

Το Puerts Unity MCP λειτουργεί μέσω του τοπικού συνδέσμου MCP του TypingMind. Αυτή είναι η καλύτερη επιλογή όταν ο διακομιστής MCP χρειάζεται πρόσβαση σε τοπικά αρχεία, εφαρμογές υπολογιστή, εργαλεία γραμμής εντολών ή ιδιωτικούς πόρους στον υπολογιστή σας.

Ποια εργαλεία παρέχει το Puerts Unity MCP MCP στο TypingMind;

Το Puerts Unity MCP διαθέτει δυνατότητες MCP που μπορείτε να ενεργοποιήσετε από τη σελίδα Πρόσθετα του TypingMind και να χρησιμοποιήσετε σε συνομιλίες ή να αναθέσετε σε πράκτορες AI.

Χρειάζεται να κοινοποιήσω τα κλειδιά API μου στο TypingMind για να χρησιμοποιήσω το Puerts Unity MCP MCP;

Όχι. Το TypingMind δίνει προτεραιότητα στην τοπική λειτουργία και σας επιτρέπει να διατηρείτε τον έλεγχο των παρόχων μοντέλων, των κλειδιών API, των προτροπών και των ρυθμίσεων MCP σας. Αν το Puerts Unity MCP απαιτεί έλεγχο ταυτότητας, προσθέστε τις απαιτούμενες κεφαλίδες, τις ρυθμίσεις OAuth ή τις τοπικές ρυθμίσεις για τον συγκεκριμένο διακομιστή MCP κατά τη δημιουργία της σύνδεσης.

Σχετικοί διακομιστές MCP

Προβολή όλων

Στήστε δικό σας χώρο εργασίας AI τώρα

Εγγραφείτε στο ενημερωτικό μας δελτίο για να ενημερώνεστε για νέες λειτουργίες και μελλοντικές κληρώσεις δώρων 👇