@devfellowship/dfl-auth
v1.0.0
Published
DevFellowship MCP Authentication CLI - Authenticate with Supabase for MCP clients
Maintainers
Readme
dfl-auth
DevFellowship MCP Authentication CLI - Authenticate with Supabase for MCP clients.
Installation
# Run directly with npx (no installation needed)
npx dfl-auth <command>
# Or install globally
npm install -g dfl-authQuick Start
# 1. Configure your Supabase project
npx dfl-auth configure
# 2. Login with your credentials
npx dfl-auth login
# 3. Check status
npx dfl-auth statusCommands
configure
Configure the Supabase project to connect to.
# Interactive mode
npx dfl-auth configure
# With options
npx dfl-auth configure -p <project-id> -k <anon-key> -n "Project Name"Options:
-p, --project-id <id>- Supabase project ID (e.g., abc123xyz)-k, --anon-key <key>- Supabase anonymous key-n, --name <name>- Friendly name for the project (optional)
config
Show current project configuration.
npx dfl-auth configlogin
Authenticate with email/password.
npx dfl-auth loginlogout
Remove stored credentials.
npx dfl-auth logoutstatus
Check project and authentication status.
npx dfl-auth statusrefresh
Refresh an expired access token.
npx dfl-auth refreshStorage
Configuration and credentials are stored in ~/.dfl-mcp/:
| File | Description |
|------|-------------|
| project.json | Supabase project configuration |
| credentials.json | Authentication tokens |
Both files are created with restricted permissions (readable only by owner).
MCP Client Configuration
After authentication, configure your MCP client to use the saved credentials:
Claude Desktop
{
"mcpServers": {
"devfellowship": {
"type": "http",
"url": "https://mcp.devfellowship.com/mcp",
"headers": {
"Authorization": "Bearer ${file:~/.dfl-mcp/credentials.json:access_token}"
}
}
}
}VS Code / Continue
{
"mcpServers": {
"devfellowship": {
"transport": {
"type": "sse",
"url": "https://mcp.devfellowship.com/mcp",
"headers": {
"Authorization": "Bearer <your_access_token>"
}
}
}
}
}Requirements
- Node.js 20.0.0 or higher
- A Supabase project with authentication enabled
License
MIT
