Logo Tetrees AI

Tetrees AI

Cộng đồng
TetreesEX

This Agent MCP allows you to train external intelligence with zero GPU and let you trade it at Tetrees EX

Nhà phát hànhTetreesEX
Kho mãTetreesAgent_EX
Ngôn ngữTypeScript
Bản fork
306
Sao
304
Công cụ có sẵn
26
Phương thức truyền tảistdio, streamable-http
Danh mục
Giấy phépMIT
Liên kết
  • Kết nối công cụ với quy trình làm việc AI

    Tetrees AI 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.

  • 26 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ở

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

Tetrees Agent EX

Public integration kit for using, growing, buying, and publishing Tetrees AI Packs through the hosted Tetrees Agent MCP and API.

This repository is the public @tetrees/mcp product (ai.tetrees/mcp): the stdio MCP server, clients, configuration examples, and safe extension samples. It does not contain Tetrees Agent internals, private Pack intelligence, Agent AVCP scoring, service prompts, storage, moderation, or exchange infrastructure.

What you can build

PathUse this kit to
Buyer / operatorSearch Packs, inspect the public Agent AVCP report, quote a run, try a Pack with Tetrees Points, acquire a free Pack, and download an owned .taip release.
BuilderConnect an auditioned Pack to a user-owned HTTPS API, nested MCP server, or no-shell local skill while keeping credentials local.
SellerCreate a listing, upload an immutable .taip version and images, inspect readiness, run Agent AVCP, read private repair feedback, and publish a passing release.

Tetrees-hosted work needs no local GPU. Model-funded runs are quoted in Tetrees Points before execution; an owned Pack can also use a supported provider key supplied to the local MCP process.

Quick start: hosted MCP

Requirements: Node.js 20+ and a revocable API token from Tetrees Account.

Add this to your MCP client's configuration:

json
{
  "mcpServers": {
    "tetrees-ai": {
      "command": "npx",
      "args": ["-y", "https://ex.tetrees.ai/pkg/tetrees-mcp.tgz?v=2.2.1"],
      "env": {
        "TETREES_API_URL": "https://ex.tetrees.ai/api",
        "TETREES_TOKEN": "<revocable-account-token>"
      }
    }
  }
}

Restart the MCP client, then ask it to:

text
Search Tetrees AI Packs for repository issue triage. Show the public Agent AVCP
report and runtime profile for the best match, then quote an 8k/2k Point-funded
run. Do not run it until I approve the quoted maximum.

Do not put provider keys in a Pack, prompt, source file, or shared MCP config. Optional BYOK keys belong only in the local MCP process environment. See examples/mcp/mcp-config.jsonc.

Inspect the MCP contract

bash
npm install
export TETREES_TOKEN="txk_..."
npm run mcp:inspect

The inspector launches the official hosted MCP package, lists its public tools and resources, checks the expected buyer/builder/seller surface, and exits without spending Points or changing account state.

The v=2.2.1 suffix is intentional: it prevents npx from reusing an older MCP tarball cached under the same URL. Change it only when Tetrees publishes a newer MCP contract. The npm identity for the same package is @tetrees/mcp@2.2.1.

Public API CLI

Copy .env.example values into your shell; this project deliberately does not auto-load secret files.

bash
export TETREES_TOKEN="txk_..."

# Read-only calls
npm run tetrees -- status
npm run tetrees -- catalog "research"
npm run tetrees -- models
npm run tetrees -- skills
npm run tetrees -- owned
npm run tetrees -- runtime <pack-id>
npm run tetrees -- report <pack-id>

# Quote first. This never starts a model request.
npm run tetrees -- quote <pack-id> <model-id>

# A Point-spending run needs the exact confirmation flag.
npm run tetrees -- run <pack-id> <model-id> "Your task" --confirm-spend

The CLI redacts secret-shaped response fields and reports Tetrees error codes, HTTP status, and Retry-After. It does not retry a mutation automatically.

Buyer flow

  1. Search for a Pack.
  2. Inspect its public Agent AVCP report and runtime profile.
  3. Quote the exact model, token ceiling, hosted skills, and growth checkpoint.
  4. Run a Point-funded stateless preview. Unused reserved Points return.
  5. Acquire a free Pack or buy a paid Pack on Tetrees EX.
  6. Ownership unlocks download, BYOK, saved growth, and client extensions.

Run the documented read-only example:

bash
node examples/buyer/discover-and-quote.mjs "incident response"

Builder flow: add capabilities without giving them to Tetrees

A published Pack may declare client extensions that passed Agent AVCP. The actual binding and credentials remain on the user's machine.

Supported binding patterns:

  • https_api: fixed HTTPS base URL, declared methods, environment-backed headers.
  • mcp: a nested MCP server started without a shell and mapped to declared tool names.
  • local_skill: a no-shell child process receiving one JSON request and returning one JSON result.

Start with:

Tetrees hosting never inherits these local permissions. A write method needs the exact per-call phrase APPROVE extensionId.methodId.

