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 分