Logo Tesseron

Tesseron

Cộng đồng
Eigenwise

Expose typed web-app actions to MCP-compatible AI agents over WebSocket. TypeScript SDK + matching MCP gateway.

Nhà phát hànhEigenwise
Kho mãtesseron
Ngôn ngữTypeScript
Bản fork
1
Sao
21
Công cụ có sẵn
0
Phương thức truyền tảistdio
Danh mục
Liên kết
  • Kết nối công cụ với quy trình làm việc AI

    Tesseron 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ở

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

Typed live-app actions for MCP-compatible AI agents, over WebSocket.

Built by Eigenwise


NEW: Join our community on Discord at discord.gg/J3W9b5AZJR — protocol questions, feedback, and SDK-contribution chat all welcome.

Tesseron is an accessibility layer for AI agents. You instrument your app once — the way you'd add ARIA to a web page — and any MCP-compatible agent can drive it through typed actions you define. Think of it as an API for agents, written by the people who built the app.

The premise: the agent doesn't need to click a button, it needs to do the thing the button does. Say an agent wants to add five items to a list. Through the UI that's click add, type, submit, click add again — five round-trips through a brittle, re-render-happy interface. With Tesseron it calls one action:

ts
addTodos(['buy milk', 'finish report', 'call mom', 'book flight', 'water plants'])

Your handler runs against your real state. No clicking, no scraping, no brittleness.

Live applications (browser tabs, Electron/Tauri desktop apps, Node daemons, CLIs) declare actions with a Zod-style builder; agents (Claude Code, Claude Desktop, Cursor, Copilot, Codex, Cline, ...) call them as MCP tools. Your real handler runs in your real process, against your real state. No browser automation, no scraping, no Playwright.

It's a protocol, not just a TypeScript library — and not just for the web. The JS/TS SDKs are the reference implementation and already cover the browser, Node, and desktop (Electron/Tauri). But the wire protocol is CC BY 4.0 and language-agnostic: anything that can open a WebSocket and speak JSON-RPC 2.0 can host actions, so a Python daemon, a Rust desktop app, or a .NET line-of-business tool can speak it too. Web is simply where the first SDKs landed — not the boundary of what Tesseron is.

WebMCP is a useful browser-native path for public sites that want an assistant to fill forms. The Tesseron and WebMCP section explains the difference, including Tauri and Python processes, cross-app flows, and agents like Claude Code.

Why Tesseron

  • Typed actions, not scraped DOMs. Declare with Zod or any Standard Schema validator; the handler is a plain function against your real state.
  • Framework-agnostic. Same API for vanilla TS, React, Svelte, Vue, and Node. Pick your stack.
  • MCP-native. Every action, resource, and capability maps to a standard MCP primitive. Users pick their agent.
  • Click-to-connect. Six-character claim code handshake. No API keys, no OAuth dance, no per-client configuration.
  • First-class capabilities. ctx.confirm for yes/no, ctx.elicit for schema-validated prompts, ctx.sample for agent LLM calls, ctx.progress for streaming updates, subscribable resources for live reads.
  • Cross-client delivery. First-class install paths for Claude Code, Codex, OpenCode, and Pi — each one a single command or short config snippet that wires the MCP gateway in. No bundled binary; the gateway is npx -y @tesseron/mcp@<version> on demand.

Install

Tesseron has first-class install paths for four agent clients. Pick the one you use:

Claude Code

text
/plugin marketplace add eigenwise/tesseron
/plugin install tesseron@tesseron

Installs the tesseron Claude Code plugin. The MCP gateway and docs server are launched on demand via npx.

Codex CLI

bash
codex plugin marketplace add eigenwise/tesseron

Codex consumes the same plugin manifest as Claude Code, so the gateway, docs server, and skills come along automatically.

Pi

Pi has no built-in MCP support, but the community-maintained pi-mcp-adapter is the canonical bridge. Install it once:

