Synaplan 标志

Synaplan

组织
metadist

Our AI control plane for fast deployment. Talk to various models, MCP with agents, get a chat widget for support and many tools more. Use the smart DAG routing to save some tokens! We take plugins in Go, Rust, Python, NodeJS, etc.

发布者metadist
代码仓库synaplan
语言PHP
复刻数
23
星标数
152
可用工具
0
传输类型streamable-http
分类
许可协议Apache-2.0
链接
  • 将工具接入 AI 工作流

    Synaplan 提供 MCP 功能,可供兼容的 AI 客户端和智能体使用。

  • 0 个可用工具

    浏览下方可调用的操作;如果服务器提供了名称和描述,也会一并显示。

  • 可直接复制的配置

    使用安装配置片段,在您首选的 MCP 客户端中配置此服务器。

  • 开源社区热度

    关联的代码仓库有 152 个星标和 23 个复刻。

The open-source AI platform — chat, knowledge, media and agents on infrastructure you control.

Website  ·  Docs  ·  Live instance  ·  iOS  ·  Android  ·  Desktop  ·  Outlook Add-in  ·  Discord

License Docker Download on the App Store Get it on Google Play Discord API Docs


Why Synaplan?

  • We open-source artificial intelligence. The complete platform — backend, frontend, widgets, plugins — is Apache-2.0, Dockerized, and starts with one command. No core/enterprise split, no functional downgrade: self-hosted is the same software as our cloud.
  • Hundreds of models, one platform. OpenAI, Anthropic, Google Gemini, Groq, Mistral, xAI, HuggingFace, sovereign EU providers, and any local model via Ollama — swap providers per task in the UI, without touching a config file. No vendor lock-in, ever.
  • DAG task routing that saves tokens. An AI planner decomposes complex requests into a directed task graph (extract → summarize → generate → reply) and routes every step to the model that fits it — a cheap fast model for extraction, a strong one only where reasoning is needed. Live task cards stream while the graph executes, and every answer shows what it cost.
  • Sovereign by design. Run on-prem, in the EU cloud, or fully air-gapped: chat, RAG knowledge search, document processing, transcription and speech run with zero internet connection. No training on your data, no forced telemetry — proven in production up to 5,000-workplace offline deployments.
  • Everywhere you work. Web app, iPhone and Android apps, Desktop, Outlook add-in, embeddable chat widget, WhatsApp, email — plus the tools you already run: Microsoft 365, Dropbox, Nextcloud / ownCloud, calendars, Jira and Confluence, and OpenCloud.
  • Extensible without forking. A non-invasive plugin system, an OpenAPI-documented REST API, an MCP server and client, and an Anthropic-compatible endpoint for Claude Code and friends. Optional sidecars stay optional: file work, office conversion and local search never leak a half-working control when they are off.

Your first answer in three steps

One line — the installer checks Docker, fetches Synaplan, and starts the stack:

bash
curl -fsSL https://raw.githubusercontent.com/metadist/synaplan/main/install.sh | bash

Or do exactly the same by hand (make up starts the status page on :5173 first, then pulls and starts the rest — a plain docker compose up -d also works but :5173 stays silent until every image is pulled):

bash
git clone https://github.com/metadist/synaplan.git
cd synaplan
make up
  1. Open http://localhost:5173 immediately. A live status screen appears within seconds and shows every boot step — database, backend, AI model download, interface — then switches to the app automatically the moment it is ready (first start: 5–15 minutes; every later start: seconds). It also lists which optional building blocks (Qdrant, Centrifugo, Collabora, …) this install is running and how to switch each on or off. The same notes print in docker compose logs -f startup-notes.
  2. Log in as admin@synaplan.com / admin123 — the status screen shows these too.
  3. Connect an AI provider — the app takes you there. Until a key is in place, chat answers in demo mode and points you to the setup. Open AI provider setup, paste one key (free: Groq), and you are chatting. You never touch a config file.

That is the whole local-hosting onboarding. After chat works, open Manage → Connections to hook up Outlook, Nextcloud, Dropbox, a calendar, or Jira / Confluence — then you can say "summarize the latest mail from X" or "create a picture and put it in nextcloud".

