weave

Connect an agent

weave is an open-source (MIT), self-hosted work platform in which AI agents are first-class users. Workspaces hold spaces, spaces hold tables, and tables hold rows that link through relations and carry markdown documents. The MCP server, REST API, CLI and browser UI run the same engine.

MCP URL

This instance serves MCP over streamable HTTP at this URL:

https://weave.grunion.ai/mcp

The URL above serves one workspace. Another workspace on the same host is served at /w/<name>/mcp.

Sign-in

The first call opens a browser sign-in (OAuth 2.1 with PKCE and dynamic client registration), so there is no token to paste. Any role on the workspace connects, and tools/list names only the tools that role may call: an Observer reads and comments, an Editor also creates, edits and deletes rows, and an Architect also changes the schema and accounts. Where the host bills for seats, creating and editing take a paid seat or an active free trial; without one, an Editor or Architect reads and comments as an Observer does.

Claude Code

claude mcp add --scope user --transport http weave https://weave.grunion.ai/mcp

Other MCP clients

Claude, ChatGPT, Codex, Gemini CLI and any other client that supports remote MCP servers with OAuth take the same URL. Add https://weave.grunion.ai/mcp as a remote server, then finish the browser sign-in on the first call.

Self-hosted server over stdio

claude mcp add weave -- node /path/to/weave/bin/weave.js mcp --data /path/to/workspace.db

First calls

Read the weave_ontology outline first. Then build the workspace in one weave_build call: run it with dryRun: true, then for real.

Tool set

The server has 65 tools. By default it lists the 17 a workspace build uses, including weave_build, and weave_call runs any of the other 48 by name. A self-hosted server lists all 65 when started with weave mcp --tools all or with WEAVE_MCP_TOOLS=all set.

Every tool carries MCP annotations: a title, readOnlyHint, destructiveHint and openWorldHint. Only the automation tools reach outside the workspace, because an automation rule can call a webhook URL. weave_call can run the automation tools, so it reaches outside the workspace too. A delete moves items to a trash, where they can be restored; a hard delete purges them.

Reference and help

The full agent reference is in AGENTS.md. For questions and bug reports, see Support.

The table below lists each tool with its title and whether it is read-only or destructive.

Tools

ToolWhat it doesEffect
weave_ontologyRead schema outlineRead-only
weave_schemaRead full schemaRead-only
weave_queryQuery rowsRead-only
weave_get_entityRead rowRead-only
weave_create_entityCreate rowAdds or edits
weave_update_entityUpdate rowAdds or edits
weave_delete_entityDelete rowDestructive
weave_restore_entityRestore rowAdds or edits
weave_trashList trashRead-only
weave_statsSummarize tableRead-only
weave_undoUndo editsDestructive
weave_bulkEdit rows in bulkDestructive
weave_set_stateSet workflow stateAdds or edits
weave_linkLink rowsAdds or edits
weave_unlinkUnlink rowsAdds or edits
weave_get_docRead documentRead-only
weave_set_docWrite documentDestructive
weave_doc_revisionsList document revisionsRead-only
weave_doc_restoreRestore document revisionDestructive
weave_add_commentAdd commentAdds or edits
weave_delete_commentDelete commentDestructive
weave_searchSearch workspaceRead-only
weave_create_spaceCreate spaceAdds or edits
weave_create_tableCreate tableAdds or edits
weave_add_fieldAdd fieldAdds or edits
weave_check_formulaCheck formulaRead-only
weave_add_relationAdd relationAdds or edits
weave_create_automationCreate automationAdds or edits, can call a webhook
weave_export_csvExport table as CSVRead-only
weave_import_csvImport CSV rowsAdds or edits
weave_attach_fileAttach fileAdds or edits
weave_vocabularyLook up allowed valuesRead-only
weave_update_spaceUpdate spaceAdds or edits
weave_template_listList templatesRead-only
weave_template_useUse templateAdds or edits
weave_delete_spaceDelete spaceDestructive
weave_restore_spaceRestore spaceAdds or edits
weave_update_tableUpdate tableAdds or edits
weave_table_viewRead or write table viewsAdds or edits
weave_move_tableMove tableAdds or edits
weave_duplicate_tableDuplicate tableAdds or edits
weave_delete_tableDelete tableDestructive
weave_restore_tableRestore tableAdds or edits
weave_update_fieldUpdate fieldDestructive
weave_rollback_fieldRoll back field configDestructive
weave_delete_fieldDelete fieldDestructive
weave_restore_fieldRestore fieldAdds or edits
weave_apply_schemaApply schema documentDestructive
weave_buildBuild workspaceAdds or edits
weave_viewsManage saved viewsDestructive
weave_sharesManage share linksDestructive
weave_automationsManage automationsDestructive, can call a webhook
weave_activityRead activity feedRead-only
weave_auditRead audit logRead-only
weave_workspaceRead or update workspaceDestructive
weave_accountsManage accountsDestructive
weave_keysManage credential keysDestructive
weave_filesRead or delete filesDestructive
weave_registryCheck workspace registryAdds or edits
weave_relation_mapDraw relation mapRead-only
weave_export_jsonExport workspace as JSONRead-only
weave_formsManage formsAdds or edits
weave_form_submitSubmit formAdds or edits
weave_import_jsonReplace workspace from JSONDestructive
weave_callCall any weave toolDestructive, can call a webhook