Company Documents MCP Server

Company Documents MCP Server

Manages company document metadata and URLs in a local SQLite database, with automatic summarization via Mistral OCR and Chat Completions API.

Category
Visit Server

README

Company Documents MCP Server

This is a containerized Model Context Protocol (MCP) server designed to connect with Mistral agents. It manages a local SQLite database that stores company document metadata and URLs (e.g., Azure Blob Storage), and can automatically generate summaries using the Mistral OCR and Chat Completions API.

Requirements

  • Docker (for containerized deployment)
  • Python 3.12 (for local development)
  • A Mistral API Key (for document summarization)

How to Run (with Docker)

This is the recommended way to run the project.

1. Build the Docker Image:

docker build -t company_doc_mcp_server .

2. Configure your Environment Variables: Open the .env file located in the project directory and insert your actual MISTRAL_API_KEY:

MISTRAL_API_KEY=your_actual_key_here
MCP_TRANSPORT=sse

3. Run the Container: Pass the .env file to Docker using the --env-file flag.

Option A: Standard stdio (for local agents)

docker run -d \
  --name mcp_server \
  -v ~/mcp_data:/data \
  --env-file .env \
  company_doc_mcp_server

Option B: Server-Sent Events (SSE) (for remote HTTP connections, e.g., remote Mistral instances)

docker run -d \
  --name mcp_server \
  -v ~/mcp_data:/data \
  -p 8000:8000 \
  --env-file .env \
  company_doc_mcp_server

(Note: The -v ~/mcp_data:/data flag mounts a persistent folder on your host machine to store the SQLite database so it isn't lost when the container stops).

How to Run (Local Development / Without Docker)

If you just want to run it via standard Python on your machine:

1. Create a virtual environment and install dependencies:

python -m venv venv
# On Windows: venv\Scripts\activate
# On Mac/Linux: source venv/bin/activate
pip install -r requirements.txt

2. Set your API Key:

# On Windows PowerShell
$env:MISTRAL_API_KEY="your_mistral_api_key_here"

# On Mac/Linux
export MISTRAL_API_KEY="your_mistral_api_key_here"

3. Run the Server:

python src/server.py

(Optionally set $env:MCP_TRANSPORT="sse" before running if you want HTTP instead of stdio).

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
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
E2B

E2B

Using MCP to run code via e2b.

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