Key management, the short version

  • The first-run screen is the setup. You do not have to hunt through Admin: an empty install blocks chat with a single Go to AI provider setup button. The same wizard lives at Operate → AI infrastructure → Models & keys (/admin/setup) later.
  • Tested before it's saved. The key is validated against the live provider API, so a typo fails immediately instead of at your first chat.
  • Encrypted at rest. It lives encrypted in your own database, not in a plaintext file on disk.
  • Active instantly. No restart and no rebuild — the next message already uses it.
  • Defaults repair themselves. If the default chat model points at a provider you have no key for, Synaplan repoints it to one that works, so chat is never dead on a fresh install.
  • Local-model progress is visible. A download card in the setup wizard (and in docker compose logs -f backend) shows how far the optional Ollama pull has got; cloud chat works while it runs.
  • .env still works. Keys already in backend/.env are imported into the encrypted store on first use, and a key you later save in the UI wins permanently.

No cloud key at all? Start with COMPOSE_PROFILES=local-ai ENABLE_LOCAL_GPT_OSS=true make up to run Ollama and pull a local chat model (gpt-oss:20b, ~14 GB, GPU or a strong CPU recommended). Chat begins working when the download finishes.

Host it on your own server

The commands above start the development stack (source build, Vite, MailHog, phpMyAdmin). For a production install on a Linux box, the same installer drives the published image and the deploy/ contract — it writes deploy/.env for you (the step most installs stumble over), pins the latest release, creates the first administrator, and runs the full lifecycle (prepare → pull → validate → start → smoke-test). Secrets are generated on first start and recorded in deploy/data/secrets.env:

bash
curl -fsSL https://raw.githubusercontent.com/metadist/synaplan/main/install.sh | \
  bash -s -- --mode server --domain https://ai.example.com

Prefer manual control? The identical steps by hand:

bash
cp deploy/selfhost.env.example deploy/.env
# Set SYNAPLAN_VERSION (immutable SemVer, never latest), public URL, and BOOTSTRAP_ADMIN_*
# (or leave both admin vars empty and claim the instance through the /setup wizard)
deploy/scripts/prepare.sh
docker compose --env-file deploy/.env -f deploy/compose.yaml pull
deploy/scripts/validate-release.sh
docker compose --env-file deploy/.env -f deploy/compose.yaml up -d
deploy/scripts/smoke-test.sh

The installer also accepts --admin-email, --admin-password (auto-generated when omitted), --version (defaults to the latest release), --dir, --branch and --yes — see bash install.sh --help.

After login, the same first-run provider screen applies. Full walkthrough: Installation · deploy/README.md.


Take the tour

A tour through Synaplan: chat with live cost tracking, one-key provider setup, per-task model choice, document search, media generation, the embeddable chat widget and white-label branding

Click any screenshot to see it full size.

Regenerate these assets after a UI change with scripts/build-readme-tour.sh.


One AI, everywhere you work

The same assistant, the same knowledge base, the same model policy — on every channel your team already uses. Connect a system once under Channels; the planner can then read from it and deliver results into it.

Conversation surfaces

SurfaceWhat it doesGet it
Web appFull chat + admin UI, light/dark, five languagesThis repo — make up
Mobile appsChat, documents and voice on iPhone and Android — pointed at web.synaplan.com or your own serverApp Store · Google Play
Desktop ClientPair a computer, keep research local, run Agents on this machinemetadist/synaplan-desktop
Outlook add-inBring Synaplan into Outlook (Web, new & classic, Mac) — find and process mail without sending it anywheremetadist/Synamail
Chat widgetEmbed your assistant on any website with one snippet — cross-origin ready, human takeover includedWidget guide
WhatsApp & EmailThe AI answers on the channel the question came in onWhatsApp · Email
MCP & Claude CodeYour RAG and memories as MCP tools; Anthropic-compatible POST /v1/messages endpointMCP guide · guide

Connected systems

Set these up under Manage → Connections (or Manage → Connections → MCP Servers / Manage → Channels → Email). In chat, use the channel word shown as a pill on the Connections page — for example nextcloud, dropbox, outlook.

ChannelWhat it unlocksSetup
Microsoft 365Live Outlook mail search, calendar events (outlook), send from your own mailboxManage → Connections — OAuth, no password stored
DropboxSave generated files into a Dropbox folder (dropbox)Manage → Connections — OAuth
Nextcloud / ownCloud / WebDAVFile results into a folder you own (nextcloud / folder)Manage → Connections — app password, never your account password
CalDAV calendarPut generated meetings into a calendar you own (calendar)Same Nextcloud preset can create folder + calendar in one step
IMAP mailboxLive search of any IMAP inbox, merged with Microsoft 365 resultsManage → Channels → Email
Jira & ConfluenceSearch and summarize; create tickets or pages when you allow writesManage → Connections → MCP Servers — Atlassian quick-start presets
Saved TasksPin a plan and run it on demand or on a schedule (hourly / daily / weekdays)Manage → Automations → Saved Tasks
Nextcloud / OpenCloud appsUse files from those clouds as AI knowledge — the file store stays in chargesynaplan-nextcloud · synaplan-opencloud

Details and channel words: docs/CONNECTIONS.md.


The Synaplan ecosystem

Everything below is the same platform, packaged for different homes. Pick what fits — nothing else is required.

ProjectWhat it is
synaplanThe platform itself (this repo): backend, frontend, widget, plugins, dev stack, and the deploy/ production contract with Elestio, AWS Marketplace, and Umbrel adapters
synaplan-chartsHelm charts for Kubernetes — for partners and enterprises running K8s clusters
Mobile appsNative iOS and Android — App Store · Google Play
synaplan-desktopDesktop Client — pair a computer and run Agents locally
SynamailOutlook add-in (Web, new & classic, Mac) — Synaplan inside your mailbox
synaplan-nextcloud / synaplan-opencloudApps for Nextcloud / OpenCloud — use those files as AI knowledge while the file store stays in charge (ownCloud works via the built-in WebDAV connection)
synaplan-ttsOptional self-hosted text-to-speech service for voice output
synaplan-base-phpThe base Docker image (FrankenPHP + gRPC + whisper.cpp) the platform builds on

Prerequisites

  • Docker + Docker Compose v2 (Docker Desktop on macOS/Windows, or Docker Engine + the Compose plugin on Linux)
  • Git (the one-line installer also works with curl + tar when git is missing)
  • 8 GB RAM minimum (16 GB recommended once you add the local-ai profile)
  • ~4 GB free disk for the standard install (includes file work + spoken answers; +~1 GB for local-ai, +~14 GB if you also enable the local chat model)
  • Free TCP ports 5173, 8000, 8082, 8025 (+ 1025 SMTP), 3307, 6333, 9999, 11435 (local-ai profile only), 10200 (TTS, localhost-only), 8080/8443 (oidc profile only)

Apple Silicon (M1–M4) Macs — build the backend image, don't pull it. The three-step start above already does this: make up builds the backend and worker locally from a multi-arch base image, so PHP/FrankenPHP runs natively on arm64 with no emulation tax. That is by far the fastest setup, and it is the default — you don't have to do anything special. (The published ghcr.io/metadist/synaplan image is multi-arch too, so pulling it also runs natively.) The first local build takes a few minutes; every later start is a cache hit. Two optional dev tools (phpMyAdmin, MailHog) are still amd64-only upstream images — if you keep them, enable Docker Desktop → Settings → General → "Use Rosetta for x86/amd64 emulation on Apple Silicon" (macOS 13+) so those two emulate quickly.


Install Options

ModeCommandSizeBest For
One-linercurl -fsSL https://raw.githubusercontent.com/metadist/synaplan/main/install.sh | bash~4 GBEasiest start — checks prerequisites, fetches, and starts the standard stack (--mode server available for production)
Standardmake up~4 GBLocal try-out: chat, file work, spoken answers — status page first, then the rest; add one provider key and it works
+ local AICOMPOSE_PROFILES=local-ai make up~5 GBAdds Ollama and the bge-m3 embedding model on your own hardware (local chat model optional, +~14 GB)
Productioninstall.sh --mode server or deploy/ compose + scriptspublished imageSelf-host on a Linux server — see Installation
Kubernetessynaplan-chartspublished imageHelm-based cluster deployments for partners and enterprises

A plain docker compose up -d starts the same stack but :5173 stays silent until every image is pulled — make up exists so the status page answers within seconds.

No AI weights are downloaded by default, so the first boot is dominated by the Docker images and npm ci. COMPOSE_PROFILES=local-ai is the same switch a self-hosted install uses in deploy/.env, and it pulls the local embedding model (bge-m3, ~1 GB) in the background for RAG and semantic search; progress is shown in the app.

Prefer the shell to the UI for provider keys? Keys in backend/.env still work — the backend reads that file when the container starts and imports the key into the encrypted store on first use. Write the key before starting, or restart the containers afterwards:

bash
echo "GROQ_API_KEY=your_key" >> backend/.env
make up
# already running? pick up the new key with:
# docker compose restart backend worker

Access

ServiceURL
Apphttp://localhost:5173
APIhttp://localhost:8000
API Docshttp://localhost:8000/api/doc
phpMyAdminhttp://localhost:8082
MailHoghttp://localhost:8025 (SMTP on :1025)
Qdranthttp://localhost:6333
Tikahttp://localhost:9999
Ollamahttp://localhost:11435 (local-ai profile only)
TTShttp://127.0.0.1:10200 (localhost-only, no UI — GET /health)

Default Login Credentials:

EmailPasswordLevel
admin@synaplan.comadmin123ADMIN
demo@synaplan.comdemo123PRO
test@example.comtest123NEW (unverified)

Features

  • AI Chat — Ollama, OpenAI, Anthropic, Gemini, Groq, Mistral, xAI, TrustedTokens (DE), A2Agent (CN), HuggingFace (provider list)
  • Self-aware assistant — Ask "What can you do here?" or type /help; the AI assistant answers from this installation's live capabilities, not a generic brochure
  • Multi-Task DAG Routing — An AI planner decomposes complex requests into a directed task graph (extract → summarize → generate → reply), routes each step to the model that fits it, and streams live task cards while the steps execute — cheaper models for simple steps means fewer wasted tokens
  • RAG Search — Semantic document search with MariaDB VECTOR or Qdrant
  • Chat Widget — Embed on any website (widget guide)
  • Mobile Apps — Chat, documents and voice on iPhone and Android, pointed at web.synaplan.com or at your own server (App Store · Google Play)
  • Desktop Client — Pair a computer and run Agents locally (synaplan-desktop)
  • AI assistants — Saved recipes (instructions, knowledge folders, tools, triggers) that you publish in versions (assistants)
  • Tools & approvals — One tool registry; write-class actions pause under Approvals (tools)
  • People & groups — Share folders, chats, assistants and tasks; Operate → People (people)
  • File work — Short Python or Node runs on copies of files you picked, in an isolated sidecar (guide)
  • Live Support — Realtime WebSocket layer (Centrifugo + Redis): human takeover of widget chats, typing indicators, operator notifications (realtime guide)
  • WhatsApp — Meta Business API integration
  • Email — AI-powered email responses, plus live mailbox search (IMAP and Microsoft 365)
  • Connections — Microsoft 365, Dropbox, Nextcloud / ownCloud / WebDAV, CalDAV — read mail, file results, write calendar events (connections guide)
  • Saved Tasks — Pin a multi-step plan and run it on demand or on a schedule, with a Steps editor and webhook trigger (Manage → Automations → Saved Tasks)
  • Watched pages — Save a URL, compare it on a schedule, and mail the diff when it changes
  • Audio — Whisper transcription (input) + optional synaplan-tts (output; five baked voices, UI language selects the voice)
  • Documents — PDF, Word, Excel, images with OCR; the assistant can also build and revise Office files; optional Collabora CODE sidecar for thumbnails, PDF export, preview and combine (office documents)
  • AI Memories — User profiling with Qdrant vector search
  • Feedback System — Feedback capture and analysis powered by Qdrant
  • Plugins — Non-invasive plugin system (plugin guide)
  • MCP Server (early access) — Connect AI clients (Claude, Cursor, …) over the Model Context Protocol; your RAG and memories become tools at POST /mcp (MCP guide)
  • MCP Client (early access) — Connect your MCP servers (Jira, Confluence, CRM, wiki, n8n, …) under Manage → Connections → MCP Servers. The planner pulls live data via mcp_fetch and, when you enable allow write actions on that server, can create tickets or pages via mcp_action — destructive tools stay refused. SSRF-guarded, per-topic opt-in. Seeded BCONFIG flags (MCP.CLIENT_ENABLED, MULTITASK.MCP_FETCH_ENABLED, MULTITASK.MCP_ACTION_ENABLED) turn this on; an explicit 0 row is the operator kill switch. See docs/MULTITASK_DATA_NODES.md
  • Claude Code & Anthropic-compatible API — Point Claude Code or any Anthropic-protocol client at your instance (POST /v1/messages); configure under Manage → Developer & devices → Coding clients (guide)

AI Providers & Models

