About Model Context Protocol (MCP) Server
An unmaintained modular MCP server that routes requests to tools for GitHub, GitLab, Google Maps, persistent memory, and Puppeteer. It is intended for people who want a unified gateway they can adapt for their own services.
Key features
- 01Unified MCP gateway
- 02GitHub and GitLab operations
- 03Google Maps search and directions
- 04Persistent key-value memory
- 05Puppeteer web automation
Use cases
- 01Search repositories and manage issues
- 02Look up places and routes
- 03Store and retrieve persistent data
- 04Capture or extract webpage content
MCP support
Exposes its tools through a unified MCP gateway and a manifest describing available capabilities. Each tool also has direct API endpoints.
Configuration
Local server config is the same for every client. Copy it into your client’s MCP config file.
We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.
Tools
Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.
Details
From the project README** NOTE: This project is no longer being maintained, as issues with model memory for smaller models means my preferred method for MCP servers is as individual containerized server providers rather than a monolithic routing provider. Code is being kept up in case others still want to try to go down this route.
Model Context Protocol (MCP) Server
A modular server that implements the Model Context Protocol standard, providing tools for GitHub, GitLab, Google Maps, Memory storage, and Puppeteer web automation.
Architecture
The MCP server is built with a modular architecture, where each tool is implemented as a separate module. The server provides a unified gateway that routes requests to the appropriate tool.

Features
- MCP Gateway: A unified endpoint for all tool requests following the MCP standard
- MCP Manifest: An endpoint that describes all available tools and their capabilities
- Direct Tool Access: Each tool can be accessed directly via its own API endpoints
- Modular Design: Easy to add or remove tools as needed
Included Tools
- GitHub Tool: Interact with GitHub repositories, issues, and search
- GitLab Tool: Interact with GitLab projects, issues, and pipelines
- Google Maps Tool: Geocoding, directions, and places search
- Memory Tool: Store and retrieve data persistently
- Puppeteer Tool: Take screenshots, generate PDFs, and extract content from websites
Getting Started
Prerequisites
- Python 3.8 or higher
- Node.js 14 or higher
- A Red Hat-based Linux distribution (RHEL, CentOS, Fedora) or any Linux/macOS system
Installation
-
Clone this repository:
git clone https://github.com/yourusername/mcp-server.git cd mcp-server -
Install Python dependencies:
pip install -r requirements.txt -
Install Node.js dependencies:
npm install -
Create a
.envfile with your configuration:SECRET_KEY=your-secret-key DEBUG=False # GitHub configuration GITHUB_TOKEN=your-github-token # GitLab configuration GITLAB_TOKEN=your-gitlab-token # Google Maps configuration GMAPS_API_KEY=your-google-maps-api-key # Memory configuration MEMORY_DB_URI=sqlite:///memory.db # Puppeteer configuration PUPPETEER_HEADLESS=true CHROME_PATH=/usr/bin/chromium-browser -
Start the server:
python app.py
Containerized Deployment
You can run the server using either Docker or Podman (Red Hat's container engine).
Docker Deployment
If you already have Docker and docker-compose installed:
-
Build the Docker image:
docker build -t mcp-server . -
Run the container:
docker run -p 5000:5000 --env-file .env mcp-server -
Alternatively, use docker-compose:
Create a
docker-compose.ymlfile:version: '3' services: mcp-server: build: . ports: - "5000:5000" volumes: - ./data:/app/data env_file: - .env restart: unless-stoppedThen run:
docker-compose up -d
Podman Deployment
For Red Hat based systems (RHEL, CentOS, Fedora) using Podman:
-
Build the container image:
podman build -t mcp-server . -
Run the container:
podman run -p 5000:5000 --env-file .env mcp-server -
If you need persistent storage:
mkdir -p ./data podman run -p 5000:5000 --env-file .env -v ./data:/app/data:Z mcp-serverNote: The
:Zsuffix is important for SELinux-enabled systems. -
Using Podman Compose (if installed):
# Install podman-compose if needed pip install podman-compose # Use the same docker-compose.yml file as above podman-compose up -d
Using the MCP Server
MCP Gateway
The MCP Gateway is the main endpoint for accessing all tools using the MCP standard.
Endpoint: POST /mcp/gateway
Request format:
{
"tool": "github",
"action": "listRepos",
"parameters": {
"username": "octocat"
}
}
Response format:
{
"tool": "github",
"action": "listRepos",
"status": "success",
"result": [
{
"id": 1296269,
"name": "Hello-World",
"full_name": "octocat/Hello-World",
"owner": {
"login": "octocat",
"id": 1
},
...
}
]
}
MCP Manifest
The MCP Manifest describes all available tools and their capabilities.
Endpoint: GET /mcp/manifest
Response format:
{
"manifestVersion": "1.0",
"tools": {
"github": {
"actions": {
"listRepos": {
"description": "List repositories for a user or organization",
"parameters": {
"username": {
"type": "string",
"description": "GitHub username or organization name"
}
},
"returns": {
"type": "array",
"description": "List of repository objects"
}
},
...
}
},
...
}
}
Direct Tool Access
Each tool can also be accessed directly via its own API endpoints:
- GitHub:
/tool/github/... - GitLab:
/tool/gitlab/... - Google Maps:
/tool/gmaps/... - Memory:
/tool/memory/... - Puppeteer:
/tool/puppeteer/...
See the API documentation for each tool for details on the available endpoints.
Tool Documentation
GitHub Tool
The GitHub tool provides access to the GitHub API for repositories, issues, and search.
Actions:
listRepos: List repositories for a user or organizationgetRepo: Get details for a specific repositorysearchRepos: Search for repositoriesgetIssues: Get issues for a repositorycreateIssue: Create a new issue in a repository
GitLab Tool
The GitLab tool provides access to the GitLab API for projects, issues, and pipelines.
Actions:
listProjects: List all projects accessible by the authenticated usergetProject: Get details for a specific projectsearchProjects: Search for projects on GitLabgetIssues: Get issues for a projectcreateIssue: Create a new issue in a projectgetPipelines: Get pipelines for a project
Google Maps Tool
The Google Maps tool provides access to the Google Maps API for geocoding, directions, and places search.
Actions:
geocode: Convert an address to geographic coordinatesreverseGeocode: Convert geographic coordinates to an addressgetDirections: Get directions between two locationssearchPlaces: Search for places using the Google Places APIgetPlaceDetails: Get details for a specific place
Memory Tool
The Memory tool provides a persistent key-value store for storing and retrieving data.
Actions:
get: Get a memory item by keyset: Create or update a memory itemdelete: Delete a memory item by keylist: List all memory items, with optional filteringsearch: Search memory items by value
Puppeteer Tool
The Puppeteer tool provides web automation capabilities for taking screenshots, generating PDFs, and extracting content from websites.
Actions:
screenshot: Take a screenshot of a webpagepdf: Generate a PDF of a webpageextract: Extract content from a webpage
Contributing
Contributions are welcome! Here's how you can extend the MCP server:
Adding a New Tool
- Create a new file in the
toolsdirectory, e.g.,tools/newtool_tool.py - Implement the tool with actions following the same pattern as existing tools
- Add the tool to the manifest in
app.py - Register the tool's blueprint in
tools/__init__.py
License
This project is licensed under the MIT License - see the LICENSE file for details.
Acknowledgements
- Model Context Protocol for the standard specification
- Flask for the web framework
- Puppeteer for web automation
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.