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 文件与索引;向 update_node 传入 properties 或 relationships 会整体替换原有集合。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 分

    请在仓库或注册中心条目中声明许可证。