youfirst-mcp
Provides Google OAuth authentication for remote MCP connections, enabling secure sign-in via Google accounts.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@youfirst-mcpadd 23 and 19"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Model Context Protocol (MCP) Server + Google OAuth
This is a Model Context Protocol (MCP) server that supports remote MCP connections, with Google OAuth built-in.
Getting Started
Clone the repo & install dependencies: pnpm install
For Production
Create a new Google Cloud OAuth App:
For the Homepage URL, specify
http://localhost:8788For the Authorization callback URL, specify
http://localhost:8788/callbackNote your Client ID and generate a Client secret.
Set up a KV namespace
Create the KV namespace:
pnpm dlx wrangler kv namespace create OAUTH_KVUpdate the Wrangler file with the KV ID
Deploy & Test
You can use Cloudflare to deploy the MCP server to make it available on your workers.dev domain
npx wrangler deploy
Test the remote server using Inspector:
npx @modelcontextprotocol/inspector@latestSelect
SSEin place ofSTDIO.
Enter http://localhost:8788/sse (devlopment) or https://mcp-google-oauth.<your-subdomain>.workers.dev/sse, select Quick Refresh and hit Connect in the sidebar. Once you go through the google authentication flow (signing in via google), you'll see the list tools button, click on it to test the tools manually.
You now have a remote MCP server deployed and also working in the dev environment!
Access the remote MCP server from Claude Desktop
Open Claude Desktop and navigate to Settings -> Developer -> Edit Config. This opens the configuration file that controls which MCP servers Claude can access.
Replace the content with the following configuration. Once you restart Claude Desktop, a browser window will open showing your OAuth login page. Complete the authentication flow to grant Claude access to your MCP server. After you grant access, the tools will become available for you to use.
{
"mcpServers": {
"math": {
"command": "npx",
"args": [
"mcp-remote",
"https://mcp-google-oauth.<your-subdomain>.workers.dev/sse"
]
}
}
}Once the Tools (under 🔨) show up in the interface, you can ask Claude to use them. For example: "Could you use the math tool to add 23 and 19?". Claude should invoke the tool and show the result generated by the MCP server.
For Local Development
If you'd like to iterate and test your MCP server, you can do so in local development. This will require you to create another OAuth App on Google Cloud:
For the Homepage URL, specify
http://localhost:8788For the Authorization callback URL, specify
http://localhost:8788/callbackNote your Client ID and generate a Client secret.
Create a
.dev.varsfile in your project root with:
GOOGLE_CLIENT_ID=your_development_google_cloud_oauth_client_id
GOOGLE_CLIENT_SECRET=your_development_google_cloud_oauth_client_secretDevelop & Test
Run the server locally to make it available at http://localhost:8788
wrangler dev
To test the local server, enter http://localhost:8788/sse into Inspector and hit connect. Once you follow the prompts, you'll be able to "List Tools".
Using Claude and other MCP Clients
When using Claude to connect to your remote MCP server, you may see some error messages. This is because Claude Desktop doesn't yet support remote MCP servers, so it sometimes gets confused. To verify whether the MCP server is connected, hover over the 🔨 icon in the bottom right corner of Claude's interface. You should see your tools available there.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/vivekrp/youfirst-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server