Creating Remote MCP Server with MCP Proxy A developer published a walkthrough for running a remote Model Context Protocol server built with FastMCP and backed by an SQLite database, then bridging it to the local Claude Desktop app through the mcp-proxy tool. The server uses HTTP with Server-Sent Events so streamed query results reach Claude Desktop as if the database were local, and a READ_ONLY flag blocks insert, update and delete queries. The sample code is hosted in a public GitHub repository. The Model Context Protocol MCP is a standard for organizing contextual data used by Large Language Models LLMs . Instead of relying only on plain prompts, MCP structures key information — like user identity, goals, memory, and tools — so models can act more consistently across sessions, apps, and environments. This guide walks through running a sample MCP server built with FastMCP, backed by an SQLite database, and bridging it to your local Claude Desktop application using a local mcp-proxy . By the end, you'll have a remote MCP server exposing natural-language-powered database endpoints that Claude Desktop can query directly. The code for the MCP server and the sample SQLite database is available in this GitHub repository https://github.com/vultr-marketing/code-samples/tree/main . To set up the server remotely, follow the steps below in your system terminal. 1. Deploy an Ubuntu server. 2. Clone the GitHub repository: bash $ git clone https://github.com/vultr-marketing/code-samples.git 3. Navigate into the mcp sqlite sse directory: bash $ cd code-samples/mcp/mcp sqlite sse 4. Create a .env file: bash $ nano .env 5. Add the following variables to the file: DB PATH=sample.db MCP PORT=8080 READ ONLY=true DB PATH : Path to your SQLite database file. MCP PORT : Port used by the MCP server not used in stdio mode, but good to define . READ ONLY : Set to true to block insert/update/delete queries for safety. Save and close the file. 6. Install dependencies: bash $ pip3 install -r requirements.txt 7. Allow incoming connections to port 8080 : bash $ ufw allow 8080 8. Run the MCP server: bash $ python3 server.py The server script launches a Model Context Protocol MCP server using FastMCP and connects it to a local SQLite database. It enables structured interaction with the database using natural language, typically via an LLM interface. http with Server-Sent Events SSE The server uses the http transport layer to communicate over standard web protocols, which is ideal for remote deployment on any cloud instance. It supports Server-Sent Events SSE , a feature that enables real-time, streamed responses from the server to your local Claude Desktop app via mcp-proxy . SSE is a core part of live interaction between Claude and your remote MCP server. It ensures that streamed responses like query results or multi-step outputs arrive smoothly and in real-time. This design allows Claude Desktop to interact with your database seamlessly, as if the server were running locally. The SSE implementation is lightweight and handled within the FastAPI-based backend exposed by FastMCP. Download the Claude Desktop application https://claude.ai/download . It automatically detects MCP servers defined in its configuration file and makes them accessible for use within any conversation. 1. Install the mcp-proxy dependency on your local system: bash $ uv tool install mcp-proxy 2. Get the path to the installed dependency: bash $ where mcp-proxy Copy the path to be used later. 3. Start the Claude Desktop application. 4. Locate the settings option in the application. 5. Select Developer settings. 6. Click Edit Config. 7. Add the following configuration snippet to your Claude Desktop config file: { "mcpServers": { "remote-fastmcp": { "command": "