VibeLogin MCP server for adding authentication from an IDE chat

VibeLogin MCP server for adding authentication from an IDE chat

mcp-vibelogin•byvibelogin

An MCP server that lets coding agents create VibeLogin projects, configure auth methods such as email/password and Google OAuth, and scaffold a sign-in flow into supported frameworks.

License: Apache-2.0•Runtime: Awaiting documentation review•Category: auth security

WHAT IT DOES

  • •Creates and lists VibeLogin projects in an organization, returning project identifiers, environment, and publishable and secret keys.
  • •Configures auth methods such as email/password, magic links, email OTP, password reset, email verification, and Google OAuth, plus redirect URLs.
  • •Scaffolds working sign-in files into a codebase by detecting the framework, skipping existing files rather than overwriting them.
  • •Authenticates through a browser consent flow on first use and caches credentials for 30 days.

BEST FOR

  • •Developers who want a coding agent to add sign-in to a Next.js or Vite + React app directly from the editor chat.
  • •Teams that want agents to inspect and manage existing VibeLogin projects and their auth settings.

ABOUT MCP-VIBELOGIN

VibeLogin MCP server for adding authentication from an IDE chat is cataloged as an MCP server attributed to vibelogin. An MCP server that lets coding agents create VibeLogin projects, configure auth methods such as email/password and Google OAuth, and scaffold a sign-in flow into supported frameworks. It is categorized under auth security. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: Apache-2.0. Check the source repository's current license and terms before using, modifying or distributing this software.

Capability inspector

Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.

Tools (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Resources (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Prompts (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for VibeLogin MCP server for adding authentication from an IDE chat are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

Which frameworks can the scaffolding tool write sign-in flows for?

Next.js App Router and Vite + React are fully supported; Remix, Astro, and Express are refused with guidance.

Will scaffolding overwrite existing files in my project?

No. It writes non-destructive files and skips existing files rather than clobbering them.

How are credentials secured?

Authentication uses loopback OAuth with PKCE, single-use authorization codes with a 2-minute TTL, rotated refresh tokens, and credentials stored with restricted permissions.

Upstream README

View this exact version on GitHub

README.md · 521101c18d51 · Fetched 2026-11-13 12:04:21 UTC

Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.

Showing the last retrieved documentation snapshot; check the source for current changes.

@vibelogin/mcp

Add authentication to your app without leaving your IDE. MCP server for Cursor, Claude Code, Windsurf, and Cline.

Just say "add authentication to my app" — the agent creates your project, configures auth methods, wires up Google OAuth, and scaffolds a working sign-in flow into your codebase. All from your editor's chat.


Install

No global install needed. Wire it into your MCP client config once and it runs on demand via bunx.


Client configuration

One snippet works in every client. Paste this into your MCP settings and you're done.

{
  "mcpServers": {
    "vibelogin": {
      "command": "bunx",
      "args": ["@vibelogin/mcp"]
    }
  }
}

The first tool call opens a browser for one-click consent. After that, tokens are cached under ~/.vibelogin/credentials.json — you won't be asked to log in again for 30 days.

Claude Desktop / Claude Code

~/Library/Application Support/Claude/claude_desktop_config.json (macOS):

{
  "mcpServers": {
    "vibelogin": {
      "command": "bunx",
      "args": ["@vibelogin/mcp"]
    }
  }
}

Cursor

~/.cursor/mcp.json (or per-project .cursor/mcp.json):

{
  "mcpServers": {
    "vibelogin": {
      "command": "bunx",
      "args": ["@vibelogin/mcp"]
    }
  }
}

Windsurf / Cline / Zed

Same shape — every MCP client accepts a command + args block. The one-liner above works in all of them.

That's it — no environment variables needed. Defaults point to production automatically.


Authentication

On first use, a browser window opens for one-click consent. After that, you're authenticated for 30 days — no further prompts.


Tools

The agent picks the right tools automatically based on your conversation. Just say what you need.

create_project

Creates a new VibeLogin project in your org. Returns the project's id, slug, oauthSlug, environment, publishable key, and secret key (shown once).

ParamTypeRequiredDescription
namestringyesHuman-readable project name.
slugstringnoURL-safe slug; auto-generated from name if omitted.
environmentenumnoproduction | development | staging (default production).

list_projects

Lists every project in your org. Use this when the agent needs to discover what already exists before creating something new.

No parameters.

get_project

Look up a single project by id, slug, or oauthSlug.

ParamTypeRequiredDescription
idOrSlugstringyesProject id, slug, or oauthSlug.

configure_auth

Toggle auth methods, set redirect URLs, and/or wire up Google OAuth. Field-level updates — anything you don't set is left untouched.

ParamTypeRequiredDescription
projectIdstringyesThe project's id.
methods.emailPasswordbooleannoEnable email + password sign-in.
methods.magicLinkbooleannoEnable magic link emails.
methods.emailOtpbooleannoEnable 6-digit email OTP codes.
methods.passwordResetbooleannoEnable password reset emails.
methods.emailVerificationbooleannoRequire email verification on signup.
google.clientIdstringwith googleGoogle OAuth client ID (from Google Cloud Console).
google.clientSecretstringwith googleGoogle OAuth client secret.
google.enabledbooleannoDefault true.
redirectUrlsstring[]noOverwrites the project's allowed redirect URL list.

If you call this without google, the response includes the exact Google Cloud Console URL + redirect URI you need to set up the credentials.

add_auth_to_project

Scaffold a working sign-in flow into your codebase. Detects the framework from package.json and writes non-destructive files (existing files are skipped, never clobbered).

Supported frameworks today: Next.js (App Router), Vite + React. Refused with guidance: Remix, Astro, Express, unknown.

ParamTypeRequiredDescription
projectDirstringyesAbsolute path to the project root.
slugstringyesThe project's oauthSlug (from create_project).
publishableKeystringyesThe project's publishable key.
appUrlstringyesYour app's origin (e.g. https://myapp.com).

Files written for Next.js

middleware.ts                       # hostedAuthMiddleware
app/auth/callback/route.ts          # createCallbackHandler
app/login/page.tsx                  # <VibeLogin />
.env.local.example                  # publishable key + secret placeholder

Next steps printed by the tool:

  1. pnpm add @vibelogin/nextjs
  2. Copy .env.local.example → .env.local, fill VIBELOGIN_SECRET_KEY
  3. pnpm dev → open /login

Files written for Vite + React

src/auth/VibeLoginProvider.tsx      # context + useVibeLogin() hook
src/auth/Login.tsx                  # /login redirect to hosted UI
src/auth/Callback.tsx               # /auth/callback handler
.env.example                        # VITE_-prefixed publishable key

Next steps printed by the tool:

  1. pnpm add @vibelogin/react react-router-dom
  2. Wrap <App/> in <VibeLoginProvider/>
  3. Add routes /login and /auth/callback
  4. Copy .env.example → .env.local
  5. pnpm dev → open /login

Example conversations

You: "Add VibeLogin to this Next.js app. Email + password and Google sign-in."

Agent: (calls create_project { name: "myapp", environment: "production" }) Created myapp (pk_live_…). (calls configure_auth { projectId, methods: { emailPassword: true } }) Email + password enabled. To turn on Google, I need a Client ID and Secret from Google Cloud Console — here's the redirect URI to authorize: https://api.vibelogin.com/oauth/myapp-xyz/google/callback. (after you paste creds:) (calls configure_auth { google: { clientId, clientSecret } }) (calls add_auth_to_project { projectDir: ".", slug: "myapp-xyz", publishableKey: "pk_live_…", appUrl: "https://myapp.com" }) Scaffold complete (next). Wrote middleware.ts, app/auth/callback/route.ts, app/login/page.tsx, .env.local.example. Run pnpm add @vibelogin/nextjs && pnpm dev and open /login.

You: "What projects do I have already?"

Agent: (calls list_projects) You have 3: myapp (production), myapp-staging (staging), internal-tools (development).


Security

  • No secrets in the agent — authentication uses loopback OAuth + PKCE (RFC 8252)
  • Single-use authorization codes with 2-minute TTL
  • Rotated refresh tokens — every refresh invalidates the previous one
  • Credentials stored securely — chmod 600 on ~/.vibelogin/credentials.json

Supported frameworks

FrameworkStatus
Next.js (App Router)Fully supported
Vite + ReactFully supported
Remix, Astro, ExpressComing soon

License

Apache-2.0

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for VibeLogin MCP server for adding authentication from an IDE chat from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/mcp-vibelogin)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

Downloads and pulls

Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.

No reviewed package or image identity; download statistics are not listed yet.

Related auth security MCP Servers

Alternative and complementary servers in the same category

View all in auth security →

A modular FastMCP server for interacting with Microsoft Graph API, supporting advanced queries for users, sign-in logs, MFA status, and privileged users.

Repository stats unavailable
Security & Secrets
Keycloak MCP Server
keycloak-mcp-server•sshaaf

A Model Context Protocol (MCP) server that provides programmatic access to Keycloak administration functionality.

Repository stats unavailable
Security & Secrets

An MCP server for LLM-driven penetration testing that wraps Kali tools and adds scope enforcement, engagement tracking, and structured output.

Repository stats unavailable
Security & Secrets