MCP Connector

Generate project reports from OpenProject data

Generates weekly/monthly reports, risk assessments, and workload analysis for OpenProject teams.

Works with openprojectclaudecursorfastapidocker

79
Spark score
out of 100
Updated Sep 2025
Source checked Sep 30, 2026
Version 0.0.1

Add to Favorites

Why it matters

Connect AI assistants to OpenProject to automatically generate intelligent project reports, assess risks, and analyze team workload without manual data gathering or formatting.

Outcomes

What it gets done

01

Extract work packages, milestones, and project data from OpenProject via API

02

Generate weekly, monthly, and progress reports using customizable templates

03

Assess project risks by analyzing task status, deadlines, and dependencies

04

Analyze team member workload distribution and provide optimization recommendations

Source

Get it from source

Spark does not host a copy of it.

Open source

Reports

Agent outcome reports

No reports yet

Overview

OpenProject MCP Server generates intelligent project reports for team leaders: weekly, monthly, and progress reports from templates (including Japanese-style business report formats), project risk assessment, and team workload analysis, exposed as MCP tools with a web template editor. Use it when a team leader needs automated report generation, risk assessment, or workload analysis from OpenProject project data. The HTTP solution (port 8010) is the production-stable option; the FastMCP variant is experimental.

What it does

This OpenProject MCP Server is built for team leaders who need intelligent, automatically generated project reports. Its core features are smart report generation (weekly, monthly, and progress reports), real-time project risk identification and assessment, team workload analysis with optimization suggestions, and a template system supporting custom report formats, including professional Japanese-style business report templates (weekly, monthly, and progress-report variants). It speaks the standard MCP protocol so it integrates directly with Claude Desktop, Cursor, and other AI tools, and it ships with a web-based template editor for creating and editing custom report templates.

When to use - and when NOT to

Use it when a team leader or PM wants AI-generated status reports, risk assessments, or workload analysis pulled directly from OpenProject project data instead of compiling them manually. Three deployment solutions are offered with different maturity: the HTTP solution (port 8010) is the production-stable, recommended option; the FastAPI solution (port 8020) is feature-complete and recommended for development and testing, with interactive API docs at /docs; and the FastMCP solution is explicitly marked experimental, intended for technical evaluation rather than production use. Do not point production traffic at the FastMCP variant given that status.

Capabilities

  • Report generation - generate_report_from_template, producing weekly, monthly, or progress reports from a chosen template and project ID (e.g. japanese_weekly_report).
  • Risk assessment - assess_project_risks, identifying and evaluating project risk for a given project ID.
  • Workload analysis - analyzes team members' workload and suggests optimizations.
  • Template system - built-in Japanese-style weekly, monthly, and progress-report templates, plus custom templates authored through the web template editor.

How to install