bash
pi install npm:pi-mcp-adapter

Then add Tesseron to .mcp.json in your project root (or ~/.config/mcp/mcp.json for a global install):

jsonc
{
  "mcpServers": {
    "tesseron": { "command": "npx", "args": ["-y", "@tesseron/mcp@2.10.4"] },
    "tesseron-docs": { "command": "npx", "args": ["-y", "@tesseron/docs-mcp@2.10.6"] }
  }
}

pi-mcp-adapter discovers and exposes the Tesseron tools to Pi automatically. Use "directTools": true per server entry to surface each Tesseron action as a top-level Pi tool instead of going through the mcp proxy.

To pick up the skill bundle as well, point Pi's settings skills array at a clone of plugin/skills/ — the same folder Claude Code / Codex use.

OpenCode

OpenCode reads MCP servers from opencode.json rather than a plugin manifest. Save this as .opencode/opencode.json in your project root (or ~/.config/opencode/opencode.json for global use):

jsonc
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "tesseron": { "type": "local", "command": ["npx", "-y", "@tesseron/mcp@2.10.4"], "enabled": true },
    "tesseron-docs": { "type": "local", "command": ["npx", "-y", "@tesseron/docs-mcp@2.10.6"], "enabled": true }
  }
}

To also pick up the skill bundle, point OpenCode's skills.paths at a clone of plugin/skills/ — see plugin/README.md for the snippet.

Other MCP clients

Claude Desktop, Cursor, VS Code Copilot, Cline, and any other MCP-compatible client work too — the gateway is plain stdio MCP. See the one-time setup in examples/README.md.

Then in your app

Drop @tesseron/web, @tesseron/server, @tesseron/react, @tesseron/svelte, or @tesseron/vue into your project, declare actions, and let the agent drive your real UI:

ts
import { tesseron } from '@tesseron/web';
import { z } from 'zod';

tesseron.app({ id: 'todo_app', name: 'Todo App' });

tesseron
  .action('addTodo')
  .input(z.object({ text: z.string().min(1) }))
  .handler(({ text }) => {
    state.todos.push({ id: newId(), text, done: false });
    render();
    return { ok: true };
  });

await tesseron.connect();

See TypeScript examples/ for working apps in vanilla TS, React, Svelte, Vue, Express, and plain Node.

Packages