Seller flow

The supported publisher path is intentionally contract-driven:

bash
# Read-only readiness/report inspection
node examples/seller/check-readiness.mjs <pack-id>

# Upload one higher immutable version. Requires explicit confirmation.
node examples/seller/upload-pack.mjs <pack-id> 1.1.0 ./release.taip --confirm-upload

Then use the hosted MCP tools or Tetrees API reference to submit, quote Agent AVCP, run it after confirming the exact Point amount, inspect the private report, and publish only the passing digest.

See docs/SELLER_GUIDE.md and examples/seller/pack-listing.example.json.

Stable public references

Security and product boundary

This repository does not contain:

  • Tetrees Agent implementation, private Pack contents, memory representation, or growth logic;
  • Agent AVCP scoring rules, internal evaluation fixtures, service prompts, or moderation logic;
  • model-provider credentials, pricing margins, signing keys, storage details, databases, admin APIs, deployment code, or production configuration.

The examples operate only through the documented public, authenticated contract. Review SECURITY.md and docs/PUBLIC_BOUNDARY.md before contributing.

Verify this repository

bash
npm test
npm run check:public-boundary
npm pack --dry-run

License

The client examples and documentation in this repository are MIT licensed. Tetrees, Tetrees Agent, Tetrees AI Pack, TAIP, and Agent AVCP names and service marks remain the property of Tetrees EX. The license does not grant access to, or rights in, the hosted service or private Pack intelligence.

Cài đặt

TypingMind
{
  "mcpServers": {
    "tetreesagent-ex": {
      "command": "npx",
      "args": [
        "-y",
        "https://ex.tetrees.ai/pkg/tetrees-mcp.tgz?v=2.2.1"
      ],
      "env": {
        "TETREES_API_URL": "<TETREES_API_URL>",
        "TETREES_TOKEN": "<TETREES_TOKEN>"
      }
    }
  }
}

Công cụ có sẵn

  • accept_ai_pack_terms

    Record the current account agreement required before creating, uploading, auditioning, or publishing a pack.

  • search_ai_packs

    Search the published agent-asset exchange by task or capability.

  • list_owned_ai_packs

    List purchased, claimed-free, and seller-owned packs available to this account.

  • acquire_free_ai_pack

    Create a revocable entitlement for a published free pack without Stripe.

  • download_ai_pack

    Return a short-lived entitlement-gated URL for the signed .taip envelope.

  • get_ai_pack_report

    Read the buyer-safe, version-bound Agent AVCP gates and scores for a published pack.

  • list_agent_models

    List OpenAI, Claude, and Z.AI models, current server pricing, capabilities, BYOK support, and sample Point quotes.

  • get_ai_pack_runtime_profile

    Return the Pack-declared hosted skills, ephemeral attachment policy, and user-controlled MCP/API extensions before a run.

  • quote_agent_run

    Get the exact worst-case Point reservation before using platform-funded inference. BYOK quotes zero model points.

  • run_ai_pack

    Run a Tetrees AI Pack. Before acquisition, Points fund a stateless base preview. Ownership unlocks BYOK, saved growth and download; local files remain request-scoped.

  • prepare_local_ai_pack_run

    Return a host-readable execution plan for connecting this Pack to explicitly selected, Agent-AVCP-auditioned local skills, MCP tools, resources, prompts, or HTTPS APIs. Tetrees does not execute client extensions on its hosted servers.

  • execute_client_extension

    Execute one method from an owned Pack through a user-configured HTTPS API, nested MCP server, or isolated local-skill child process. Configuration and credentials stay in the local MCP process. Write methods require an exact one-call confirmation.

  • propose_ai_pack_growth

    Select a proposal from a successful run. This creates a reviewable delta and does not mutate the pack.

  • accept_ai_pack_growth

    Normalize a proposed delta with Tetrees Agent or provider-free portable normalization, run the deterministic growth gate, and append it to this owner only.

  • list_ai_pack_growth

    List growth checkpoints, the active checkpoint, hosted slot/byte usage and limits without exposing private memory contents.

  • select_ai_pack_growth_version

    Set this account's default hosted intelligence checkpoint for an owned Pack. Use sequence 0 to return to the signed base Pack; selection never rewrites the seller Pack.

  • create_ai_pack_draft

    Create an owner-bound AI Pack listing with the complete buyer guide and two concrete example uses. Accept current terms first. Free drafts do not require Stripe Connect.

  • update_ai_pack_draft

    Update seller-owned public metadata; immutable pack versions are never overwritten.

  • upload_ai_pack

    Read an explicit local .taip path, transfer it through the product-scoped private upload contract, and commit one immutable higher version.

  • upload_ai_pack_image

    Upload one explicit local JPEG, PNG, WebP, or AVIF image to the seller-owned pack listing.

  • get_ai_pack_submission_readiness

    Return missing TAIP, metadata, and imagery requirements with exact next actions.

  • submit_ai_pack_for_audition

    Move a complete owner-bound draft into the immutable Agent AVCP queue after readiness passes.

  • quote_ai_pack_audition

    Return exact version-bound Point quotes and Agent AVCP deliverables.

  • run_ai_pack_audition

    Run version-bound integrity, model, regression, memory-isolation, injection, growth, and cost gates after explicit Point confirmation.

  • get_ai_pack_private_report

    Read actionable owner-only failures and next actions without exposing them to buyers.

  • publish_ai_pack

    Publish the exact current version after every mandatory Agent AVCP gate passes. Paid packs additionally need Stripe Connect before checkout.

