Provides tools for interacting with GitHub repositories, including creating issue comments, retrieving issue details, and listing repository issues through the GitHub REST API.
Enables task management in Notion databases, offering capabilities to create tasks, retrieve page details, get database structure, and perform database queries.
MCP (Model Context Protocol) Server
A Node.js/TypeScript server that implements the Model Context Protocol with integrations for GitHub and Notion.
🚀 Features
- Express.js Server with TypeScript support
- GitHub Integration using Octokit REST API
- Notion Integration for task management
- Docker Support for containerized deployment
- Webhook Endpoints for GitHub event handling
📋 Prerequisites
- Node.js 18+
- Docker (optional)
- GitHub Personal Access Token
- Notion API Key and Database ID
🛠️ Installation
- Clone the repository
- Install dependencies
- Set up environment variables
- Build the project
🔧 Configuration
Environment Variables
Create a .env
file with the following variables:
API Keys Setup
- GitHub Token:
- Go to https://github.com/settings/tokens
- Create a new token with
repo
scope
- Notion Integration:
- Go to https://www.notion.so/my-integrations
- Create a new integration
- Share your database with the integration
🏃♂️ Running the Application
Development Mode
Production Mode
Docker
📡 API Endpoints
- GET
/
- Health check endpoint - POST
/webhook/github
- GitHub webhook handler
🛠️ Available Tools
GitHub Tools (src/tools/github.ts
)
createIssueComment()
- Post comments on GitHub issuesgetIssue()
- Get issue detailslistIssues()
- List repository issues
Notion Tools (src/tools/notion.ts
)
createTaskInNotion()
- Create tasks in Notion databasegetPage()
- Get page detailsgetDatabase()
- Get database structurequeryDatabase()
- Query database
🧪 Testing
Test the webhook endpoint:
📁 Project Structure
🤝 Contributing
- Fork the repository
- Create a feature branch
- Make your changes
- Add tests if applicable
- Submit a pull request
📄 License
This project is licensed under the ISC License.
🔗 Links
This server cannot be installed
A Node.js/TypeScript server implementing the Model Context Protocol that provides integrations with GitHub and Notion, allowing automated workflow between these platforms via API endpoints.
Related MCP Servers
- AsecurityFlicenseAqualityA Model Context Protocol server that enables AI models to interact with GitHub's API, allowing for repository creation and management with descriptions, topics, and website URLs through natural language commands.Last updated -1JavaScript
- -securityFlicense-qualityA Model Context Protocol server that enables AI assistants to perform GitHub operations including repository management, file operations, issue tracking, and pull request creation.Last updated -1TypeScript
- -security-license-qualityA Model Context Protocol server that supports remote connections and authenticates users via GitHub OAuth, allowing them to access tools based on their GitHub identity.Last updated -TypeScript
- -securityFlicense-qualityModel Context Protocol server that enables interaction with GitHub repositories, issues, pull requests, and search functionality through natural language.Last updated -TypeScript