Optionally start OpenProject itself with Docker (docker-compose up -d, default login admin/admin at http://localhost:8090). For the recommended HTTP solution:

cd solution-http
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
pip install -e ../mcp-core
cp .env.example .env   # set OPENPROJECT_URL and OPENPROJECT_API_KEY
python3 -m src.main

This exposes a web UI at http://localhost:8010/web/template_editor.html, an MCP endpoint at http://localhost:8010/mcp, and a health check at /health. The FastAPI solution follows the same pattern on port 8020 (cd solution-fastapi, python app/main.py), adding interactive API docs at /docs. For Claude Desktop or Cursor, point an mcpServers entry at the running MCP endpoint (e.g. http://localhost:8020/mcp). Get an OpenProject API key from "My Account" -> "Access Tokens" inside OpenProject.

Who it's for

Team leaders and project managers running OpenProject who want AI-generated weekly/monthly/progress reports, project risk assessments, and team workload analysis, including teams that need professionally formatted Japanese-style business reports, without compiling that data by hand every reporting cycle.

Source README

OpenProject MCP Server

🎯 Intelligent project reporting generation tool for team leaders

Python MCP FastAPI

✨ Core Features

  • 📊 Intelligent Report Generation - Automatically generate weekly reports, monthly reports, and progress reports
  • 🎯 Risk Assessment - Real-time project risk identification and evaluation
  • 👥 Workload Analysis - Team member workload analysis and optimization recommendations
  • 🎨 Template System - Support for custom report templates, including professional Japanese business reports
  • 🔌 MCP Protocol - Standard protocol for easy integration with Claude Desktop, Cursor, and other AI tools

🚀 Quick Start

📋 Solution Selection Guide
Solution Stability Recommended Use Case Port
HTTP Solution ✅ Production-ready Production deployment 8010
FastAPI Solution ✅ Feature-complete Development and testing 8020
FastMCP Solution ⚠️ Experimental Technical evaluation 8010

HTTP solution recommended for production environments

1. Start OpenProject (Optional)
# Start OpenProject using Docker (if you don't have an OpenProject instance yet)
docker-compose up -d

# Access OpenProject: http://localhost:8090
# Default credentials: admin / admin
2. Choose and Start a Solution
🎯 Solution One: HTTP Solution (Recommended for Production)
cd solution-http
python3 -m venv venv
source venv/bin/activate  # Windows: venv\Scripts\activate
pip install -r requirements.txt
pip install -e ../mcp-core

# Configure environment variables
cp .env.example .env
# Edit .env file to set OpenProject URL and API Key

# Start the service
python3 -m src.main
🚀 Solution Two: FastAPI Solution (Recommended for Development)
cd solution-fastapi
python3 -m venv venv
source venv/bin/activate  # Windows: venv\Scripts\activate
pip install -r requirements.txt
pip install -e ../mcp-core

# Configure environment variables
cp .env.example .env
# Edit .env file to set OpenProject URL and API Key

# Start the service
python app/main.py

💡 Detailed startup instructions: See Service Startup Manual

3. Access the Service
HTTP Solution (Port 8010)
FastAPI Solution (Port 8020)

🎨 Template System

Support for multiple professional report templates:

  • Japanese Weekly Report - Detailed weekly report aligned with Japanese business culture
  • Japanese Monthly Report - Comprehensive monthly summary report
  • Japanese Progress Report - Professional progress status report
  • Custom Templates - Create and edit templates through the web interface

🔧 Integration with AI Tools

Claude Desktop
{
  "mcpServers": {
    "openproject": {
      "command": "curl",
      "args": ["-X", "POST", "http://localhost:8020/mcp"]
    }
  }
}
Cursor

Add MCP server configuration in Cursor, pointing to http://localhost:8020/mcp

📚 Usage Examples

Generate Weekly Report (Using HTTP Solution)
curl -X POST http://localhost:8010/mcp \
  -H "Content-Type: application/json" \
  -d '{
    "jsonrpc": "2.0",
    "id": 1,
    "method": "tools/call",
    "params": {
      "name": "generate_report_from_template",
      "arguments": {
        "template_id": "japanese_weekly_report",
        "project_id": "1"
      }
    }
  }'
Assess Project Risks
curl -X POST http://localhost:8010/mcp \
  -H "Content-Type: application/json" \
  -d '{
    "jsonrpc": "2.0",
    "id": 2,
    "method": "tools/call",
    "params": {
      "name": "assess_project_risks",
      "arguments": {
        "project_id": "1"
      }
    }
  }'

📖 More usage examples: See Service Startup Manual

🔧 Configuration

Environment Variables
# OpenProject Configuration (Required)
OPENPROJECT_URL=https://your-openproject.com
OPENPROJECT_API_KEY=your-api-key-here

# Server Configuration (HTTP Solution)
HOST=0.0.0.0
PORT=8010
LOG_LEVEL=INFO

# Server Configuration (FastAPI Solution)  
PORT=8020  # Note: different port

🔧 Detailed configuration instructions: See Service Startup Manual

Getting an API Key
  1. Log in to OpenProject
  2. Go to "My Account" → "Access Tokens"
  3. Create a new API key
  4. Copy the key to your .env file

🆘 Troubleshooting

Common Issues

Q: Service startup fails with port already in use error

# Find and terminate the process using the port
lsof -ti:8010 | xargs kill -9  # HTTP Solution port
lsof -ti:8020 | xargs kill -9  # FastAPI Solution port

# Or modify configuration to use a different port
# Edit PORT setting in .env file

Q: Cannot connect to OpenProject

  • Check if OpenProject is running
  • Verify that the API Key is correct
  • Confirm network connectivity is working
  • Check server logs for detailed error messages

Q: Template preview generation fails

  • Check if the project ID exists
  • Confirm you have access to the project
  • Check server logs for detailed error messages

🔧 More troubleshooting: See Service Startup Manual

📄 License

MIT License - See LICENSE file for details

🤝 Contributing

Issues and pull requests are welcome!


📖 Extended Documentation

See docs/ directory for detailed documentation:

Service Links:

FAQ

Common questions

Discussion

Questions & comments · 0

Sign In Sign in to leave a comment.