auth-mcp
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Auth MCP Server
Fast, low-latency MCP server for authentication services
Optimized for real-time AI agent integration with LM Studio, Claude Desktop, and more.
π Quick Start
# 1. Clone the repository
git clone https://github.com/wattlesol/auth-mcp.git
cd auth-mcp
# 2. Install dependencies
npm install
# 3. Configure environment
cp .env.example .env
# Edit .env with your API URLs
# 4. Test the server
./test-mcp-stdio.sh
# 5. Configure your AI agent (see Configuration section below)Related MCP server: rest_api_mcp
β¨ Features
β‘ Low Latency - Direct stdio communication (< 10ms)
π§ 18 Dynamic Tools - Auto-loaded from Swagger/OpenAPI spec
π€ AI Agent Ready - Works with LM Studio, Claude Desktop, etc.
π³ Docker Support - Optional containerized deployment
π Complete Docs - Comprehensive guides and examples
π Configuration
For LM Studio
{
"mcpServers": {
"auth-mcp": {
"command": "node",
"args": ["/absolute/path/to/auth-mcp/auth-mcp"],
"env": {
"AUTH_API_BASE_URL": "https://your-auth-api.example.com",
"SWAGGER_URL": "https://your-auth-api.example.com/api-json"
}
}
}
}For Claude Desktop
Same configuration as above. Add to:
macOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows:
%APPDATA%\Claude\claude_desktop_config.json
For Qwen Coding Agent
Configuration is in .qwen/settings.json (see QWEN-SETUP.md for details)
π― Available Tools (18 Total)
The server dynamically loads tools from your Swagger/OpenAPI specification. Example tools:
Authentication & Sign In:
post_api_auth_signin- Sign in with email/passwordpost_api_auth_staff_signin- Staff sign in (branch-aware)post_api_auth_signup- Create new user accountpost_api_auth_signout- Sign out current user
User Info & Profile:
get_api_auth_me- Get current user informationput_api_auth_profile- Update user profile
OTP & Verification:
post_api_auth_otp_send- Send OTP to emailpost_api_auth_otp_verify- Verify OTP codepost_api_auth_verify_email- Verify email with OTPpost_api_auth_verify_phone- Verify phone with OTP
Password Management:
post_api_auth_forgot_request- Request password resetpost_api_auth_change_password- Change password
Token & Health:
post_api_auth_refresh_token- Refresh JWT tokenget_api_health- Health check endpoint
π Documentation
Document | Description |
π Ready-to-use configurations | |
π Get started in 3 steps | |
π§ Detailed setup guide | |
π Complete project overview | |
π MCP protocol details |
π§ͺ Testing
# Run automated tests
./test-mcp-stdio.sh
# Manual test
echo '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2024-11-05","capabilities":{},"clientInfo":{"name":"test","version":"1.0.0"}}}' | node auth-mcpποΈ Architecture
AI Agent (LM Studio/Claude)
β stdio (JSON-RPC)
Auth MCP Server (Node.js)
β HTTPS
Backend Auth API (Swagger)π Performance
Latency: < 10ms (stdio communication)
Startup: ~2 seconds (loads Swagger spec)
Memory: ~50MB (Node.js + dependencies)
Protocol: MCP 2024-11-05
π³ Docker Deployment
# Build
docker build -f Dockerfile.mcp -t auth-mcp-stdio .
# Run
docker run --rm -i --env-file .env auth-mcp-stdioπ§ Environment Variables
Copy .env.example to .env and configure:
AUTH_API_BASE_URL=https://your-auth-api.example.com
SWAGGER_URL=https://your-auth-api.example.com/api-json
AUTH_API_TIMEOUT=5000π οΈ Development
# Install dependencies
npm install
# Run HTTP server (legacy)
npm start
# Run MCP server (stdio)
npm run mcp
# Run tests
npm testπ¦ Project Structure
βββ auth-mcp # Main launcher script
βββ src/
β βββ mcp-stdio-server.js # MCP server (stdio)
β βββ api-client.js # Auth API client
β βββ swagger-client.js # Swagger API client
β βββ swagger-tools-analyzer.js # Tool generator
βββ config/
β βββ lm-studio-config.json # LM Studio config
β βββ claude-desktop-config.json # Claude Desktop config
β βββ mcp-config-docker.json # Docker config
βββ docs/ # Documentation
βββ test/ # Test files
βββ .env.example # Example environment variables
βββ package.json # Dependenciesπ€ Contributing
This is a production-ready MCP server. Feel free to:
Add more tools
Improve error handling
Add monitoring/metrics
Extend documentation
π License
ISC
π Support & Troubleshooting
Issues? Check these guides:
QWEN-SETUP.md - Qwen Coding Agent setup & troubleshooting
QWEN-TOOLS-FIX.md - Tools not showing? Read this
docs/QUICK-SETUP.md - Quick troubleshooting
docs/CONFIGURATION-GUIDE.md - Detailed help
Enable Debug Mode:
MCP_DEBUG=true node auth-mcpπ Success!
You now have a production-ready MCP server for AI agents!
Next Steps:
Configure your AI agent with the settings above
Test with: "Can you list the available authentication tools?"
Start using the tools in your AI conversations!
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogβ¦
This server cannot be deployed
Maintenance
Related MCP Connectors
MCP server connecting AI agents to 100+ apps (Gmail, Slack, Notion, GitHub) via one-click OAuth.
MCP server for building and testing AI agents with multi-model experimentation and insights.
Zero-setup MCP gateway securely connecting AI to your tools with authentication and workflows
MCP server for Sendbird β chat users, channels, members, and messages from your AI client.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceA lightweight, fast MCP server that provides onchain capabilities for the LLMs and Agents.47 npm254MIT
- AlicenseAqualityDmaintenanceA Model Context Protocol (MCP) server for authenticated REST APIs. Drop it into any project, point it at your API, and let AI agents call endpoints β with auto-login, 2FA support, Swagger spec fetch, and fuzzy endpoint search β all without writing a single line of auth code.36MIT
- AlicenseNot gradedqualityDmaintenanceMCP Server for AI agent identity and authorization. Create, verify, and manage agent identities with trust scores and scoped authorization tokens.77 PyPIMIT
- AlicenseAqualityDmaintenanceMCP server for enterprise authentication and authorization β JWT validation, OIDC token inspection, OAuth 2.0 introspection, and role-based access control for AI agents.8MIT