[Enhancement]: Start Scheduled Chats from MCP Events

Open
#18,693 0 comments 1 reaction 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
12/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
typescript
Domain
backend, frontend

Research direction

The payload names no files. Start by reading the existing Scheduled Chats feature (its time-based triggers, UI and endpoints) and the MCP Events extension spec at SEP-3415, then check related issue #11687 for an existing trigger design. Done means a maintainer agrees on how an MCP event is subscribed to and mapped to a scheduled chat's prompt, and the design is recorded before any code is written.

Written by the indexing model from the issue text.

Description

What features would you like to see added?

Let a Scheduled Chat start when an MCP event happens, not only at a set time.

Today, Scheduled Chats only run on a time schedule (hourly, daily, weekly or cron). MCP servers can now announce events through the MCP Events extension (SEP-3415): a new email, a GitHub push, an upcoming meeting. I'd like to choose one of those events as the trigger for a scheduled chat, so that my saved agent starts a new chat with my prompt each time the event happens, and the chat includes the event details.

More details

Example uses:

  • A new email from a specific sender arrives → "Triage this email and draft a reply."
  • A push to a repository → "Summarize what changed."
  • An incident is opened → "Summarize what broke and what to check first."
  • A meeting is about to start → "Prepare a brief for this meeting."

This would make agents react to things as they happen instead of checking on a timer, using MCP servers that are already connected to LibreChat.

Related: #11687 (event-driven triggers for agents)

Which components are impacted by your request?

Endpoints, UI

Pictures

No response

Code of Conduct
  • I agree to follow this project's Code of Conduct
Dominant language
TypeScript
Stars
45.6k
Forks
9.4k
Avg merge
16h 24m
Merged PRs (30d)
825

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from LibreChat-AI/LibreChat

All issues in LibreChat-AI/LibreChat

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.