All articles

The ProGantt MCP server is now open source

ProGantt Flow's MCP server is now public on GitHub under the MIT license: what the source covers, what it leaves out, and why we published it.

4 min read

The ProGantt Flow MCP server is the piece of software that lets Claude, ChatGPT, Cursor and other assistants read and change your Gantt charts. Its source code is now public on GitHub under the MIT license: github.com/supermafete/progantt-mcp.

This is not a separate "open source edition". It is the server that runs at mcp.progantt.com, the one your connector talks to when you ask an assistant to move a task or tell you who is overloaded this week.

Why publish a server that can edit your projects

An MCP server is not a read-only integration. Depending on the project and your role, it can add tasks, change dates, reassign work and delete things. When software holds that kind of access to your plans, "trust us" is a weak answer, and an assistant deciding on its own when to call a tool makes the question sharper: you see the result, not the request.

Publishing the source lets you, or anyone on your team, read the code that handles your project data: how a request is authenticated, what the server is allowed to do, and what it records afterwards. It also makes the connector easier to review, because a security team can check behaviour instead of trusting a description.

What is in the repository

The server is a single TypeScript service. It uses Express 5 for HTTP, the official MCP SDK for the protocol and the Firebase Admin SDK for data access. In broad strokes:

  • Two transports. Streamable HTTP at /mcp, the current MCP transport, plus the older HTTP+SSE pair at /sse and /messages that clients such as LM Studio still use.
  • An OAuth 2.1 authorization server. The server publishes its discovery documents, registers clients dynamically and supports PKCE, which is what makes "add the connector and sign in" work without copying a token by hand.
  • API keys, unchanged. The pgmcp_ tokens you can create in the app keep working exactly as before.
  • 27 tools. Grouped by what they touch: projects, tasks, task hierarchy, dependency and workload analysis, milestones, resources and tags. Every tool declares in the protocol whether it only reads or can change data.
  • One permission model. Both authentication methods end in the same place: a user, an email and a role on the project. An editor can change the plan; a viewer gets a read-only assistant, because the server refuses the write rather than trusting the interface to hide it.
  • CI on two Node versions. Every push builds the project on Node 20 and Node 22, the two versions the service claims to support.

How the tokens are stored

Tokens are the part people ask about most, and the answer is short:

  1. A token is built from 32 random bytes.
  2. It is shown to you once.
  3. Only a SHA-256 hash of it is written to the database.

The raw token is never stored and never logged. OAuth access tokens expire after an hour, and refresh tokens are rotated on every use. Revoking a token deletes it, and the next request fails immediately.

What the server records about usage

The server keeps a daily counter per user of which tools were called, whether the call succeeded and how long it took. That is the whole record. Tool arguments, task titles, project names and any other content you work with are not written to those documents, which is what lets us describe the telemetry as being about the connector rather than about your projects. The counters expire on a fixed retention window instead of accumulating indefinitely.

What is not in the repository

Being explicit here matters more than the feature list, because "open source" can raise the hope that anyone can run the whole product from a checkout.

The repository contains the server, not the product. It does not include:

  • The Firestore security rules, which are the actual authorization boundary for the database.
  • The web app, including the login and consent screen that the OAuth flow hands over to.
  • The Cloud Functions behind sign-up, billing and project sharing.

Those pieces encode product decisions and are tied to our infrastructure. A section of the README called "Scope and limitations" says the same thing in plainer terms: running this server also requires a Firebase project with the expected document schema, a consent screen that implements the two endpoints the flow delegates to, and security rules of your own. Self-hosting is possible, but it is not turnkey.

Where to start reading

If you want to check a specific behaviour rather than read the whole thing:

  • src/index.ts — the HTTP routes, both transports and the tool registry.
  • src/auth.ts — how the two bearer schemes are resolved into one user.
  • src/oauth/ — the authorization server: discovery, registration, codes and tokens.
  • src/tools/ — the 27 tools, one file per group, with their descriptions and annotations.
  • src/usage.ts — the counters described above.

What this changes for you

Nothing in the way you connect. Existing connectors keep working, and the setup steps are the same. If you have not connected an assistant yet, the connector docs cover Claude, ChatGPT, Codex, Claude Code, Cursor and VS Code, and MCP server for project management explains the idea without the jargon.

If you read the code and spot a bug, opening an issue in the repository is the quickest way to get it fixed.