Provides containerized deployment options for the Frontapp MCP server with included Dockerfile and multi-stage build process.
Handles environment variable configuration for the Frontapp MCP server, including API credentials and other settings.
Enables access to the repository containing the Frontapp MCP server for installation and deployment purposes.
Serves as the runtime environment for the Frontapp MCP server, required for installation and operation.
Used for package management and running scripts for the Frontapp MCP server installation and operation.
Provides type-safe methods for all available tools and comprehensive interfaces for interaction with Frontapp's API.
Alternative package manager that can be used for dependency management of the Frontapp MCP server.
Frontapp MCP Server
A Model Context Protocol (MCP) server for integrating Large Language Models (LLMs) with Frontapp's customer communication platform.
📚 View Full Documentation in /docs
Overview
This project implements an MCP server that acts as a bridge between LLMs and Frontapp's API. It enables LLMs to access and manipulate Frontapp data (conversations, contacts, tags, etc.) and automate Frontapp workflows using natural language commands.
The server supports real-time updates and event-driven automation using webhooks from Frontapp.
Features
Conversation Management: Retrieve, create, update, and manage conversations
Contact Management: Access and update contact information
Tag Management: Apply and remove tags from conversations
Inbox Management: Access inbox information
User Management: Retrieve user details
Webhook Integration: Receive and process real-time events from Frontapp
Secure Authentication: Verify webhook signatures and handle API authentication
Secure Credential Storage: Store sensitive information with AES-256 encryption
HTTPS Support: Secure communications with TLS/SSL encryption
Architecture
The MCP server follows a modular architecture:
API Gateway: Handles incoming requests from LLMs and webhooks from Frontapp
Request Handlers: Process requests from LLMs and interact with the Frontapp API
Webhook Handlers: Process webhooks from Frontapp and update LLM context
Frontapp API Client: Encapsulates the logic for interacting with the Frontapp API
Data Models: Define the structure of data exchanged between LLMs, the MCP server, and Frontapp
Configuration: Stores settings for the MCP server
Prerequisites
Node.js (v16 or higher)
npm or yarn
Frontapp API credentials
A publicly accessible URL for webhooks (for production use)
Installation
Installing via Smithery
To install frontapp-mcp for Claude Desktop automatically via Smithery:
For detailed installation instructions, see the Installation Guide.
Quick start:
Clone the repository:
Install dependencies:
Create and configure the
.env
file:Build and start the project:
Documentation
Comprehensive documentation is available in the /docs directory:
📖 Main Documentation - Overview and introduction
🔧 Installation Guide - Detailed setup instructions
📚 API Reference - Available tools and endpoints
🔔 Webhook Integration - Real-time event processing
🔒 Credential Storage Guide - Secure credential management
🔐 HTTPS Setup Guide - Secure communications setup
💻 Development Guide - Contributing to the project
Usage
API Usage
The Frontapp MCP integration exposes a set of tools that can be called by LLMs through the MCP protocol. For detailed information about the available tools and their parameters, see the API Reference.
Client Library
The project includes a TypeScript client library (src/frontapp-mcp-client.ts
) that LLMs can use to interact with the MCP server:
The client library provides:
Type-safe methods for all available tools
Error handling with custom error handlers
Retry logic with exponential backoff
Comprehensive TypeScript interfaces
A complete example of client usage is available in src/examples/client-usage-example.ts
.
Webhook Integration
The integration supports receiving and processing webhooks from Frontapp for real-time event notifications. For detailed information about webhook integration, see the Webhook Integration Guide.
Development
For detailed development information, see the Development Guide.
Quick Development Commands
Docker Deployment
The project includes a Dockerfile for containerized deployment. This multi-stage build process creates an optimized production image.
Building the Docker Image
Docker Build Troubleshooting
If you encounter TypeScript errors during the Docker build process, they need to be fixed before the build can succeed. Common issues include:
Type errors in webhook handlers (see the TypeScript Type Safety section in the Development Guide)
Missing type assertions for potentially undefined values
Improper handling of optional properties
Always run npm run typecheck
or npm run build
locally before building the Docker image to catch and fix these issues early.
Security Considerations
Store API credentials securely using the credential manager with AES-256 encryption
Generate strong encryption keys using the provided script:
npm run generate-key
Enable HTTPS for all communications using the built-in HTTPS support
Generate self-signed certificates for development:
npm run generate-cert
Use certificates from trusted certificate authorities for production
Verify webhook signatures to ensure they come from Frontapp
Implement rate limiting to prevent abuse
Validate all incoming data to prevent injection attacks
License
This project is licensed under the MIT License - see the LICENSE file for details.
Contributing
Contributions are welcome! Please see the Development Guide for information on how to contribute to the project.
Acknowledgements
This server cannot be installed
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
A Model Context Protocol server that integrates LLMs with Frontapp's customer communication platform, enabling access to conversations, contacts, and tags while supporting real-time updates via webhooks.
Related MCP Servers
- AsecurityAlicenseAqualityA Model Context Protocol server that enables LLMs to interact with Salesforce data through SOQL queries, SOSL searches, and various API operations including record management.Last updated -10138MIT License
- -securityAlicense-qualityA Model Context Protocol Server that enables LLMs to interact with and execute REST API calls through natural language prompts, supporting GET/PUT/POST/PATCH operations on configured APIs.Last updated -6Apache 2.0
- -securityAlicense-qualityA Model Context Protocol server that enables LLMs to interact with databases (currently MongoDB) through natural language, supporting operations like querying, inserting, deleting documents, and running aggregation pipelines.Last updated -MIT License
- -securityAlicense-qualityA Model Context Protocol server that enables large language models to interact with Linear's issue tracking system, allowing management of issues, projects, teams, and other Linear resources.Last updated -24MIT License