Slack Gitlab Digest Model Context Protocol MCP Server

Slack Gitlab Digest Model Context Protocol MCP Server

Summarizes Slack activity and GitLab merge requests with OpenAI to help generate daily standups, weekly reports, or quarterly check-ins.

Category
Visit Server

README

Slack Gitlab Digest Model Context Protocol MCP Server

A Model-Context-Protocol (MCP) server that retrieves Slack activity (messages, threads, replies), GitLab merge requests, and related comments, with summaries generated via OpenAI. Designed to help developers generate daily standups, weekly reports, or quarterly check-ins effortlessly.

Features

  • Summarizes Slack activity for a user in different timeframes (today, yesterday, day before yesterday, last week)
  • Captures all types of Slack activity including direct messages, thread replies, and emoji reactions
  • GitLab Integration: Includes detailed summaries of user's GitLab merge requests and comments.

Setup

Prerequisites

  • Node.js (v18+)
  • pnpm
  • Slack API token with appropriate scopes
  • OpenAI API key
  • Gitlab Token

šŸš€ Getting Started

1. Environment Setup

First, you'll need to set up your environment variables. Create a file at src/env/keys.ts:

export const OPENAI_API_KEY = "your_key_here";
export const SLACK_API_TOKEN = "your_key_here";
export const GITLAB_TOKEN = "your_key_here";

// Add any other keys you need

āš ļø Security Note: Storing API keys directly in source code is not recommended for production environments. This is only for local development and learning purposes. You can set the env var inline in the Cursor MCP interface as well.

2. Installation

npm install
# or
yarn install

3. Test with MCP inspector when developing -> currently you'll have to switch to the dev branch, i'm unable to get a build branch working locally

Create a .env file with

# Slack API Configuration
SLACK_API_TOKEN=key_here

# OpenAI API Configuration
OPENAI_API_KEY=key_here

# Gitlab API Configuration
GITLAB_TOKEN=key_here

  • https://github.com/modelcontextprotocol/inspector
git checkout dev
pnpm install
npx @modelcontextprotocol/inspector start

4. When finished developing build the Server

npm run build

4. Adding to Cursor

This project is designed to be used as an MCP server in Cursor. Here's how to set it up:

  1. Open Cursor
  2. Go to Cursor Settings > Features > MCP
  3. Click + Add New MCP Server
  4. Fill out the form:
    • Name: Daily Summarizer
    • Type: stdio
    • Command: node /path/to/your/project/dist/index.js

šŸ“˜ Tip: You might need to use the full path to your project's built index.js file.

After adding the server, you should see your tools listed under "Available Tools". If not, try clicking the refresh button in the top right corner of the MCP server section.

For more details about MCP setup, check out the Cursor MCP Documentation.

šŸ“ Project Structure

src/
ā”œā”€ā”€ tools/
│   ā”œā”€ā”€ gitlab.ts        # GitLab integration tool
│   └── slack.ts         # Slack integration tool
ā”œā”€ā”€ types/
│   ā”œā”€ā”€ slack.ts         # Type definitions for Slack
│   └── gitlab.ts        # Type definitions for GitLab
ā”œā”€ā”€ resources/
│   ā”œā”€ā”€ slack.ts         # Slack resource management
│   ā”œā”€ā”€ slackClient.ts   # Slack client setup
│   ā”œā”€ā”€ openai.ts        # OpenAI resource management
│   └── gitlab.ts        # GitLab resource management
ā”œā”€ā”€ env/
│   └── keys.ts          # Environment configuration (add your API keys here!)
└── index.ts             # Main entry point

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured