---
title: "Bringing MCP to the Cloud"
url: https://daily.dev/posts/bringing-mcp-to-the-cloud-3k2mls4h7
source_url: https://neon.com/blog/bringing-mcp-to-the-cloud
type: article
source: "Neon"
published: 2026-07-09T06:57:35.800Z
updated: 2026-07-09T06:59:13.942Z
tags: ["postgresql", "mcp", "oauth", "server-sent-events"]
reading_time: 8
upvotes: 0
comments: 0
language: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Bringing MCP to the Cloud

**[Neon](https://daily.dev/sources/neontech)** · 8 min read · 0 upvotes · 0 comments

## Summary

Neon has released a remote MCP (Model Context Protocol) server that allows AI agents to manage Neon Postgres resources via natural language without requiring local installation or manual API key management. The post details the technical implementation: Server-Sent Events (SSE) over HTTP for bi-directional communication between AI clients and the server, and an OAuth 2.1 authorization flow where the MCP server acts as both an OAuth client (to Neon) and an OAuth server (to MCP clients). The architecture uses Express.js, the mcp-remote package to bridge stdio-based clients, PKCE for security, and Keyv for persistent token storage. The server is deployed on Fly.io at mcp.neon.tech. Known limitations include a Node.js dependency via mcp-remote and occasional OAuth refresh token handling issues in MCP clients.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://neon.com/blog/bringing-mcp-to-the-cloud>

---

Tags: [#postgresql](https://daily.dev/tags/postgresql), [#mcp](https://daily.dev/tags/mcp), [#oauth](https://daily.dev/tags/oauth), [#server-sent-events](https://daily.dev/tags/server-sent-events)

[View this post on daily.dev](https://daily.dev/posts/bringing-mcp-to-the-cloud-3k2mls4h7)
