Back to Home
paoloricciuti icon

tmcp

Verified Safe

by paoloricciuti

Overview

A server implementation for the Model Context Protocol (MCP) to enable LLMs to access external context and tools.

Installation

Run Command
cd apps/playground && pnpm build && node dist/index.js

Environment Variables

  • TMCP_DURABLE_OBJECT
  • TMCP_SESSION_INFO
  • PGHOST
  • PGUSER
  • PGDATABASE
  • PGPASSWORD
  • PGPORT
  • REDIS_URL

Security Notes

The project uses standard development practices including TypeScript, ESLint, and Prettier, which contribute to code quality and reduce common vulnerabilities. It implements JSON-RPC 2.0 and OAuth 2.1, with an emphasis on security features like PKCE and HTTPS for OAuth. Input parsing (JSON.parse) from external sources (stdin, HTTP body) is handled within try-catch blocks. While the default CORS policy for HTTP transport is permissive (`*`), it is configurable. There are no obvious signs of 'eval', obfuscation, hardcoded production secrets, or malicious patterns in the provided source code. The LLM sampling (`server.message`) requests are initiated by the server but executed by the client, with client-side user consent and controls, mitigating direct server-side LLM cost/abuse concerns.

Similar Servers

Stats

Interest Score64
Security Score8
Cost ClassLow
Stars151
Forks9
Last Update2026-01-19

Tags

MCPLLMServerTypeScriptOAuth