Back to Home
MontoyaAndres icon

anju

Verified Safe

by MontoyaAndres

Overview

A monorepo platform for developing and managing AI agents through the Model Context Protocol (MCP), alongside a web frontend and a backend API for user, organization, and project management.

Installation

Run Command
npm run dev

Environment Variables

  • NODE_ENV
  • SERVER_PORT
  • MCP_PORT
  • DATABASE_URL
  • JWT_SECRET
  • GOOGLE_CLIENT_ID
  • GOOGLE_CLIENT_SECRET
  • NEXT_PUBLIC_API_URL
  • NEXT_PUBLIC_WEB_URL
  • NEXT_PUBLIC_MCP_URL

Security Notes

The overall project structure demonstrates good security practices for the main API (`apps/api`), including robust authentication via 'better-auth', role-based authorization for organization/project access, and Zod for input validation. Secrets are correctly managed via environment variables. However, the MCP server (`apps/mcp`) endpoint has a broad CORS policy (`origin: ['*']`) and does not enforce authentication/authorization using the common 'UserMiddleware.verify' or 'createAuth' methods found in the API server. While the currently implemented MCP tools and resources (`add`, `config`, `user`, `greeting`) only expose non-sensitive data (e.g., dummy user profiles) or perform simple operations, expanding its functionality to interact with sensitive data from the `@anju/db` without adding robust authentication could introduce significant vulnerabilities. The `NODE_ENV=production` hardcoded in `wrangler.toml` for `development` environment is a configuration inconsistency, but 'better-auth' correctly uses secure cookies if `NODE_ENV` is set to 'production', which it effectively is during Cloudflare deployment.

Similar Servers

Stats

Interest Score0
Security Score8
Cost ClassLow
Stars0
Forks0
Last Update2026-01-06

Tags

MCP ServerAI PlatformWeb ApplicationAPIMonorepo