SmarterMCP
Business-grade MCP server that emits real operational events and metrics to power decision dashboards, pilots, and automated business systems across any cloud
SmarterMCP OAuth Platform
OAuth 2.0 authorization_code flow implementation with JWT-based authorization codes, following MCP-first architecture.
Features
- ✅ JWT authorization codes with
audandjtivalidation - ✅ One-time use codes (optional Redis-based)
- ✅ Audience validation to prevent cross-client token reuse
- ✅ MCP as single authority (no direct Odoo access)
- ✅ Full audit logging
- ✅ Automated end-to-end testing
Quick Start
# Install dependencies
pip install -r requirements.txt
# Run tests
make test-headless
# Run server
make run
Endpoints
GET /oauth/consent- Authorization consent screenPOST /oauth/token- Token exchange (code → access_token)
Environment Variables
export MCP_JWT_SECRET="your-jwt-secret"
export MCP_ACCESS_TOKEN_SECRET="your-access-token-secret"
export MCP_REFRESH_TOKEN_SECRET="your-refresh-token-secret"
Testing
# Unit tests
make test
# End-to-end tests
make test-headless
Architecture
Client App → /oauth/consent → MCP → Supabase (validate session/scopes) → Generate JWT code
Client App → /oauth/token → MCP → Verify JWT code → Generate access_token
Security
- JWT codes expire in 2 minutes
- Audience validation prevents token reuse
- JTI prevents replay attacks
- All flows audited in
audit_log
Related Servers
Remote MCP Server (Authless)
A remote MCP server deployable on Cloudflare Workers that operates without authentication.
Anima MCP Server
Connect AI coding agents to Anima Playground, Figma designs, and your team's design system. Bridge the gap between prototypes and production code.
MCP Weather
A server for fetching weather information using the OpenWeather API.
AniList
AniList MCP server for accessing AniList API data
SharePoint MCP Server
Integrates with Microsoft SharePoint, allowing interaction with documents, folders, and other SharePoint resources.
Bybit MCP Server
Access Bybit's v5 API for real-time market data, trading operations, and account information.
OpenAI
A server for interacting with the OpenAI API. Requires an API key.
Umbrix MCP Server
An MCP server for the Umbrix CTI platform, providing AI-powered threat intelligence.
ConnectWise API Gateway
A comprehensive interface for interacting with the ConnectWise Manage API.
Mindbody MCP Server
Interact with the Mindbody API for managing fitness and wellness studios.