Synaplan is provider-neutral: connect the providers you want in Operate → AI infrastructure → Models & keys (keys are validated live and stored encrypted in the database, active without a restart), or set the env variables below in backend/.env — those are read at container start and imported into the encrypted store on first use. Each user picks a different model per task (chat, vision, image, video, audio, embeddings) — nothing is hardcoded.

ProviderVariable in backend/.envModels
OpenAIOPENAI_API_KEYGPT-5.6 Sol / Terra / Luna, GPT-5.5 (+ Pro), GPT-5.4 (+ mini / nano), GPT Image, Whisper, text-embedding-3
AnthropicANTHROPIC_API_KEYClaude Opus 5, Sonnet 5, Fable 5, Opus 4.8, Haiku 4.5 (chat + vision)
Google GeminiGOOGLE_GEMINI_API_KEYGemini 3.x / 2.5 chat + vision, Nano Banana (incl. Pro / Lite), Veo 3.1, Gemini TTS
GroqGROQ_API_KEYQwen 3.6 27B (chat + vision), GPT-OSS 20B/120B, Whisper Large v3
Mistral 🇫🇷MISTRAL_API_KEYMistral Medium 3.5 (+ vision), Mistral Large 3, Voxtral transcription + TTS
xAIXAI_API_KEYGrok 4.5 (+ vision, 500K context), Grok Imagine image + video (incl. Pro / 1.5 tiers)
TrustedTokens 🇩🇪TRUSTEDTOKENS_API_KEYGLM 5.2 / 5.3 (+ Flash vision), Chimera, Qwen3.6 35B (+ vision), GPT OSS 120B — sovereign inference on German GPUs (TNG), zero data retention
A2Agent 🇨🇳A2AGENT_API_KEYQwen3.8 MAX / Flash (+ vision), DeepSeek V4 Pro / Flash, MiniMax M3 — Chinese frontier models via the A2Agent gateway
HuggingFaceHUGGINGFACE_API_KEYKimi K3 / K2.5 / K2.6 / K2.7 Code (chat + vision)
TheHiveTHEHIVE_API_KEYFlux Schnell, SDXL
HiggsfieldHIGGSFIELD_API_KEY + HIGGSFIELD_API_SECRETSoul, Reve, DoP, Kling 2.1
Cloudflare Workers AICLOUDFLARE_ACCOUNT_ID + CLOUDFLARE_API_TOKENbge-m3 embeddings (also usable as embedding fallback)
Ollama 🇩🇪 self-hostedOLLAMA_BASE_URL (no key)Any local model — chat, vision, bge-m3 embeddings

Transparent pricing. Every model carries its provider's own rate (USD per 1M tokens in/out, or per image / second / character for media) — no proprietary credit unit in between. The selector shows a Free / Low / Mid / High cost badge next to each model and on every answer, GET /api/v1/config/models returns priceIn / priceOut, and the Statistics page logs the real cost of each call. On the hosted instance at web.synaplan.com that same catalog is what your plan meters against; self-hosted with Ollama, the per-token cost is simply zero. Details: Model pricing & cost transparency.

Model catalog changes (new models, retired generations, price updates) ship as seeders, so an existing install is repointed to a supported successor instead of silently keeping a dead model — a retirement records the successor and every install is switched off on the next deploy. See docs/PRICING_MAINTENANCE.md.


Lean by design: core vs optional building blocks

make up starts a complete platform, but the core is deliberately small: the app, its database and Redis. Everything else is a building block that adds one capability and costs RAM. Switch a block on when you need it and off when you don't — Synaplan keeps running either way and simply hides the matching feature. The boot status screen at http://localhost:5173 lists the live on/off state of every block, and Operate → Feature Status (/admin/features) does the same after login.

