ManifolderMCP
Enables browsing and editing Open Metaverse Spatial Fabric scenes, including managing scenes, objects, and resources through natural language.
README
ManifolderMCP
ManifolderMCP is a Model Context Protocol (MCP) server that allows Claude Code and other MCP clients to browse and edit Open Metaverse Spatial Fabric scenes.
It provides a thin MCP tool layer on top of the MVMF protocol libraries via the ManifolderClient JavaScript library.
ManifolderMCP is an open source project created and maintained by Patched Reality, Inc..
Related Projects
- ManifolderClient — JavaScript client library used by this MCP server
- Manifolder — Web-based explorer for visualizing Open Metaverse fabrics
Setup
Prerequisites
- Node.js >= 18
- Access to a Fabric server
Install
npm install
npm run build
Configure
Create ~/.config/manifolder-mcp/config.json:
{
"default": {
"fabricUrl": "https://example.com/fabric/fabric.msf",
"adminKey": "your-admin-token"
}
}
Resource upload/download uses one of two transports, selected automatically per profile. Either way, resourceUrlPrefix is the URL prefix used to reference uploads in scenes (e.g., /objects/).
WebDAV (used when filesUrl is set) — file operations go over HTTPS WebDAV against the configured endpoint, authenticated with the profile's adminKey as a bearer token:
| Field | Description |
|---|---|
filesUrl |
WebDAV endpoint for file operations (e.g., https://files-name.example.com/) |
resourceUrlPrefix |
URL prefix for referencing uploads in scenes (e.g., /objects/) |
SCP/SSH (used when filesUrl is absent) — file operations go over SFTP:
| Field | Description |
|---|---|
scpHost |
SSH hostname for resource uploads |
scpUser |
SSH username |
scpRemotePath |
Server path where files are written (supports ~) |
scpKeyPath |
Path to SSH private key (supports ~) |
resourceUrlPrefix |
URL prefix for referencing uploads in scenes (e.g., /objects/) |
Hosts listed in unsafeHosts skip TLS certificate verification (self-signed certs, incomplete chains) for both the fabric socket and WebDAV requests.
Multiple profiles can be defined (e.g., "default", "staging") and selected per-call via the profile parameter on any tool.
Add to MCP Client
Build first (npm run build), then register using an absolute path to dist/index.js.
Claude Code:
claude mcp add --scope user manifolder -- node /absolute/path/to/ManifolderMCP/dist/index.js
Codex:
codex mcp add manifolder -- node /absolute/path/to/ManifolderMCP/dist/index.js
Gemini CLI:
gemini mcp add -s user manifolder node /absolute/path/to/ManifolderMCP/dist/index.js
Manual config (Claude Code settings.json, Gemini settings.json, etc.):
{
"mcpServers": {
"manifolder": {
"command": "node",
"args": ["/absolute/path/to/ManifolderMCP/dist/index.js"]
}
}
}
Tools
Every tool that touches a scope accepts one of scopeId, profile, or url to identify the target. Passing profile or url auto-connects if needed.
Connection & Scopes
| Tool | Purpose |
|---|---|
list_profiles |
List connection profiles from config |
fabric_status |
Get scope connection state and info |
list_scopes |
List active scopes and relationships |
follow_attachment |
Open a child scope from an attachment object |
close_scope |
Close a scope and optionally its descendants |
Scenes
| Tool | Purpose |
|---|---|
list_scenes |
List scenes (paginated) |
open_scene |
Load a scene and return root object details |
create_scene |
Create a new scene |
delete_scene |
Delete a scene and all children |
Objects
| Tool | Purpose |
|---|---|
get_object |
Get full object details |
list_objects |
List loaded objects under an anchor (shallow, paginated) |
find_objects |
Search by name, position radius, or resource URL (paginated) |
find_earth_attachment_parent |
Find the smallest terrestrial parent for an Earth attachment and compute attachment geometry |
create_object |
Create object (3D model, container, or action resource) |
update_object |
Update name, transform, resource, bound, orbit, properties |
delete_object |
Delete object and children |
move_object |
Reparent object |
bulk_update |
Batch create/update/delete/move across scopes |
Resources
| Tool | Purpose |
|---|---|
upload_resource |
Upload a file (.glb, .png, .json, etc.) |
download_resource |
Download a file from the server |
list_resources |
List server files (supports path, recursive, glob filter) |
delete_resource |
Remove a file |
move_resource |
Move or rename a file |
bulk_upload_resources |
Upload multiple files |
bulk_download_resources |
Download multiple files |
bulk_delete_resources |
Delete multiple files |
bulk_move_resources |
Move/rename multiple files |
Action Resources
| Tool | Purpose |
|---|---|
get_action_resource_schema |
Get JSON schema for action resource types |
validate_action_resource |
Validate an action resource file |
Action types: action://pointlight, action://showtext, action://rotator, action://video.
Usage Example
> List my fabric profiles
> List scenes using profile "default"
> Open scene Playground
> Create an object named "Tree" under the Nature node
> Move it 5 meters north
Development
npm run dev # TypeScript watch mode
npm test # Unit tests
npm run test:integration # Integration tests (requires running server)
npm run test:record-fixtures # Record test fixtures from live server
npm run sync:manifolder-client # Sync ManifolderClient from ../Manifolder/
Project Structure
src/
index.ts # MCP server entry point
config.ts # Connection profile loader
output.ts # Pagination helpers
agent-guide.md # Tool docs served to MCP clients
client/ # ManifolderClient (synced from ../Manifolder/)
tools/ # MCP tool implementations
storage/ # SCP-based file storage
vendor/ # MVMF protocol libraries (Node.js shimmed)
The ManifolderClient is shared with the sibling Manifolder project. Edit there, then npm run sync:manifolder-client to pull changes here.
License
Licensed under the Apache License, Version 2.0. See the LICENSE file for details.
Attribution
This project uses the MVMF libraries developed by Metaversal Corporation.
See the NOTICE file for full attribution details.
Contributing
Contributions are welcome. By submitting a pull request, you agree that your contribution will be licensed under the Apache License, Version 2.0.
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。