Dùng MCP Tetrees AI 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 Tetrees AI, 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. Bạn có thể chạy MCP ngay trên thiết bị của mình hoặc kết nối qua URL của máy chủ MCP từ xa.

Cách 1: 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 Tetrees AI 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 Tetrees AI.
  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": {
    "tetreesagent-ex": {
      "command": "npx",
      "args": [
        "-y",
        "@tetrees/mcp"
      ]
    }
  }
}
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 Tetrees AI, 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 Tetrees AI.
  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 Tetrees AI giúp tôi làm việc này không?
Tetrees AI
Được. Tôi đã đọc.
Đây là kết quả tôi tìm được bằng Tetrees AI.

Cách 2: Thêm URL máy chủ MCP

Dùng cách này khi Tetrees AI đã được lưu trữ từ xa hoặc nhóm của bạn muốn có một trình kết nối dùng chung cho nhiều người dùng.

1

Mở mục Trình kết nối MCP

Trong TypingMind, vào Plugin, mở mục Trình kết nối MCP, rồi chọn Thêm URL.

  1. Mở TypingMind trong trình duyệt của bạn.
  2. Vào mục Plugin.
  3. Mở mục Trình kết nối MCP.
  4. Nhấp vào Thêm URL.
Biểu mẫu Thêm URL máy chủ MCP tùy chỉnh của TypingMind
2

Dán URL máy chủ

Nhập https://ex.tetrees.ai/pkg/tetrees-mcp.tgz?v=2.2.1 vào trường URL máy chủ. Thêm tên kết nối, mô tả, biểu tượng, header HTTP tùy chỉnh hoặc cài đặt ứng dụng khách OAuth nếu máy chủ yêu cầu.

  1. Dán https://ex.tetrees.ai/pkg/tetrees-mcp.tgz?v=2.2.1 vào trường URL máy chủ.
  2. Nhập tên kết nối cho Tetrees AI.
  3. Thêm mô tả và biểu tượng nếu bạn muốn dễ nhận biết kết nối hơn.
  4. Thêm header HTTP tùy chỉnh hoặc thông tin ứng dụng khách OAuth nếu máy chủ yêu cầu xác thực.
3

Tạo kết nối

Nhấp vào Tạo kết nối, sau đó quay lại danh sách Plugin và xác nhận kết nối MCP mới đang hoạt động.

  1. Nhấp vào Tạo kết nối.
  2. Quay lại danh sách trình kết nối MCP.
  3. Xác nhận kết nối Tetrees AI hiển thị trạng thái đang hoạt động.
  4. Làm mới danh sách plugin nếu kết nối chưa xuất hiện ngay.
4

Đổi mô hình mà không cần kết nối lại

Bắt đầu cuộc trò chuyện với mô hình bạn thích, bật các công cụ của Tetrees AI trong mục Plugin và chuyển sang mô hình khác khi cần. Kết nối MCP vẫn sẵn dùng trong không gian làm việc TypingMind.

  1. Bắt đầu cuộc trò chuyện mới trong TypingMind.
  2. Chọn mô hình AI bạn muốn dùng.
  3. Bật các công cụ của Tetrees AI trong mục Plugin.
  4. Yêu cầu mô hình dùng công cụ khi cần.
  5. Chuyển sang mô hình AI khác và dùng lại cùng kết nố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 Tetrees AI giúp tôi làm việc này không?
Tetrees AI
Được. Tôi đã đọc.
Đây là kết quả tôi tìm được bằng Tetrees AI.

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

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

Tetrees AI 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 Tetrees AI 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 Tetrees AI 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 Tetrees AI 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 Tetrees AI, 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 Tetrees AI với TypingMind?

Bạn có thể kết nối Tetrees AI trong TypingMind bằng trình kết nối MCP cục bộ hoặc bằng cách thêm URL máy chủ MCP từ xa. Dùng trình kết nối cục bộ khi máy chủ cần truy cập tệp, ứng dụng hoặc tài nguyên riêng trên thiết bị của bạn; dùng URL máy chủ khi máy chủ MCP được lưu trữ từ xa.

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

Tetrees AI cung cấp 26 công cụ 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 Tetrees AI 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 Tetrees AI 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.

tetrees-skill-registry

Live hosted-skill pricing, attachment limits, and the local MCP extension boundary.

run_ai_pack_with_client_tools

Compose an owned Pack, hosted skills, ephemeral files, and user-approved MCP tools without exposing Pack internals.

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 👇