Logo Termux MCP

Termux MCP

Cộng đồng
termuxgpt

Powerful MCP server for Termux — let AI agents run shell commands on your Android device in real time.

Nhà phát hànhtermuxgpt
Kho mãtermux-mcp
Ngôn ngữPython
Bản fork
15
Sao
42
Công cụ có sẵn
0
Phương thức truyền tảistdio
Giấy phépAGPL-3.0
Liên kết
  • Kết nối công cụ với quy trình làm việc AI

    Termux MCP cung cấp các khả năng MCP mà ứng dụng khách và tác nhân AI tương thích có thể sử dụng.

  • 0 công cụ có sẵn

    Xem các thao tác có thể gọi bên dưới, kèm tên và mô tả nếu máy chủ cung cấp.

  • Cấu hình sẵn để sao chép

    Dùng các đoạn cấu hình cài đặt mẫu để thiết lập máy chủ này trong ứng dụng khách MCP bạn muốn dùng.

  • Chỉ số quan tâm đến mã nguồn mở

    42 sao và 15 bản fork từ kho mã được liên kết.

Termux-MCP

A lightweight HTTP server that runs inside Termux on Android, exposing shell execution and device capabilities as a streaming API. Built for AI agents, LLM tool-calling, and automation scripts.

text
AI Agent --> POST /run {"cmd": "ls -la"} --> Termux-MCP --> Termux Shell
                                                  |
                      <-- chunked streaming output -+

Two commands — which do I run?