PackagePurpose
@tesseron/coreProtocol types, action builder. Zero runtime deps beyond Standard Schema.
@tesseron/webBrowser SDK.
@tesseron/serverNode SDK.
@tesseron/reactReact hooks adapter.
@tesseron/svelteSvelte 5 adapter.
@tesseron/vueVue 3 adapter.
@tesseron/viteVite plugin: dev-server bridge for browser tabs to dial the gateway over the same origin as your app.
@tesseron/mcpMCP gateway server (tesseron-mcp CLI; launched by each client's install path via npx).
@tesseron/docs-mcpMCP server that serves the Tesseron docs (search_docs, read_doc, list_docs) for chapter-and-verse spec lookups inside agent sessions.

The Claude Code / Codex plugin lives at plugin/, exposed via the marketplace manifests at .claude-plugin/marketplace.json (Claude) and .agents/plugins/marketplace.json (Codex).

Client capability support

Tesseron's action context gives handlers four capabilities beyond plain tool invocation, each backed by an MCP primitive. Whether a given call actually fires depends on what the user's MCP client advertises:

SDK surfaceMCP primitive
tool(...) (action invocation)tools
resource(...) (live reads, subscriptions)resources (+ resources.subscribe)
ctx.sample(...)sampling
ctx.confirm(...) / ctx.elicit(...)elicitation
ctx.progress(...)notifications/progress (client must pass _meta.progressToken on tools/call)

For the authoritative, continuously-updated list of which client supports which primitive, see the official MCP client compatibility matrix — filter by Sampling or Elicitation to see how narrow the field still is. A few points worth knowing before you pick a capability:

  • Tools are universal — every MCP client can invoke your actions.
  • Sampling is the rarest. Claude Code, Claude Desktop, and Claude.ai do not expose it; today's support is concentrated in VS Code + GitHub Copilot, goose, and fast-agent.
  • Elicitation (MCP 2025-06) landed in Claude Code (2.1.76, March 2026), Cursor, Codex, VS Code Copilot, goose, and fast-agent, but not Claude Desktop, Claude.ai, ChatGPT, Windsurf, or Zed.
  • When a capability is missing, Tesseron raises a typed error (SamplingNotAvailableError, ElicitationNotAvailableError) or collapses to the safe default (ctx.confirm returns false), so handlers can branch explicitly rather than silently misbehaving.

Status

v1.0 shipped April 2026; the SDK is at v2.10 as of writing. The protocol is at 1.2.0 and intentionally kept small: bidirectional JSON-RPC 2.0 over WebSocket, dynamic MCP tool registration, click-to-connect handshake, streaming progress, cancellation, sampling, confirmation, schema-validated elicitation, subscribable resources, session resume.

The seven TypeScript SDK packages, @tesseron/{core,web,server,react,svelte,vue,vite}, share one version and should be installed together. The hub packages @tesseron/mcp, @tesseron/docs-mcp, and @tesseron/conformance release independently. See the compatibility contract for cross-language rules.

The JS/TS SDKs are the reference implementation; the protocol spec is CC BY 4.0 so anyone can write a compatible client or server in any language. The conformance fixtures are the executable half of that.

Language SDK repositories

LanguageSourceInstall
TypeScripttesseron-typescriptnpm scope @tesseron: core, web, server, react, svelte, vue, vite
Rusttesseron-rustcrate tesseron: cargo add tesseron
Pythontesseron-pythonPyPI tesseron: uv add tesseron
C++tesseron-cppCMake FetchContent from that repo, link tesseron::tesseron

All four speak protocol 1.2.0 and pass the shared conformance suite apart from fixtures their transports or claim flow do not support. SDK code and examples live in the language repositories; docs, protocol fixtures, and issues stay here.

On the roadmap: a Streamable HTTP transport and more desktop-native integrations. The Rust SDK already includes a Tauri example.

Development

bash
pnpm install --frozen-lockfile
pnpm gate
pnpm build
pnpm docs:build

Contributing

Bug reports, protocol refinements, new framework adapters, and improvements to the reference implementation are welcome.

Star history

License

Reference implementation — Business Source License 1.1 (source-available). You may embed Tesseron in your own applications, use it internally, fork it, and redistribute it freely. You may not offer Tesseron or a substantial portion of it as a hosted or managed service to third parties. Each release auto-converts to Apache-2.0 four years after publication.

Protocol specification — CC BY 4.0. A compatible implementation in any language, for any purpose including commercial, is explicitly encouraged.

Contributions are welcome under the Developer Certificate of Origin — every commit must be Signed-off-by.


Cài đặt

TypingMind
{
  "mcpServers": {
    "tesseron": {
      "command": "npx",
      "args": [
        "-y",
        "@tesseron/mcp@{{config.VERSION}}"
      ],
      "env": {
        "VERSION": "<VERSION>"
      }
    }
  }
}

Dùng MCP Tesseron 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 Tesseron, 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 Tesseron 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 Tesseron.
  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": {
    "tesseron": {
      "command": "npx",
      "args": [
        "-y",
        "tesseron"
      ]
    }
  }
}
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 Tesseron, 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 Tesseron.
  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 Tesseron giúp tôi làm việc này không?
Tesseron
Được. Tôi đã đọc.
Đây là kết quả tôi tìm được bằng Tesseron.

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

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

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

Tesseron 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 Tesseron cung cấp những công cụ nào trong TypingMind?

Tesseron 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 Tesseron 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 Tesseron 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 👇