BlockGives youDefaultSwitch
Core — frontend, backend, worker, scheduler, db (MariaDB), redisThe app, its API, async jobs, scheduled jobs, storage, cache and queuesalways on—
Ollama (ollama)Local AI on your hardware: bge-m3 embeddings for document search, optional local chat (ENABLE_LOCAL_GPT_OSS=true)offCOMPOSE_PROFILES=local-ai make up — the same switch as deploy/.env in production
Qdrant (qdrant)Vector database for AI memories, feedback analysis and large-scale RAGondocker compose stop qdrant — document search itself runs on MariaDB VECTOR (the default VECTOR_STORAGE_PROVIDER), so RAG keeps working; memories pause
Centrifugo (centrifugo)Live support: human takeover of widget chats, typing indicators, operator notifications (realtime guide)onREALTIME_ENABLED=false make up (then docker compose stop centrifugo) — the dashboard falls back to plain REST refreshes
Apache Tika (tika)Text extraction from PDF, Word, Excel and 1000+ formats for RAGondocker compose stop tika — uploads then index plain text / OCR only
Collabora CODE (collabora)Office files: thumbnails, “Download as PDF”, inline preview, “Combine as PDF” (~2 GB RAM) — detailsoffdocker compose --profile office up -d
Docling (docling)Layout-aware extraction (tables, headings) in front of Tika — moduleoffdocker compose --profile docling up -d
SearXNG (searxng)Self-hosted web search so queries stay on your network — moduleoffdocker compose --profile searxng up -d
File work (compute)Short Python / Node jobs on copies of files you pick — detailsonCOMPUTE_URL=disabled make up
Text-to-speech (tts)Spoken answers, five built-in voices — detailsondocker compose stop tts
Keycloak (keycloak)SSO test realm for OIDC development (configuration)offdocker compose --profile oidc up -d

Keep a default-on block off across restarts. docker compose stop is undone by the next up -d. To make a block opt-in permanently, give it a profile in a docker-compose.override.yml (not tracked by git) — plain up -d then skips it, --profile optional brings it back:

yaml
services:
  qdrant:
    profiles: [optional]

Production follows the same rule set: deploy/compose.yaml always starts web/worker/scheduler plus db/redis/centrifugo/tika/qdrant and spoken answers, with office, local-ai and compute as profiles (COMPOSE_PROFILES=office,local-ai,compute in deploy/.env). Kubernetes installs wire the same services via synaplan-charts. The other dev-only containers (phpmyadmin, mailhog, frontend-widgets, startup-notes) never ship to production.


Realtime & Background Processing

Both compose files also start four internal services (no host ports, no setup needed):

ServiceRole
redisMandatory shared infrastructure: cache, sessions, locks, rate limits, message queues (Redis Streams), Centrifugo engine
centrifugoWebSocket gateway for realtime features (live chat takeover, typing indicators, operator notifications) — browsers connect same-origin via /connection/websocket
workerSymfony Messenger consumer that executes async jobs (AI processing, document indexing, widget crawling)
schedulerTicks every 60 s: saved tasks, media-job reaping, ephemeral-file cleanup, update check

In a multi-node cluster all nodes share one Redis, so WebSocket events published on one node reach browsers connected to any other. Details: docs/REALTIME.md.


Text-to-Speech

Voice output starts with make up — synaplan-tts, image ghcr.io/metadist/synaplan-tts. The image already contains five Piper voices (English, German, Spanish, French, Turkish). Stop the tts container to hide the speaker control.

bash
# Already running after `make up`. Standalone on another machine:
docker run -d --name synaplan-tts -p 127.0.0.1:10200:10200 ghcr.io/metadist/synaplan-tts:latest

