Skip to main content
Glama

Mefagram — Diagrams your agents can edit

Turn conversations into workflows, project plans and research maps that stay useful after the chat ends.

Mefagram is a self-hosted diagram workspace and MCP server for AI agents. Your agents build and update the map; you explore it in the browser.

  • Explore: zoom, pan, expand stages, and inspect notes and sources.

  • Keep context: search saved diagrams and revisit their revision history.

  • Work across agents: share one workspace, with conflict detection and JSON import/export.

Get started

Requires Node.js 24+.

git clone https://github.com/berkinduz/mefagram.git
cd mefagram
npm ci
npm run setup -- --example newsletter
npm run build
npm start

Open localhost:3000. Login credentials are in .mefagram/local-access.json. Omit --example newsletter for an empty workspace.

Related MCP server: Flowchart MCP

Connect your agent

MCP endpoint: http://127.0.0.1:3000/api/mcp. Authenticate with OAuth or a scoped token. No model API key is required.

Agents with terminal access can use the included MCP client:

npm run agent -- list
npm run agent -- tools

Try asking: “Map our onboarding process, including handoffs, decisions and source links.”

Local data persists on disk. Remote agents need a reachable HTTPS installation. See the agent guide for tools, authentication and update examples.

Install & backup · Hosting · Contribute

Maintenance

ActivityMaintained
ResponsivenessSyncing

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    C
    maintenance
    End-to-end agent-managed company brain. Humans and any MCP agent co-author living docs (Markdown + extensions), 40+ visual diagrams (Mermaid, BPMN, D2, PlantUML, ELK, Excalidraw), plans, and a self-learning Knowledge Graph. 163 tools across 16 categories. Auth: OAuth 2.1 or API key. Lean, secure, affordable — from individuals to enterprise.
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    Enables AI assistants to create, edit, and export flowcharts through a local web-based editor with visual drag-and-drop, real-time sync, and 14 MCP tools for full node/edge CRUD.
    2
    Apache 2.0
  • F
    license
    Not graded
    quality
    A
    maintenance
    Enables agents to create, customize, analyze and export relationship diagrams — theorem dependencies, paper maps, task RACI, org charts, conversation graphs — through 25 MCP tools, with cycle detection, centrality bottleneck reports, dependency closure and Mermaid/DOT/Markdown/JSON interop. Graphs stay local-first in a diff-friendly JSON source of truth and can be refined on a visual canvas.
    1
    -
  • A
    license
    Not graded
    quality
    B
    maintenance
    Enables AI agents to explore and extend a local-first, SQLite-backed visual knowledge graph through 12 tools for listing maps, searching and reading nodes, and creating, updating, or linking nodes and edges. Every AI-written node carries provenance and is checked against near-duplicate titles, so agent-added ideas appear in a shared graph that people also edit by hand.
    MIT