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
Похожие серверы
Cloudflare to GitHub Backup MCP Server
Backs up Cloudflare projects to a specified GitHub repository.
Cloudflare DNS
Manage Cloudflare DNS records for your domains.
YouTube Vision
Interact with YouTube videos using the Google Gemini Vision API.
OSDU MCP Server
Access OSDU platform capabilities including search, data management, and schema operations.
Google Admin MCP
A Model Context Protocol (MCP) server enabling interaction with Google Admin APIs.
Seq MCP Server
Interact with Seq's API for logging and monitoring.
Remote MCP Server on Cloudflare
An MCP server designed to run on Cloudflare Workers, featuring OAuth login support for secure access.
KiotViet SDK
Access the KiotViet API, a popular sales and inventory management platform. Manage products, categories, customers, and orders with automatic authentication.
Satellite Tracking
Provides real-time satellite tracking data using the N2YO API.
Gemini
Provides access to Google Gemini AI capabilities as tools.