Skip to main content
Glama

EditWeave MCP

Experimental v0.1.0-alpha — open-source Model Context Protocol server for AI-assisted editing of shared cloud documents, starting with Microsoft Word Online.

Current capability: validates Microsoft document-link domains and previews narrowly scoped text edits. It does not open, fetch, or modify Word documents yet. Editing via anonymous shared links remains an unverified research goal.

Purpose

A student receives a Microsoft Word Online document with “Anyone with the link can edit” permissions and wants an AI agent to edit only an assigned section, preserving collaborators' work.

Related MCP server: word-mcp-live

Status

  • inspect_share_link: classifies an allowed Microsoft URL without fetching it or claiming access.

  • preview_exact_text_edit: returns a non-executing change plan.

  • Word Online browser adapter: not implemented.

  • Microsoft Graph OAuth adapter: not implemented.

  • No authentication bypass, automatic edits, or guarantees of formatting fidelity.

OpenCode terminal installation

See step-by-step Windows/OpenCode v2 guide. A project-level opencode.json is included so OpenCode can discover the MCP without npm publication or remote hosting.

Quick start

Requires Node.js >= 22.10.

npm install
npm test
npm start

Connect a compatible MCP client using the command npm start over the stdio transport.

Project structure

src/
  domain/               # pure validation and edit planning
  mcp/                  # protocol entry point
  adapters/word-online/ # browser integration research
  adapters/graph/       # OAuth API research
tests/                  # isolated domain tests
docs/
  adr/                  # architectural decisions
  continuity/           # verified state and handoff

Security

Sharing links can contain sensitive bearer tokens. Never log or publish live document URLs. URL validation alone does not establish permission to view or edit. Future write operations must require explicit per-change approval, a scoped diff, conflict detection, and post-edit verification. Do not circumvent Microsoft authentication, CAPTCHA, or access restrictions.

Architecture and documentation

See SRS, Roadmap, ADR-001, ADR-002, and handoff.

The full professional project dossier and version backups are preserved in Google Drive, following AI Project Documentation Skill.

Primary references

License

MIT (see LICENSE). Not affiliated with Microsoft or OpenAI.

Available Tools

2 tools
preview_exact_text_editB

Draft one exact-text replacement; does not edit any document.

Inputs: target (required), replacement (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.4/5.0

    Scored across 2 tools

    Disambiguation5/5

    The two tools have clearly distinct purposes: one classifies a Microsoft sharing link, and the other drafts an exact-text replacement. There is no meaningful overlap in action or resource, so an agent should not confuse them.

    Naming Consistency5/5

    Both names use a consistent snake_case, verb-first convention: inspect_share_link and preview_exact_text_edit. The slight difference in internal structure still follows a predictable action-oriented pattern.

    Tool Count3/5

    Two tools is very thin for an editing-oriented server, especially since both are inspection/preview operations. The small surface may be intentional, but it sits at the borderline of under-scoped.

    Completeness2/5

    The server appears to target document editing and sharing, but it only classifies links and previews one edit without applying it. It lacks core lifecycle operations such as reading, applying edits, or checking actual link permissions, which will limit real workflows.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers