Tela

io.github.zcag由 GitHub 帳號 zcag 發布v0.7.5更新於 Nov 2, 2026

Self-hostable team wiki; agents read & write it via MCP; Atlas turns your repo into a cited wiki.

已驗證Streamable HTTP可網頁執行效率與工作流知識與記憶

概覽

AI 產生的概覽

Tela 是可自架的團隊 wiki,此伺服器以遠端端點或本機代理讓助理列出空間、讀取與搜尋頁面,並建立或移動頁面。

可以做什麼
  • 列出並瀏覽 wiki 空間與頁面
  • 讀取頁面,並以關鍵字或語意搜尋
  • 建立頁面、移動頁面、新增留言
  • 把頁面與空間以 tela:// 資源提供給助理
  • 轉送 Tela 後端完整的 MCP 能力(工具、資源、提示)
適用情境
當團隊把文件放在 Tela wiki,並希望助理查閱、引用或撰寫頁面時使用。多數用戶端可直接連線 HTTP 端點,npm 代理僅供只支援 stdio 的用戶端使用。
執行需求
需要一個 Tela 執行個體(telawiki.com 託管或自架),以及在設定中 API Keys 建立的存取權杖。遠端方式需端點位址與 Authorization bearer 標頭;npm 代理需 Node.js,並在啟動時設定 TELA_BASE_URL 與 TELA_API_KEY。
安裝前請注意
該權杖依讀取、寫入或管理範圍授予 wiki 存取權,應視為機密並盡量使用最小範圍。助理可建立、移動頁面與新增留言,會改動團隊共用內容。範圍與空間限制由後端強制執行,而非用戶端。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Tela,將其新增到工作區。
  2. 連接 所需的 憑證。它們會被私密儲存,絕不會在公開頁面上展示。
  3. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/io.github.zcag%2Ftela/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。 客戶端會在首次連接時完成 OAuth 登入。

{
  "mcpServers": {
    "tela": {
      "type": "http",
      "url": "https://telawiki.com/api/mcp"
    }
  }
}

README

tela-mcp

A thin stdio↔HTTP proxy to a Tela instance's built-in MCP server.

As of v0.7, the MCP server lives inside the Tela backend at {TELA_BASE_URL}/api/mcp (Streamable HTTP, spec-compliant). This npm package no longer implements any tools itself — it's a dumb pipe that forwards the entire MCP protocol (tools, resources, prompts, notifications) over stdio to that endpoint, injecting your personal access token as a bearer header. Because it holds no tool knowledge, the backend's MCP surface can grow without this package ever changing — there is no second implementation to drift.

Most hosts don't need this package

Modern MCP hosts speak Streamable HTTP transport directly — point them at the endpoint and skip the proxy entirely:

sh
# Claude Codeclaude mcp add --transport http tela https://telawiki.com/api/mcp \  --header "Authorization: Bearer tela_pat_..."

Cursor, VS Code, Zed, and the Anthropic Messages API mcp_servers connector likewise accept a URL + bearer header. Use this npm package only for stdio-only hosts that can't speak HTTP transport.

Using the proxy (stdio-only hosts)

Add to your .mcp.json:

json
{  "mcpServers": {    "tela": {      "command": "npx",      "args": ["-y", "tela-mcp@latest"],      "env": {        "TELA_BASE_URL": "https://telawiki.com",        "TELA_API_KEY": "tela_pat_..."      }    }  }}
VarPurpose
TELA_BASE_URLOrigin of the Tela instance (e.g. https://telawiki.com or http://localhost:8780). The proxy connects to {TELA_BASE_URL}/api/mcp.
TELA_API_KEYPersonal access token (tela_pat_…), forwarded as Authorization: Bearer. Create one in Settings → API Keys.

Both must be set at spawn time, or the process exits non-zero before the MCP handshake.

Tool & resource catalog

The tools (list_spaces, get_page, search, semantic_search, create_page, move_page, add_comment, …), the tela://page/{id} / tela://space/{id} resources, and the read/write/admin scope model are all defined and documented in the backend, not here. Scope and per-space restrictions are enforced server-side; failures arrive as the usual {error, code, status} envelope in the tool result. See the project Showcase: https://telawiki.com/spaces/1/pages/19.

Auth

This package authenticates with a static personal access token (PAT), which works with the Messages API connector and any host that accepts a bearer header. The OAuth "Connect" flow used by the Claude.ai / ChatGPT consumer apps is a separate, server-side capability (it does not involve this package).

Develop

sh
cd mcpnpm installnpm run build            # tsc → dist/server.jsnpm run test:integration # live proxy↔backend E2E (needs a running backend; use `make test-mcp-integration` from the repo root)

The proxy is ~40 lines over the official @modelcontextprotocol/sdk transports. Exhaustive per-tool coverage lives in the Go backend's e2e MCP tests (backend/internal/api/mcp_test.go).

License

AGPL-3.0-only.

來源:mcp/README.md,提交 634b7e8

工具

0
該伺服器需要登入,因此 SourceWeft 無法在沒有帳號的情況下讀取其工具,也未收錄。已連接帳號所能看到的內容可能因帳號及其權限而異。

版本歷史

1
  1. v0.7.5最新Sep 16, 2026

評分

已滿足適用檢查項的 85%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分