# We've built the fastest way to create a one-click remote MCP server by mistake

DevFeed: [We've built the fastest way to create a one-click remote MCP server by mistake](<https://devfeed.tech/articles/we-ve-built-the-fastest-way-to-create-a-one-click-remote-mcp-server-by-mistake-109522.md>)

Original publisher: [Read original article](<https://appwrite.io/blog/post/one-click-remote-mcp-server-by-mistake>)

Author: Eldad Fux

Published: 2026-10-30T00:00:00Z

Content type: article

Language: en

Sources: [Appwrite Blog](<https://devfeed.tech/sources/appwrite-blog.md>)

Topics: [Back end](<https://devfeed.tech/topics/backend.md>), [implementation](<https://devfeed.tech/topics/implementation.md>), [Serverless](<https://devfeed.tech/topics/serverless.md>), [client](<https://devfeed.tech/topics/client.md>), [Remote Procedure Call (RPC)](<https://devfeed.tech/topics/rpc.md>), [OpenID connect (OIDC)](<https://devfeed.tech/topics/oidc.md>), [Server-side rendering](<https://devfeed.tech/topics/server-side-rendering.md>), [OpenAPI Specification](<https://devfeed.tech/topics/openapi.md>)

Tags: [access-tokens](<https://devfeed.tech/tags/access-tokens.md>), [agent](<https://devfeed.tech/tags/agent.md>), [agents](<https://devfeed.tech/tags/agents.md>), [ai](<https://devfeed.tech/tags/ai.md>), [ai-agent](<https://devfeed.tech/tags/ai-agent.md>), [ai-tool](<https://devfeed.tech/tags/ai-tool.md>), [ai-tools](<https://devfeed.tech/tags/ai-tools.md>), [api](<https://devfeed.tech/tags/api.md>), [auth](<https://devfeed.tech/tags/auth.md>), [authorization](<https://devfeed.tech/tags/authorization.md>), [chatgpt](<https://devfeed.tech/tags/chatgpt.md>), [claude](<https://devfeed.tech/tags/claude.md>), [claude-code](<https://devfeed.tech/tags/claude-code.md>), [cloud](<https://devfeed.tech/tags/cloud.md>), [email](<https://devfeed.tech/tags/email.md>), [mcp](<https://devfeed.tech/tags/mcp.md>), [mcp-server](<https://devfeed.tech/tags/mcp-server.md>), [oauth](<https://devfeed.tech/tags/oauth.md>), [production](<https://devfeed.tech/tags/production.md>), [remote-mcp-server](<https://devfeed.tech/tags/remote-mcp-server.md>)

## AI overview

An Appwrite project can host a remote MCP server with OAuth 2.1 authorization, consent, and user-scoped data access already integrated. The example server uses protected resource metadata and a 401 challenge for discovery, then verifies signed access tokens offline against the project's JWKS, checking issuer, the server-specific audience, token type, and scopes. Its tools are exposed only when the user's approved scopes permit them, with scope checks repeated on each call. The server can run as a Function on its own domain or as an SSR Site route; the example uses a Function and returns plain JSON per request, so streaming tools need a different design. The approach is fast because hosting, identity, and data share a project, though that consolidates those services on one platform. The OAuth2 server is currently an Appwrite Cloud feature, not available in self-hosted Appwrite. Revoking consent prevents new tokens, while already issued offline-verified tokens remain usable until expiry, one hour by default for public clients.

## Source excerpt

We built an email client on Appwrite to test a new feature, then asked an agent for a remote MCP server with OAuth 2.1. It was in production in under a minute.