---
title: "Learnings from building our public MCP server"
description: "Wealthfront built a public MCP server so users can connect their cash and investing accounts to AI applications, using Streamable HTTP transport with synchronous calls only, all capabilities exposed as tools with per-tool scope enforcement, and OAuth for authentication."
url: "https://swe.quest/articles/learnings-from-building-our-public-mcp-server-4745c00cbf09b9ab"
canonical: "https://eng.wealthfront.com/2026/11/02/learnings-from-building-our-public-mcp-server/"
source: "Wealthfront Engineering"
published: "2026-11-02"
difficulty: "medium"
kind: "Case study"
reading_minutes: 8
tags: ["ai-agents","identity-auth","api-design","payments"]
---

# Learnings from building our public MCP server

A post on [Wealthfront Engineering](https://swe.quest/sources/wealthfront.md), published 2026-11-02, 8 min read, Case study. Original: [https://eng.wealthfront.com/2026/11/02/learnings-from-building-our-public-mcp-server/](https://eng.wealthfront.com/2026/11/02/learnings-from-building-our-public-mcp-server/)

## Summary

Wealthfront built a public MCP server so users can connect their cash and investing accounts to AI applications, using Streamable HTTP transport with synchronous calls only, all capabilities exposed as tools with per-tool scope enforcement, and OAuth for authentication. For OAuth client registration they weighed Client ID Metadata Documents, which few agents support, against Dynamic Client Registration (RFC 7591), which carries abuse and DoS hardening scope. They chose user-generated client IDs bound to the creating user, trading setup friction for a faster, safer launch. Testing showed that intent-based tools beat entity-based CRUD-style tools, and that precise parameter and output descriptions prevent agents from misreading fields like an internal accountId.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [AI agents](https://swe.quest/tags/ai-agents.md) (AI & ML)
- [Identity & auth](https://swe.quest/tags/identity-auth.md) (Security)
- [API design](https://swe.quest/tags/api-design.md) (Backend & APIs)
- [Payments & fintech](https://swe.quest/tags/payments.md) (Domains)

## Prerequisites

- OAuth 2.0 authorization flows ([easy posts on Identity & auth](https://swe.quest/tags/identity-auth.md?difficulty=easy))
- Model Context Protocol basics
- JSON-RPC ([easy posts on RPC & gRPC](https://swe.quest/tags/rpc.md?difficulty=easy))

## Keywords

Model Context Protocol, OAuth, Dynamic Client Registration, Client ID Metadata Documents, Streamable HTTP, Wealthfront

## Related posts

- [Every app needs an MCP server, and you can build it with Neon](https://swe.quest/articles/every-app-needs-an-mcp-server-and-you-can-build-it-with-neon-1a5ce4eab0583eca.md): Neon · 2026-11-25 · Easy · 11 min read · AI agents, Identity & auth, Serverless, PostgreSQL
  An MCP server lets users drive an app from AI assistants like ChatGPT, Claude and Cursor through tools the app defines, which keeps authorization and validation in app code instead of exposing the UI or raw database access.
- [Bringing MCP to the Cloud](https://swe.quest/articles/bringing-mcp-to-the-cloud-de1944b558e43ff0.md): Neon · 2025-04-11 · Medium · 8 min read · AI agents, Identity & auth, API design, JavaScript
  Neon moved its MCP server from a locally spawned stdio process authenticated by a long-lived API key to a hosted server at mcp.neon.tech, using SSE for server-to-client messages and HTTP POST to a /messages endpoint routed by an in-memory session map.
- [Managed Better Auth is now an OAuth provider, with MCP support](https://swe.quest/articles/managed-better-auth-is-now-an-oauth-provider-with-mcp-support-613f00a7521407ac.md): Neon · 2026-11-02 · Medium · 5 min read · Identity & auth, AI agents, PostgreSQL
  Neon's Managed Better Auth now supports the OAuth Provider plugin, turning an auth instance into an OAuth 2.1 authorization server that both companion apps and MCP clients can use to sign users in.
- [Build "Sign in with Your App" using Supabase Auth](https://swe.quest/articles/build-sign-in-with-your-app-using-supabase-auth-a42222eedce43362.md): Supabase · 2025-12-04 · Medium · 6 min read · Identity & auth, AI agents, PostgreSQL
  Supabase Auth can now act as an OAuth 2.1 and OpenID Connect identity provider, letting a project offer "Sign in with \[Your App\]" to third-party apps, MCP-based AI agents, partner integrations and enterprise SSO.
- [Building the Hugging Face MCP Server](https://swe.quest/articles/building-the-hugging-face-mcp-server-70bae73ac8de2021.md): Hugging Face · 2025-07-10 · Medium · 8 min read · AI agents, API design, Scaling
  Hugging Face's hosted MCP server at hf.co/mcp runs in production on Streamable HTTP in a stateless, direct-response configuration.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
