Filamental

io.github.Scottnine由 GitHub 帳號 Scottnine 發布v0.2.18更新於 Nov 8, 2026

Search, read and build your Filamental knowledge graph. Local-first: notes stay on your computer.

已驗證STDIO僅桌面檔案與儲存知識與記憶

概覽

AI 產生的概覽

Filamental 的本機 MCP 伺服器,讓助理搜尋、讀取並建立專案中的 Markdown 知識圖譜。

可以做什麼
  • 掌握並讀取圖譜:結構報告、專案資訊、節點與連結類型、單一節點、連結關係,以及最多 3 跳的子圖
  • 依名稱、筆記和屬性值搜尋節點,並找出兩個節點之間最短的連結路徑
  • 把某個節點的筆記與其鄰近範圍整理成一份好讀的 Markdown 文件,可先用 dry_run 估算大小
  • 建立、更新與刪除節點和連結,同時寫入 Markdown 檔案與索引
  • 把某個標題下的章節抽成獨立節點,或把節點內容併回另一個節點,內容是搬移而非複製
  • 讀取結構設計指南與磁碟格式參考
適用情境
適合在 Filamental 專案中存放筆記或研究資料,並希望助理瀏覽圖譜、依據圖譜回答問題,或新增、刪除與重組節點和連結,同時在應用程式中即時看到變更。
執行需求
透過 npx 以 stdio 在本機執行,需要 Node.js 22 或更新版本。需要 Filamental 桌面應用程式,且專案至少在其中開啟過一次。預設跟隨應用程式目前開啟的專案,也可用 --project 路徑固定到某個專案。未宣告 API 金鑰或環境變數。
安裝前請注意
寫入類工具會改動專案:create_node、update_node、delete_node、create_edge、delete_edge、extract_section 和 inline_section 會修改或刪除 Markdown 檔案與索引;傳入 properties 或 relationships 給 update_node 會整組取代原有內容。Filamental 免費版每個專案上限為 20 個節點,包含 AI 建立的節點。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Filamental,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

filamental-mcp

The Model Context Protocol server for Filamental. It lets Claude and other AI apps search, read and build the knowledge graph in your Filamental project: the same markdown files the app shows you, so every change appears in the app as it happens.

The server runs on your computer, works whether Filamental is open or closed, and makes no network requests of its own.

Requires the Filamental desktop app, with the project opened in it at least once, and Node.js 22 or later.


Setup

From Filamental

Open Settings › AI. Under Connect an AI app, Connect sets up Claude Desktop in one click. For any other app, Show setup beside Other AI apps gives the exact block for that app, with the paths for your computer filled in.

By hand

Add this to your AI app's MCP settings file (claude_desktop_config.json, .mcp.json for Claude Code, .cursor/mcp.json and so on):

json
{  "mcpServers": {    "filamental": {      "command": "npx",      "args": ["-y", "filamental-mcp"]    }  }}

No path is needed. The server works on whichever project Filamental has open, and follows you when you open another, with no restart. To pin it to one project instead, add "--project", "/absolute/path/to/your/project" to args.


Tools

Orient and read

ToolWhat it does
get_structure_reportA short orientation to the whole project: its classifications and connectors, the most connected nodes, the load-bearing ones, separate groups, and nodes that are unconnected or have no notes
get_contextOne node's notes plus its neighbourhood, inlined as one readable markdown document. dry_run sizes it first
find_pathThe shortest chain of connectors between two nodes, by name or UUID, with how each hop reads
search_nodesFull-text search across names, notes and property values, with an optional field filter that also works on its own
get_nodeOne node's full record, notes included
get_connectionsEvery connector on a node, stated from that node's point of view (see Arrow direction)
get_subgraphEvery node and connector within up to 3 hops of a node
get_project_infoNode and connector counts, and the classification and connector type names
list_node_typesThe project's classifications (entity types), with their colours and settings
list_connector_typesThe project's connector types, with their colours, directions and weights

Write

ToolWhat it does
create_nodeCreate a node: writes its markdown file and updates the index
update_nodeChange a node. Omitted fields stay as they are; a properties or relationships you pass replaces the whole set
delete_nodeDelete a node and its file
create_edgeConnect two nodes
delete_edgeRemove a connector
extract_sectionMove a heading's section out of a node into a node of its own, leaving a [[wikilink]] and a connector behind. dry_run previews it
inline_sectionFold a node's content back into another: the inverse of extract_section. dry_run previews it

The content is moved, never copied, so exactly one copy of any text survives.

Guides

ToolWhat it does
read_skill_guideThe full guide to designing a Filamental structure. The server sends the essentials when it connects, so this is for depth
read_format_referenceThe exact on-disk format of node files and the .filamental/ folder

Every tool carries MCP annotations (readOnlyHint, destructiveHint), so your AI app can tell the read-only tools from the ones that change or delete content.

On Filamental's free plan a project holds 20 nodes, not counting bridges, and that includes nodes an AI creates: create_node says so when a project is full. Pro has no limit.


Arrow direction

A connector's direction is one of none, outgoing, incoming or bidirectional. Nothing else is accepted, and an unrecognised value is rejected rather than stored.

On writes (create_edge, create_node, update_node) direction is stated relative to source → target: outgoing draws the arrowhead at the target, incoming draws it back at the source, bidirectional draws both, none is a plain line.

On reads (get_connections) direction is instead stated relative to the node you asked about, because that is what the user sees on screen:

FieldMeaning
nodeThe node you asked about
otherThe node at the far end
directionWhere the arrowhead is drawn, as seen from node
stored_onWhich node's file holds the relationship

This matters because which end of a connector is stored as source is simply whichever end the user happened to drag from, and it's invisible on the graph: an undirected connector looks the same either way round. So the same arrow reads as outgoing from one end and incoming from the other, and get_connections flips it for you. Filtering with direction: "outgoing" gives the edges whose arrow points away from the node you asked about. A bidirectional edge matches both outgoing and incoming, since it genuinely points both ways; undirected matches only edges with no arrow.

Use stored_on only if you're editing the underlying markdown file directly. It says nothing about what the arrow does.


CLI options

filamental-mcp                              Follow the project Filamental has openfilamental-mcp --project <path>             Pin to the project at <path>filamental-mcp --project <path> --db <path> Also override the SQLite index path (for testing)

How it works

Every node in a Filamental project is a markdown file with YAML front matter, inside the project folder. The app also keeps a SQLite index of each project for fast search and traversal, stored in the app's own settings folder rather than in the project.

The server opens that index. Read tools query it; write tools update the markdown file and the index together, and keep any front-matter fields they don't own (Obsidian's tags and aliases, say) exactly where they were.


Compatibility

filamental-mcpFilamental appIndex schema
0.2.6 and later0.3.0 and laterv6
0.2.0 – 0.2.50.2.xv5

On a schema mismatch the server keeps working where it can, since the index is disposable, and annotates any failing call with which side to update.


Licence

MIT. The Filamental desktop app itself is proprietary; its terms are at filamental.space/terms.

來源:mcp/README.md,提交 494c612

工具

0
SourceWeft 曾在隔離沙箱中以無憑證方式啟動該軟體包一次,以列出其工具,但未能完成:伺服器未能啟動。

版本歷史

3
  1. v0.2.17Oct 29, 2026
  2. v0.2.16Oct 26, 2026
  3. v0.2.10Sep 16, 2026

評分

已滿足適用檢查項的 40%

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

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

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

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

    請在儲存庫或註冊中心條目中宣告授權條款。