
Taranis AI
io.github.taranis-ai由 GitHub 帳號 taranis-ai 發布v0.1.1更新於 Oct 24, 2026
Search stories and discover OSINT sources in Taranis AI.
概覽
一個唯讀的 MCP 伺服器,讓助理在 Taranis AI 執行個體中列出報導並探索 OSINT 來源。
- 可以做什麼
- 它將助理連接到 Taranis AI 執行個體,並提供兩個偏讀取的工具:list_stories 用來檢索報導,list_sources 用來探索 OSINT 來源。它可作為本機程序透過 stdio 執行,也可作為需要驗證的 Streamable HTTP 端點執行。目前版本以讀取為主,不會修改 Taranis 資料。
- 適用情境
- 當你已經運行 Taranis AI 執行個體,並希望助理在分析過程中瀏覽其中的報導或查詢可用的 OSINT 來源時使用。它適合在桌面助理或 IDE 用戶端中需要唯讀存取 Taranis 的 OSINT 與威脅情報工作流程。
- 執行需求
- 需要一個可連線的 Taranis 執行個體,以及具備 ASSESS_ACCESS 權限的使用者。將 TARANIS_API_URL 設為包含 /api 的完整 API 根位址,然後選擇一種驗證方式:TARANIS_USERNAME 加 TARANIS_PASSWORD,或 TARANIS_ACCESS_TOKEN(JWT)。可用 uvx(需安裝 uv)或 Docker 在本機執行,也可透過 MCP_TRANSPORT 與 MCP_ACCESS_TOKEN 提供 Streamable HTTP。僅從原始碼開發時需要 Python 3.12+。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Taranis AI,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
Taranis MCP Server
A read-oriented Model Context Protocol server for Taranis AI. The current version exposes the list_stories and list_sources tools over stdio or authenticated Streamable HTTP.
Configuration
You need a reachable Taranis instance and a user with ASSESS_ACCESS. Set TARANIS_API_URL to the complete API root, including /api, then choose exactly one authentication mode:
TARANIS_USERNAMEandTARANIS_PASSWORD: the server logs in lazily and can log in again after an expired JWT.TARANIS_ACCESS_TOKEN: use an existing JWT returned by Taranis/api/auth/login; it cannot be renewed without credentials.
Do not reuse a Taranis JWT as MCP_ACCESS_TOKEN. The latter protects the MCP HTTP endpoint and is not needed for stdio.
Installation and MCP Client Configuration
This server is intended for desktop AI assistants as well as developer tools. Desktop applications with MCP support include Claude Desktop and OpenAI's ChatGPT desktop app. IDE and terminal clients include Cursor, Zed, Codex CLI, and the Codex IDE extension. If another assistant, such as Mistral Le Chat, offers MCP integration in your installed version or workspace, use its local stdio or remote Streamable HTTP configuration as appropriate.
Clients that support local stdio can launch the server as a child process. The configuration file location and surrounding schema depend on the client, but the server command, arguments, and environment are the same. Desktop applications that support only remote MCP connectors should use the Streamable HTTP setup below instead.
PyPI with uvx
This option installs and runs the package without cloning the repository. Install uv, then add the following definition to a client that uses the mcpServers format, such as Claude Desktop or Cursor:
Use which uvx on Linux/macOS or where uvx on Windows to find the executable. On Windows the path may end in uvx.exe. An absolute path is recommended because desktop applications may have a smaller PATH than an interactive shell.
Container with Docker
This option requires only Docker. On Windows, install and start Docker Desktop before launching the MCP client. The client passes its configured environment variables to docker, and the -e arguments forward them into the container:
The stable tag follows the newest stable container release. Replace it with an exact tag such as 0.1.1 for a reproducible installation. Likewise, append a version to the PyPI argument, such as taranis-mcp-server==0.1.1, to pin that installation.
For either installation method, use a JWT by replacing the username and password with TARANIS_ACCESS_TOKEN. In the Docker arguments, also replace the two credential -e entries with "-e", "TARANIS_ACCESS_TOKEN".
MCP Registry
Starting with version 0.1.1, releases are published as io.github.taranis-ai/taranis-mcp-server in the official MCP Registry. Registry-aware applications can use that identity to discover the server and choose either its PyPI or OCI package. The registry does not define one universal install command, so the final confirmation and configuration flow depends on the application.
Do not commit a project-level MCP configuration containing credentials. Restart or reload the client after saving its configuration. Its MCP settings should show a taranis server with the list_stories and list_sources tools. For clients such as Zed that use a different configuration schema, carry over the same command, argument list, and environment values into that client's stdio MCP definition.
Codex
Codex CLI and the Codex IDE extension share MCP configuration from ~/.codex/config.toml. Add this server definition, replacing the absolute path:
Export the forwarded credentials before starting Codex:
Use /mcp inside the Codex TUI to confirm that taranis is active and exposes list_stories and list_sources. To use a JWT instead, replace the two names in env_vars with TARANIS_ACCESS_TOKEN and export that variable.
Streamable HTTP
For a separately running server, configure MCP_TRANSPORT=streamable-http, set a strong MCP_ACCESS_TOKEN, and start:
The default endpoint is http://127.0.0.1:8000/mcp. Clients must send Authorization: Bearer <MCP_ACCESS_TOKEN>. For a non-local deployment, configure MCP_PUBLIC_URL, MCP_ISSUER_URL, MCP_ALLOWED_HOSTS, and MCP_ALLOWED_ORIGINS for the externally visible address, and terminate TLS at a trusted reverse proxy.
Development from Source
Development requires Python 3.12 or newer and uv. Clone the repository, copy .env.example to .env, and install the locked dependencies:
Run the server using the configuration from .env:
Run the development checks:
來源:README.md,提交 1f4dde2
工具
0版本歷史
1- v0.1.1最新Sep 16, 2026
評分
已滿足適用檢查項的 40%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分
請在儲存庫或註冊中心條目中宣告授權條款。