Back to Home
Pavel-K-Group icon

Mcp-Server

Verified Safe

by Pavel-K-Group

Overview

Facilitates integration of modular AI tools with client applications using the Model Context Protocol, specifically for productivity and task management within a 'Timelix' context.

Installation

Run Command
npm start

Environment Variables

  • TELEGRAM_BOT_TOKEN
  • TELEGRAM_CHAT_ID
  • PORT
  • DATABASE_URL
  • NODE_ENV
  • DOCKER_ENV

Security Notes

The server relies on client-provided `userId`, `agentId`, and `todoListId` in query parameters for establishing session context, which are then used directly in database queries for data filtering and ownership (`eq(block.userId, userId)`). There is no explicit in-code validation or authentication of these IDs against a trusted source (like an `mcp_access_tokens` table) during session establishment shown in `main.ts`. This means an unauthenticated client could potentially impersonate any user or access/modify unauthorized data by supplying arbitrary IDs if the server is exposed publicly without a robust authentication layer in front. Additionally, CORS is configured with `origin: '*'`, allowing requests from any domain, which is broad for a publicly exposed API. Hardcoded secrets are avoided by using environment variables. Database operations use Drizzle ORM, which helps prevent SQL injection.

Similar Servers

Stats

Interest Score0
Security Score3
Cost ClassLow
Avg Tokens200
Stars0
Forks0
Last Update2025-12-14

Tags

MCP ServerModularAI ToolsTask ManagementProductivity