The backend looks at SYNAPLAN_TTS_URL (compose default http://tts:10200).

The UI language selects the voice. Chat sends the active frontend locale (en / de / es / fr / tr); if the backend detects a different reply language, that wins. Piper then maps the short code to the matching baked voice (German UI → kerstin, Spanish → davefx, …). There is no separate voice picker. Add more Piper models by dropping .onnx + .onnx.json into the extra-voices volume — see synaplan-tts README and docs.synaplan.com/tts.


Office documents (Optional Collabora CODE)

Office thumbnails, “Download as PDF”, inline preview, officemaker PDF output, legacy / Apple format conversion, and “Combine as PDF” need a Collabora CODE sidecar (collabora/code). Chat, Tika RAG and officemaker DOCX / XLSX / PPTX work without it. The sidecar is off by default (--profile office) so make up does not pull the image or spend the extra ~2 GB RAM.

bash
# Dev / minimal — compose already defaults OFFICE_CONVERT_URL to http://collabora:9980
docker compose --profile office up -d

# Production (deploy/) — env, not backend/.env
# in deploy/.env:  COMPOSE_PROFILES=office
docker compose --env-file deploy/.env -f deploy/compose.yaml --profile office up -d

# Already running CODE (Nextcloud, OpenCloud, another compose)
OFFICE_CONVERT_URL=http://<existing-collabora-host>:9980 make up

Do not put OFFICE_CONVERT_URL in backend/.env: Compose injects the variable, so the file cannot override it. Deployments set the env on the host or in compose. OFFICE_CONVERT_URL=disabled turns the engine off.

Collabora never sees Synaplan users. Convert-to is a server-to-server POST of a file; identity stays in Synaplan (login + file ownership). No Collabora accounts, no WOPI token on this path. HTTP 403 is usually CODE’s net.post_allow.host rejecting the compose subnet.

Full operator guide: docs.synaplan.com/office-documents. Kubernetes / reuse in other projects: synaplan-charts docs/collabora-office-engine.md.


File work

The assistant can run a short Python or Node program on copies of files you already picked and hand the result back as files — a chart from a CSV, a merged spreadsheet, a renamed folder of PDFs. The program runs in an isolated sidecar. PHP never talks to Docker.

git clone and make up start it. Compose builds the sidecar and the Python/Node runtimes from this repo, wires a local token, and turns the feature on. No profile, no image pin, no extra .env.

To hide it: COMPUTE_URL=disabled make up (or FEATURE_COMPUTE_ENABLED=false). Never publish port 8080. Production self-host adds compute to COMPOSE_PROFILES in deploy/.env — prepare.sh writes the token. Cloud uses a separate gVisor box, not this T1 sidecar on the web nodes.

Full guide: docs/COMPUTE.md · docs.synaplan.com — Secure compute.


Common Commands

bash
# Startup progress ("please wait..." notes + READY message)
docker compose logs -f startup-notes

# Logs
docker compose logs -f backend

# Restart
docker compose restart backend

# Reset database
docker compose down -v && make up

# Run tests
make test

# Code quality
make lint

Documentation

User-facing & API docs live at docs.synaplan.com. Source: metadist/synaplan-docs.

In-repo guides (for developers working on this codebase):

GuideDescription
InstallationLocal development stack and production self-hosting (deploy/)
ConfigurationEnvironment variables, API keys
Feature flagsEvery wave feature (people & sharing, assistants, tools, saved-task steps, desktop, file work, …): admin toggle, FEATURE_* env pin, defaults
File work / computeOptional sidecar: flags, compose profile, quotas, workspaces
ConnectionsMicrosoft 365, Dropbox, Nextcloud / WebDAV, CalDAV, Jira / Confluence
AI Model PricingModel catalog, provider prices, retiring a model
DevelopmentCommands, testing, architecture
Realtime / WebSocketsCentrifugo + Redis realtime layer, multi-node deployment
ObservabilityRequest correlation ids, redacted event ring, admin logs API
Office documentsOptional Collabora CODE sidecar (PDF export, previews, convert-to)
RAG SystemDocument search and processing
Chat WidgetEmbed chat on websites
WhatsAppMeta Business API setup
EmailEmail channel integration
Anthropic-compatible APIClaude Code / Messages API gateway (POST /v1/messages)
Secure compute (user docs)What people see: File work card, Workspace, quotas

Related Repositories

RepoPurpose
synaplanMain app (this repo)
synaplan-docsPublic docs site (docs.synaplan.com)
SynamailOutlook add-in
synaplan-desktopDesktop Client (Windows, macOS, Linux)
synaplan-appsiOS and Android apps — App Store · Google Play
synaplan-nextcloudNextcloud integration
synaplan-opencloudOpenCloud integration
synaplan-ttsOptional Piper TTS — image with 4 baked voices
synaplan-sortxDocument-sorting plugin + local tool
synaplan-chartsHelm charts for Kubernetes
synaplan-platformProduction deployment configs

Project Structure

synaplan/
├── backend/        # Symfony PHP API
├── frontend/       # Vue.js SPA
├── docs/           # Developer documentation
├── deploy/         # Production self-host compose + lifecycle scripts
├── sidecars/       # Optional sidecars (secure compute)
├── _docker/        # Docker configs
└── plugins/        # Plugin system

Community & Support

  • Discord — chat with the team and community; the fastest place for self-hosting and configuration questions
  • GitHub Issues — bugs and feature requests
  • www.synaplan.com — product, hosting and enterprise contact

Contributing

See AGENTS.md for development guidelines and code standards.


License

Apache-2.0

将 Synaplan MCP 与多个 AI 模型配合使用

TypingMind 在工作区级别连接 MCP 工具,因此连接 Synaplan 后,您就可以在 TypingMind 中搭配不同的 AI 模型使用,无需为每个模型单独设置。 在 TypingMind 中,您可以使用远程托管的 MCP 服务器的 URL 连接此 MCP 服务。

添加 MCP 服务器 URL

如果 Synaplan 已托管在远程服务器上,或您的团队希望让多个用户共用一个连接器,请选择此方式。

1

打开 MCP 连接器

在 TypingMind 中,前往“插件”,打开“MCP 连接器”,然后选择“添加 URL”。

  1. 在您的浏览器中打开 TypingMind。
  2. 进入“插件”。
  3. 打开“MCP 连接器”。
  4. 点击“添加 URL”。
TypingMind 的“添加自定义 MCP 服务器 URL”表单
2

粘贴服务器 URL

在“服务器 URL”字段中输入 提供商提供的 MCP 服务器 URL。根据服务器要求,添加连接名称、描述、图标、自定义 HTTP 请求头或 OAuth 客户端设置。

  1. 将 提供商提供的 MCP 服务器 URL 粘贴到“服务器 URL”字段中。
  2. 为 Synaplan 输入连接名称。
  3. 您可以添加描述和图标,以便更容易识别此连接。
  4. 如果服务器需要身份验证,请添加自定义 HTTP 请求头或 OAuth 客户端信息。
3

创建连接

点击“创建连接”,然后返回插件列表,确认新的 MCP 连接处于可用状态。

  1. 点击“创建连接”。
  2. 返回 MCP 连接器列表。
  3. 确认列表中的 Synaplan 连接显示为可用状态。
  4. 如果连接未立即出现,请刷新插件列表。
4

切换模型,无需重新连接

使用您偏好的模型开始聊天,在“插件”中启用 Synaplan 工具,并根据需要随时切换到其他模型。该 MCP 连接在 TypingMind 工作区中仍然可用。

  1. 在 TypingMind 中开始新聊天。
  2. 选择您想使用的 AI 模型。
  3. 在“插件”中启用 Synaplan 工具。
  4. 需要时,请让模型使用该工具。
  5. 切换到其他 AI 模型,继续使用同一个 MCP 连接。
在 TypingMind 聊天中使用已启用的 MCP 工具和选定的 AI 模型
您能使用 Synaplan 帮我完成这项任务吗?
Synaplan
当然,我看过了。
以下是我使用 Synaplan 得到的结果。

常见问题

Synaplan MCP 服务器有什么用途?

Synaplan 是一个 MCP 服务器,可让兼容的 AI 客户端连接外部工具并获取上下文。在 TypingMind 中,只需添加一次此 MCP 服务器,即可在您的 AI 工作区中使用其工具。

可以在 TypingMind 中让多个 AI 模型使用 Synaplan MCP 吗?

可以。TypingMind 在工作区层面连接 MCP 工具,因此您无需为每个模型单独配置 MCP 服务器,就能在 Claude、ChatGPT、Gemini 或您在 TypingMind 中配置的其他 AI 模型中使用 Synaplan。

为什么在 TypingMind 中使用 Synaplan MCP?

TypingMind 将多个 AI 模型、提示词、插件、AI 智能体、API 密钥和 MCP 工具整合到同一个工作区中,是最出色的大语言模型聊天前端之一。连接 Synaplan 后,您可以在偏好的不同模型中使用其 MCP 工具,同时在 TypingMind 中井然有序地管理聊天工作流程。

如何将 Synaplan MCP 连接到 TypingMind?

要连接 Synaplan,请在 TypingMind 中添加该远程 MCP 服务器的 URL。如果您希望在 TypingMind 工作区中使用远程 MCP 连接,这种方式很适合。

Synaplan MCP 在 TypingMind 中提供哪些工具?

Synaplan 提供 MCP 功能,您可以在 TypingMind 的插件页面启用这些功能,然后在聊天中使用,或将其分配给 AI 智能体。

使用 Synaplan MCP 需要向 TypingMind 提供我的 API 密钥吗?

不需要。TypingMind 采用本地优先的设计,让您自行选择模型提供商,并自行管理 API 密钥、提示词和 MCP 配置。如果 Synaplan 需要身份验证,请在创建连接时,为该 MCP 服务器添加所需的请求头、OAuth 设置或本地配置。

相关 MCP 服务器

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