Txa_MCP
Txa_MCP 🚀
Professional MCP Server & CLI for Local AI Context Management. Part of the TXA Hub ecosystem.
Features
Project Context Awareness: Give your AI (Trae, Cursor, Windsurf) deep knowledge of your local files.
Enterprise Ready: Full integration with TXA Hub for tool synchronization.
Auto-Config: One command to configure all your IDEs.
Windows Optimized: Native PowerShell support and high-speed file searching.
Related MCP server: devenv-doctor-mcp
Installation
Option 1: Install via npm (Recommended)
Install globally via npm:
npm install -g txamcpOption 2: Install VS Code Extension
For VS Code, Cursor, Windsurf, and other VS Code-based IDEs, install the official extension:
The extension provides:
🎨 Full GUI status monitoring
🔐 One-click browser SSO login
🔄 Automatic API key synchronization
📁 Real-time project root auto-detection
Quick Start
Account: Create an account at txahub.click to get your API Key.
Login: Authenticate your computer with TXA Hub.
# Automated browser login txa login # Or manual API Key login txa login --api-key YOUR_API_KEYSetup: Automatically configure your IDEs (Trae, Cursor, etc.).
txa setupEnjoy: Open your IDE and start using the enhanced AI tools!
Commands
txa login: Start the automated browser login flow.txa setup: Configure MCP for all supported IDEs.txa get config: Display current session & usage stats.txa version: Show current version info.txa logout: Terminate local session.
Configuration
Project Root Detection
TXAMCP automatically detects your project root by searching for common project markers (.git, package.json, pubspec.yaml, etc.). This works seamlessly with most IDEs without additional configuration.
Advanced Configuration
For advanced use cases, you can set environment variables:
# Force explicit project root requirement (not recommended for most users)
export TXAMCP_REQUIRE_ADD_ROOT=1
# Set custom project root
export TXAMCP_PROJECT_ROOT=/path/to/your/project
# Set active file path (IDEs may send this automatically)
export TXAMCP_ACTIVE_FILE=/path/to/current/fileNote: By default, TXAMCP works automatically with IDEs. Only use TXAMCP_REQUIRE_ADD_ROOT=1 if you need strict control over project root detection.
IDE Integration
Most IDEs (Cursor, Windsurf, Trae) automatically send context information like activeFilePath or currentFilePath. TXAMCP uses this context to dynamically update the project root when needed.
Support
Visit txahub.click or join our community for support.
© 2026 TXA Hub Team. Licensed under MIT.
Available Tools
36 toolsanalyze_networkA
Check listening ports and network connections on WINDOWS.
Inputs: no named parameters.
cloud_memory_loadC
Tải thông tin tri thức đã lưu trữ từ Cloud Database của TXAHUB.
Inputs: key.
cloud_memory_saveC
Lưu trữ tri thức, cấu hình hoặc quyết định thiết kế của dự án lên Cloud Database của TXAHUB.
Inputs: key (required), value (required).
cloud_todo_managerC
Quản lý danh sách việc cần làm (TODO) đồng bộ trực tiếp trên Cloud của TXAHUB.
Inputs: action (required), task, index.
code_metricsB
Phân tích chỉ số code (Số dòng, độ phức tạp cơ bản).
Inputs: filePath (required), allow_external_access.
create_directoryA
Create a new directory (Including parent directories).
Inputs: dirPath (required), allow_external_access.
delete_fileB
Delete a file (Use with caution).
Inputs: filePath (required), allow_external_access.
edit_codeA
QUICK EDIT: Replace a specific code snippet with a new one. AI should use this tool to modify functions or code blocks without overwriting the entire file.
Inputs: newCode (required), oldCode (required), filePath (required), allow_external_access.
fetch_urlA
Đọc nội dung trang web dưới dạng văn bản/markdown thông qua Cloud Proxy của TXAHUB để tránh bị chặn IP.
Inputs: url (required).
file_searchB
Search for files by name or glob pattern. Optimized for WINDOWS.
Inputs: pattern (required), add_root, activeFilePath.
find_large_filesA
Find top 10 largest files in project on WINDOWS (excluding node_modules, .git).
Inputs: minSizeMB.
get_dependenciesB
Analyze project dependencies on WINDOWS (package.json, composer.json, etc.).
Inputs: no named parameters.
get_file_infoA
Get detailed information about a file (Size, Modified Date, Permissions).
Inputs: filePath (required), hashAlgorithm, allow_external_access.
get_project_summaryB
Phân tích và tóm tắt cấu trúc, công nghệ của toàn bộ dự án.
Inputs: no named parameters.
git_diffB
View current uncommitted changes.
Inputs: no named parameters.
github_cloudC
Thực hiện các thao tác trên Github (tạo Issue, Pull Request, xem nhánh, commit) thông qua tài khoản GitHub đã liên kết trên Cloud.
Inputs: repo (required), action (required), payload.
git_logB
View project commit history.
Inputs: count.
git_statusA
View detailed Git status (staged, unstaged changes).
Inputs: no named parameters.
inspect_databaseB
Automatically analyze DB schema from .sql files or project config.
Inputs: dbFile.
kill_processA
Stop common app build processes (gradle, flutter, node, adb, etc.) or a specific process.
Inputs: processName.
list_processesB
Monitor running system processes related to development (node, php, python).
Inputs: no named parameters.
list_repositoriesB
Get Git information for the current directory (Remote, Branch, Status).
Inputs: no named parameters.
list_workspacesA
List working directories and current project structure on WINDOWS.
Inputs: no named parameters.
memory_loadD
Load stored knowledge.
Inputs: key.
memory_saveB
Store important knowledge/decisions in project memory (.txamcp_memory).
Inputs: key (required), value (required).
project_auditA
Kiểm tra bảo mật và chất lượng project (npm audit, composer audit).
Inputs: tool.
quick_search_replaceC
SEARCH & REPLACE: Search for a string or Regex pattern and replace all occurrences in a file.
Inputs: filePath (required), replacement (required), searchPattern (required), useRegex, +1 more.
read_dirC
Liệt kê danh sách file trong thư mục với thông tin chi tiết.
Inputs: dirPath, allow_external_access.
read_fileB
Read file content.
Inputs: filePath (required), allow_external_access.
replace_in_fileC
Replace text string in a file.
Inputs: newText (required), oldText (required), filePath (required), allow_external_access.
run_shellA
Run shell command safely in project. IMPORTANT: OS is WINDOWS, use standard POWERSHELL syntax. Avoid bash/linux commands.
Inputs: command (required).
search_codeA
Search code using regex (git grep).
Inputs: query (required), pathFilter.
search_webC
Tìm kiếm thông tin trực tuyến trên Google/Bing qua Cloud API của TXAHUB.
Inputs: query (required).
system_infoA
Get system information (OS, RAM, CPU, Disk).
Inputs: no named parameters.
todo_managerC
Quản lý danh sách việc cần làm (TODO) cho dự án.
Inputs: action (required), task, index.
write_fileC
Overwrite file content (Full).
Inputs: content (required), filePath (required), allow_external_access.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 36 tools
Multiple tools have overlapping purposes, such as edit_code, replace_in_file, quick_search_replace, and write_file all modifying files. Local and cloud variants of memory and todo management further blur boundaries, making it hard to select the correct tool.
Most names follow a verb_noun pattern, but the verbs are inconsistent (list, get, read, search) and some names like github_cloud or quick_search_replace break the pattern. Mixing of local/cloud prefixes (memory_save vs cloud_memory_save) adds to the inconsistency.
With 36 tools, the set is overly large for its apparent scope. Many tools could be consolidated (three replace tools, two todo managers, two memory stores), and the high count makes the server feel bloated rather than comprehensive.
The tool set covers a broad range of development tasks (file ops, git, system info, dependencies, cloud), but gaps exist such as no direct local git commit/push (only via cloud) and no file copy/move. The run_shell tool can compensate for some missing operations, but the redundancy reduces overall completeness.
Related MCP Connectors
Intelligent context infrastructure for AI teams: knowledge graph, sessions, tasks, documents.
Codebase intelligence for AI coding agents: graph, git history, docs, decisions, code health.
Your portable context layer — load it into any AI.
Shared memory for AI coding agents. Save once, reuse from Cursor, Claude Code, Codex.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceProvides AI-driven development tools including file system operations, multi-language code analysis with tree-sitter, Git operations, code execution, and system information retrieval.MIT
- AlicenseNot gradedqualityDmaintenanceEnables LLM clients to inspect local dev environments—Docker container health, pnpm workspace integrity, and stuck process detection—without manual terminal copy-pasting.MIT
- AlicenseAqualityBmaintenanceProvides AI coding agents with structured, evidence-based diagnostics about the local development environment, detecting tech stack, runtime mismatches, dependency state, services, ports, and Git status without exposing secrets or using network calls.10Apache 2.0
- AlicenseAqualityBmaintenanceNext-gen AST codebase map, token compression (70%~85% savings), and context packaging engine for AI coding agents & IDEs.43MIT