CommandWhat it is
termux-mcpREST API daemon on :8080 (this README's endpoints)
termux-native-mcpNative MCP server (Model Context Protocol, spec 2025-06-18) for MCP clients: RikkaHub, desktop AI apps (Cursor, ...)

Both install together via pkg install termux-mcp and run as separate processes — starting termux-native-mcp never touches the REST daemon's port, state or behavior.

termux-mcp                  # REST API on 127.0.0.1:8080
termux-native-mcp           # native MCP, Streamable HTTP on 127.0.0.1:8081
termux-native-mcp --stdio   # native MCP over stdin/stdout (desktop clients)

RikkaHub (same phone):

json
{
  "type": "http",
  "url": "http://127.0.0.1:8081/mcp",
  "commonOptions": {
    "name": "Termux",
    "enable": true,
    "headers": [["Authorization", "Bearer <TERMUX_MCP_AUTH_TOKEN>"]]
  }
}

Desktop MCP client (over ssh): {"command": "ssh", "args": ["android", "termux-native-mcp", "--stdio"]}

Both servers share the same safety system (risk gates, file snapshots, trash) because they run the same handler code.

Installation

pip (recommended)

bash
pkg update && pkg install python -y
pip install termux-mcp
termux-mcp

This installs a global termux-mcp command — it runs from any directory, and pip install -U termux-mcp upgrades it.

From a clone

bash
pkg update && pkg install python git -y
git clone https://github.com/termuxgpt/termux-mcp
cd termux-mcp
pip install .
termux-mcp

pip install . registers the command globally, so the cd is only needed for the install itself. Without it, python -m termux_mcp only works from inside the clone.

Package repository

bash
curl -fSL https://termux-mcp.pages.dev/add-repo.sh | bash
pkg install termux-mcp
termux-mcp

Quick Test

bash
curl http://localhost:8080/ping
curl -X POST http://localhost:8080/run -H "Content-Type: application/json" -d '{"cmd": "ls ~"}'

Termux Tutorial Apps (AD)

Configuration

VariableDefaultDescription
TERMUX_MCP_PORT8080HTTP listen port
TERMUX_MCP_HOST127.0.0.1Bind address. Use 127.0.0.1 for local-only.
TERMUX_MCP_TIMEOUT0Command timeout in seconds. 0 = no timeout (default) — long operations like pkg upgrade run until they finish. Set a positive value to re-enable the watchdog kill.
TERMUX_MCP_AUTHoffAuthentication is off by default (loopback only). Set on to require a token: it is read from TERMUX_MCP_AUTH_TOKEN, or generated into ~/.termux-mcp/token (mode 0600) on first start.
TERMUX_MCP_AUTH_TOKEN(generated)Use this token instead of the generated one
TERMUX_MCP_CONFIG_DIR~/.termux-mcpToken, capability tokens, policy.json, event logs
TERMUX_MCP_LOG_EVENTS10 stops the JSONL event log (logs/events.jsonl)
TERMUX_MCP_MAX_OUTPUT20000Max streamed output bytes per command. Output beyond this is drained (process keeps running) but not sent; a truncation marker is appended. Keeps LLM tool results small and token-efficient.

The app needs no setup: termux-mcp listens on loopback and the app connects straight to it. If you want a token instead, set TERMUX_MCP_AUTH=on before starting the server — termux-mcp token prints it for clients that speak Authorization: Bearer ..., and termux-mcp token --rotate replaces it immediately. When binding to a non-loopback address, authentication cannot be switched off.

Endpoints

Shell & Filesystem

EndpointMethodParametersDescription
/runPOSTcmd (string, required)Execute a shell command with streaming output. The working directory is process-wide and shared between clients over HTTP — chain cd x && cmd for isolation.
/lsPOSTpath (string, default .), detailed (bool)List directory contents
/readPOSTpath (string, required)Read a file (first 500 lines)
/writePOSTpath, contentWrite content to a file via base64 encoding
/mkdirPOSTpathCreate directory (mkdir -p)
/deletePOSTpath, recursive (bool), confirmed (bool)Delete file or directory. Requires confirmation.
/searchPOSTpath, pattern (or query/name)Find files by name pattern
/cancelPOSTCancel currently running command

System Monitor & Management

EndpointMethodParametersDescription
/system-infoPOSTLive CPU%, RAM, disk, temperature, uptime as JSON
/process-listPOSTlimit (int, default 20)List running processes sorted by CPU usage
/process-killPOSTpid (int), signal (int, default 15)Terminate a process by PID
/healthPOSTFull diagnostic: core packages, Termux:API, storage, network, permissions

Cron Scheduler

EndpointMethodParametersDescription
/cron-addPOSTschedule, command, labelAdd a cron job. Schedule format: 0 3 * * * for daily at 3am.
/cron-listPOSTList all cron jobs
/cron-removePOSTlabel (optional)Remove cron jobs matching a label, or all if no label given

Backup, Restore & Cloud Sync

EndpointMethodParametersDescription
/backupPOSTtarget (home/packages/configs), output, includeCreate a tar.gz backup of home, packages, or configs
/restorePOSTfile, targetRestore from a backup file
/cloud-syncPOSTaction (backup/restore/list), target, output, fileCreate backups and provide cloud upload instructions
/changes_listPOSTformat (json/text), limit, since, task_idEvery file write, delete and trash the safety layer recorded, newest first, with a revertable flag
/undoPOSTpath, limit, since, task_id, confirmedPut files back to their earlier contents from the snapshots. Needs confirmed: true, since an undo is itself undone by taking a snapshot first

Code & Files

EndpointMethodParametersDescription
/diffPOSTfile, file2 (optional)Show diff between files, or file stats for a single file
/patchPOSTfile, patchApply a diff patch to a file

Device & Sensors

EndpointMethodParametersDescription
/batteryPOSTBattery status via termux-battery-status
/locationPOSTprovider (gps/network, default gps)GPS coordinates via termux-location
/wifi-infoPOSTWiFi connection details
/wifi-scanPOSTScan nearby WiFi networks
/camera-photoPOSTcamera_id (0/1), outputTake a photo
/camera-infoPOSTList available cameras
/screenshotPOSToutputTake a screenshot
/sensorPOSTsensor, limitRead sensor data
/fingerprintPOSTFingerprint authentication
/vibratePOSTduration_msVibrate the device
/torchPOSTstate (on/off)Toggle flashlight
/brightnessPOSTlevelGet/set screen brightness
/volumePOSTstream, levelGet/set volume

Communication

EndpointMethodParametersDescription
/notifyPOSTtitle, content, priority, idSend an Android notification
/notify-removePOSTidRemove a notification
/sms-sendPOSTnumber, textSend an SMS
/sms-inboxPOSTlimitRead SMS inbox
/tts-speakPOSTtext, rate, pitchText-to-speech
/speech-to-textPOSTSpeech recognition
/toastPOSTtextShow an Android toast
/dialogPOSTtitle, messageShow a confirmation dialog
/sharePOSTtext or fileShare via Android intent
/clipboard-getPOSTRead clipboard
/clipboard-setPOSTtextSet clipboard
/callPOSTnumberInitiate a phone call
/contactsPOSTList contacts
/list-appsPOSTList installed apps

Network

EndpointMethodParametersDescription
/open-urlPOSTurlOpen URL in browser
/downloadPOSTurl, description, titleDownload a file
/public-ipPOSTGet public IP address
/weatherPOSTcityWeather via wttr.in
/speedtestPOSTInternet speed test
/web-serverPOSTaction (start/stop/status), port, directoryStart a Python HTTP server

Media

EndpointMethodParametersDescription
/image-processPOSTaction, input, output, width, heightImage operations via ImageMagick
/video-processPOSTaction, input, output, crf, start, durationVideo operations via FFmpeg
/text-extractPOSTinput, langOCR via Tesseract
/qrcodePOSTtext, outputGenerate QR code
/scan-barcodePOSTcamera_id, outputScan barcode via camera
/screen-recordPOSToutput, action (start/stop)Screen recording
/microphone-recordPOSToutput, limit_seconds, actionMicrophone recording
/wallpaperPOSTfile, lockscreenSet wallpaper

Doctor & Playbooks

EndpointMethodParametersDescription
/doPOSTtext, dry_run, confirmed, formatDo what the user asked, in their own words, when the phone already knows how. Matches their words to a playbook and fills its values — free, no model. If it is not known, nothing runs
/doctorPOSTcheck, fix, confirmed, task_id, format (text/json)Check this install for the things that break everyday work — missing tools, unlinked storage, a stuck package manager, no network. Reports and names the fix; with fix: true it applies each failing check's repair (its requirements first), then re-checks. Every repair command goes through the same risk gate, snapshots and journal as any other
/capsulePOSTaction (export/preview/import), playbook, path, sign, signer, confirmed, overwrite, formatMove a saved task between phones as one file: a checksum, a manifest of what it does and would install, and an SSH signature when the phone has a key. A preview shows all of it; nothing installs without confirmed: true
/harvestPOSTsteps, title, values, phrases, playbook, overwrite, formatSave what was just done as a task the phone can repeat with no model: the values in the commands become slots. Validated before it lands in ~/termuxGPT/playbooks/
/playbooksPOSTplaybook, run, dry_run, with, confirmed, task_id, undo, formatList the library, read one, run one, or undo a run. A run meets its requirements first, verifies each step, and writes a record — so the whole thing undoes as one unit

Playbooks are declarative, one JSON file each, and validated when they load: phrases, typed slots, preconditions, steps with a verification, and the line to say afterwards. The doctor's checks are the same objects — a check is a probe with a fix, and a playbook's requires names a check. Ten ship with the package (update and upgrade, install anything, clone a repo, storage setup, check space, find what is eating it, clear the package cache, battery, wifi, an SSH key); harvest adds more, saved under ~/termuxGPT/playbooks/ and loaded alongside the shipped ones.

Smart Tools

EndpointMethodParametersDescription
/smart-installPOSTpackages, manager, dry_runIntelligent package install with conflict detection
/diagnosePOSTintent (python/pip/node/git/storage/packages/all)Run diagnostics for a specific tool
/pkg-smartPOSTintent, installIntent-based package discovery (60+ mappings)
/dev-envPOSTintent, nameOne-click development environment setup
/profilePOSTprofile, dry_runPre-configured Termux profiles (dev, python, web, hacker, etc.)
/optimizePOSTPerformance analysis and recommendations
/error-explainPOSTerror, commandGather context to help AI explain errors
/permission-fixPOSTtargetDiagnose and fix permission issues
/storage-auditPOSTFind large files and suggest cleanup
/deps-treePOSTpackageShow package dependency tree
/config-fixPOSTconfigCheck Termux configuration issues
/reviewPOSTfileStatic analysis (syntax check, linting)
/log-analyzePOSTfileExtract errors and warnings from log files
/script-genPOSTdescription, type, outputGenerate shell or Python script templates
/regexPOSTpattern, testTest regex patterns with grep
/db-designPOSTschema, outputCreate SQLite database from schema description
/db-queryPOSTdatabase, queryExecute SQLite query
/translatePOSTtext, target_lang, source_langText translation
/tutorialPOSTtopicInteractive Termux learning guide

Git Operations

EndpointMethodParametersDescription
/git-opPOSTaction (clone/status/log/diff/pull/push/branch), url, directory, repo_dirGeneral git operations
/git-smartPOSTaction (diff-summary/log-recent/suggest-commit/fix-conflict), repo_dirAI-friendly smart git operations

SSH, Services & Migration

EndpointMethodParametersDescription
/ssh-wizardPOSTaction (setup/status/stop)Full SSH server setup with key generation
/service-guardPOSTaction, name, cmdBackground service management
/history-insightPOSTfile, limitAnalyze shell usage patterns, suggest aliases
/quick-cmdPOSTaction, name, cmdAlias and shortcut management
/port-managePOSTaction, portNetwork port visibility
/migratePOSTaction (backup/restore/preview), output, fileFull Termux environment migration

Other

EndpointMethodParametersDescription
/pingGETHealth check
/approvePOSTaction, reason, methodAsk the user to approve one exact action on the device — their fingerprint, or a dialog when no fingerprint is enrolled. An approved action runs once, within 3 minutes
/askPOSTwidget, title, hint, values, multiline, formatAsk the user for input with a native Android dialog: text, number, radio, sheet, spinner, checkbox, date, time or speech. values are the choices; commas inside one are fine, backslashes are not
/toolsGETFull OpenAI-format tool schemas for all tools (function-calling ready)
/catalogGETCompact tool catalog: {name, desc, params, category} per tool — small enough to embed in an LLM system prompt or a use_tool meta-tool
/envGETEnvironment info (cwd, home, pid)
/explainPOSTcmdExplain what a shell command does
/telephony-deviceinfoPOSTDevice telephony info
/telephony-cellinfoPOSTCell tower info
/infraredPOSTfrequency, patternIR blaster
/media-playerPOSTactionMedia playback control
/storage-getPOSToutputGet file via Android SAF

Smart tools (0.12) — fewer tokens, verified results

Every smart tool answers with a compact digest instead of raw output:

json
{"ok": false, "exit": 100, "summary": "", "errors": [{"code": "E_PKG_NOT_FOUND", "subject": "htopp"}],
 "fixes": [{"id": "pkg_search_name", "risk": "safe"}], "excerpt": "…", "out_ref": "8f2c1a"}

Only six entries are listed in tools/list (run_digest, out_read, context_pack, batch, tool_search, smart). The other ~40 are reached with smart {tool, params} after tool_search returns their schema, so the per-request tool list stays small. Every one is also a REST endpoint (POST /<tool>) and a WebSocket tool; native MCP results carry structuredContent.

GroupTools
Token saversrun_digest, out_read, digest_text, context_pack (ETag), batch, tool_search, cost_meter
Verified one-call jobspkg_ensure, file_edit, service_ensure/service_stop, port_free, project_profile, project_run, storage_clean, git_sync
Zero-AI pathsintent (local router), fix_lookup/fix_apply (FixGraph, 40 tested fixes with live success rates), graph_query/graph_refresh (SQLite device graph), short-TTL answer cache
Accuracyshell_lint (auto-rewrites), plan_check (dry-run), tx_begin/tx_status/tx_commit/tx_rollback, answer_check (grounding)
New capabilitieswatch_add/watch_list/watch_remove/watch_toggle (event reactor), sandbox_run/sandbox_apply/sandbox_discard, explain_cmd, snapshot_env/restore_env, screen_ocr, camera_scan, notify_ask, recipe_share, health_watch, task_start/task_status/task_list

MCP resources: termux://graph, termux://changes, termux://health, termux://context, termux://out/<ref>.

Every shell call made by a smart tool has a hard timeout and runs in its own process group, so a hung termux-* command is killed with all of its children instead of blocking the connection.

0.13 — hardened kernel, learning, autonomy, power tools

One execution kernel. /run, WebSocket run, MCP run, run_digest and every shell-backed endpoint go through kernel.gate() — capability scope → policy.json → dangerous tier → warning tier (with one-shot device approvals) — and share one watchdog (TERMUX_MCP_TIMEOUT, termux-* helpers capped at 25 s, process groups via start_new_session). Transport-parity tests keep all four answering the same way. GET /metrics (and the metrics tool) shows per-tool p50/p95 latency, error rates, error codes and FixGraph success rates; each call is also a line in ~/.termux-mcp/logs/events.jsonl.

Learn once, run forever.

ToolWhat it does
learn_propose / learn_saveCompact a finished task (failed and exploratory steps dropped, values → slots, verify kept) into a playbook that intent/do replays with no model
semantic intentA trigram + word TF-IDF phrase bank (no dependencies) catches paraphrases: "no room left on my phone" → storage_clean
fix_learn / fix_shareA fix that worked becomes a candidate; after 2 successes FixGraph returns it. Export/import with a checksum (imports start untrusted)
plan_cache_get / plan_cache_put / plan_replayThe same request on the same device replays its last good plan (plan_checked first)
prompt_packOnly the rules/tools a task type needs instead of one big system prompt

Autonomy with guard-rails.

ToolWhat it does
goal_runplan_check → steps in one transaction → one known fix per failure → verify → commit, or roll back and return a decision. Budget {steps, minutes, fixes}
policy_get / policy_setdeny_paths, allow_paths, deny_tools, network, pip: venv_only, sandbox_unknown_scripts. Tightening is free; loosening needs an on-device approval (approve action=policy_set)
cap_issue / cap_list / cap_revokeScoped, expiring cap_… tokens (tools, paths, read-only) for external MCP clients, enforced on REST, WebSocket, PTY and native MCP. Only their hash is stored
dry_run: trueOn every write tool: what would happen and what the kernel would decide, nothing executed
timeline / undo_taskChanges grouped by task; undo any past task, with a warning when later tasks touched the same files

Power tools: venv_ensure, node_ensure, proot_ensure/proot_run, cron_ensure, tunnel (time-limited public URL), web_fetch (readable text / CSS selector), db_query (SQLite or CSV), log_watch (reactor log_match), file_find (indexed), backup_incremental (dedup + verify + restore; encrypted via restic), clipboard_pipe, share_to, media_convert (ffmpeg presets with progress), ssh_hosts/ssh_run.

All of them are reached through smart {tool, params} / tool_search, so tools/list stays at six entries.

Streaming Output

The /run endpoint and most tool endpoints use HTTP chunked transfer encoding. Output is sent line-by-line as the command produces it. Clients should read the response as a stream and process each chunk as it arrives.

For long-running commands, a watchdog thread enforces the timeout. Package install commands automatically receive -y flags and DEBIAN_FRONTEND=noninteractive to prevent prompts.

Security

  • Command injection. Every parameter interpolated into a shell command is quoted with shell_quote, and every numeric parameter is validated by require_number/require_int — a value that is not a number is rejected, not passed through. Parameters embedded in double-quoted echo arguments are quoted as whole strings, since double quotes still permit $(...).
  • Risk gate. Commands are assessed before execution. The DANGEROUS tier (e.g. rm -rf /, mkfs., writes to /dev/, chmod -R 777) is refused on every shell-backed endpoint — the check lives in the shared executor, so a new endpoint cannot forget it. The WARNING tier (package removals, recursive deletes) requires an explicit confirmed: true on /run, or an approval for that exact command taken from the device with /approve — which costs the user a fingerprint instead of a tap.
  • Sensitive writes. /write and /patch can edit anything outside /dev, /proc and /sys — that is the point of them — but paths that grant persistence require confirmation: ~/.ssh/, ~/.bashrc, ~/.profile, ~/.termux/ (including boot/), and anything under $PREFIX. These are an SSH backdoor, code run on shell start, and code run at device boot respectively.
  • Authentication. Off by default, and the server refuses to start unless it is on when HOST is non-loopback. With TERMUX_MCP_AUTH=on, every endpoint requires a Bearer token — POST, GET (except /ping, which the client's connectivity probe needs before it holds a token), and the WebSocket, which accepts the token via the Authorization header or a ?token= query parameter. Capability tokens (cap_…) are accepted everywhere with their scope enforced; they never get a raw PTY unless they name terminal_open.
  • Network. A request carrying an Origin header is rejected unless that origin is allowlisted, so a page open on the device cannot reach the server by resolving its own hostname to loopback. Requests with no Origin (the app, curl, stdio clients) are unaffected.
  • Request body size is capped at 5 MB; WebSocket frames at 8 MB.
  • Request bodies are not logged — only their size.
  • Each WebSocket connection keeps its own cd state. Over HTTP the working directory is process-wide and shared between clients, so one caller's cd affects the next; chain cd x && cmd if you need isolation.

License

GNU Affero General Public License v3.0 (AGPL-3.0)

Copyleft — anyone who distributes a modified version, or hosts it as a service (SaaS), must release their changes under the same license.

Note: versions up to 0.8.3 were released under the MIT License; those releases keep their MIT terms. AGPL-3.0 applies from 0.8.4 onward.

Dùng MCP Termux MCP với nhiều mô hình AI

TypingMind kết nối các công cụ MCP ở cấp không gian làm việc, nên sau khi kết nối Termux MCP, bạn có thể dùng với nhiều mô hình AI khác nhau trong TypingMind thay vì phải thiết lập riêng cho từng mô hình. MCP này chạy cục bộ thông qua trình kết nối MCP của TypingMind trên thiết bị của bạn.

Hướng dẫn thiết lập để dùng trình kết nối cục bộ

Dùng cách này khi máy chủ MCP cần truy cập các tệp, ứng dụng hoặc tài nguyên riêng tư trên máy tính của bạn.

1

Mở cài đặt MCP

Trong TypingMind, vào Cài đặt, Cài đặt nâng cao, rồi đến Giao thức ngữ cảnh mô hình và chọn Cài trình kết nối.

  1. Mở TypingMind trong trình duyệt của bạn.
  2. Nhấp vào biểu tượng Cài đặt.
  3. Vào Cài đặt nâng cao.
  4. Mở mục Giao thức ngữ cảnh mô hình.
  5. Nhấp vào Cài trình kết nối rồi chọn Thiết bị này.
Màn hình thiết lập trình kết nối MCP của TypingMind với tùy chọn Thiết bị này được chọn
2

Chạy lệnh trình kết nối

Chọn Thiết bị này, sao chép lệnh từ TypingMind và chạy trong Terminal. Giữ tiến trình chạy trong khi bạn dùng MCP.

  1. Sao chép lệnh thiết lập hiển thị trong TypingMind.
  2. Mở Terminal trên macOS hoặc Windows Terminal trên Windows.
  3. Dán và chạy lệnh.
  4. Xác nhận cài đặt gói nếu Terminal hỏi bạn có muốn tiếp tục không.
  5. Giữ tiến trình trong cửa sổ Terminal chạy trong khi dùng các công cụ MCP.
3

Thêm Termux MCP làm máy chủ

Khi trạng thái trình kết nối là Sẵn sàng, nhấp vào Sửa máy chủ và dán cấu hình máy chủ MCP.

  1. Đợi đến khi trạng thái trình kết nối hiển thị Sẵn sàng.
  2. Nhấp vào Sửa máy chủ.
  3. Dán cấu hình máy chủ MCP của Termux MCP.
  4. Lưu danh sách máy chủ.
  5. Làm mới nếu bạn muốn xác nhận trình kết nối vẫn sẵn sàng.
Cài đặt MCP của TypingMind hiển thị máy chủ đang hoạt động và nút Sửa máy chủ
{
  "mcpServers": {
    "termux-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

Dùng kết nối với nhiều mô hình

Lưu danh sách máy chủ, mở Plugin, bật các công cụ MCP của Termux MCP, sau đó chọn bất kỳ mô hình AI nào được hỗ trợ trong TypingMind và dùng các công cụ trong cuộc trò chuyện hoặc gán chúng cho một tác nhân AI.

  1. Mở trang Plugin trong TypingMind.
  2. Bật các công cụ MCP của Termux MCP.
  3. Bắt đầu cuộc trò chuyện và chọn mô hình AI bạn muốn dùng.
  4. Dùng các công cụ MCP trong cuộc trò chuyện hoặc gán chúng cho một tác nhân AI.
  5. Chuyển sang mô hình AI khác bất cứ khi nào cần mà không phải kết nối lại MCP.
Cuộc trò chuyện TypingMind dùng các công cụ MCP đã bật với một mô hình AI được chọn
Bạn có thể dùng Termux MCP giúp tôi làm việc này không?
Termux MCP
Được. Tôi đã đọc.
Đây là kết quả tôi tìm được bằng Termux MCP.

Câu hỏi thường gặp

Máy chủ MCP Termux MCP dùng để làm gì?

Termux MCP là máy chủ MCP cho phép các ứng dụng AI tương thích kết nối với công cụ và ngữ cảnh bên ngoài. Trong TypingMind, bạn chỉ cần thêm máy chủ MCP này một lần để các công cụ của nó có sẵn trong không gian làm việc AI của bạn.

Bạn có thể dùng MCP Termux MCP với nhiều mô hình AI trong TypingMind không?

Có. TypingMind kết nối các công cụ MCP ở cấp không gian làm việc, nên bạn có thể dùng Termux MCP với nhiều mô hình AI như Claude, ChatGPT, Gemini hoặc các mô hình khác đã cấu hình trong TypingMind mà không cần thiết lập máy chủ MCP riêng cho từng mô hình.

Vì sao nên dùng MCP Termux MCP với TypingMind?

TypingMind là một trong những giao diện trò chuyện với LLM tốt nhất vì tập hợp nhiều mô hình AI, prompt, plugin, tác nhân AI, khóa API và công cụ MCP vào một không gian làm việc. Khi kết nối Termux MCP, bạn có thể dùng các công cụ MCP của dịch vụ này với những mô hình ưa thích, đồng thời giữ quy trình trò chuyện gọn gàng trong TypingMind.

Làm cách nào để kết nối MCP Termux MCP với TypingMind?

Termux MCP hoạt động thông qua trình kết nối MCP cục bộ của TypingMind. Đây là lựa chọn phù hợp nhất khi máy chủ MCP cần truy cập tệp cục bộ, ứng dụng máy tính, công cụ dòng lệnh hoặc tài nguyên riêng trên máy tính của bạn.

MCP Termux MCP cung cấp những công cụ nào trong TypingMind?

Termux MCP cung cấp các chức năng MCP mà bạn có thể bật từ trang Plugin của TypingMind để dùng trong trò chuyện hoặc gán cho tác nhân AI.

Bạn có cần chia sẻ khóa API với TypingMind để dùng MCP Termux MCP không?

Không. TypingMind ưu tiên xử lý cục bộ và cho phép bạn kiểm soát nhà cung cấp mô hình, khóa API, prompt và cấu hình MCP. Nếu Termux MCP yêu cầu xác thực, hãy thêm các header, cài đặt OAuth hoặc cấu hình cục bộ cần thiết cho máy chủ MCP đó khi tạo kết nối.

Máy chủ MCP liên quan

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