Back to Home
chief-builder icon

mcp-reference-server

Verified Safe

by chief-builder

Overview

An AI agent server that orchestrates LLM interactions with tool execution for the Model Context Protocol (MCP).

Installation

Run Command
npx mcp-reference-server

Environment Variables

  • MCP_CURSOR_SECRET
  • ANTHROPIC_API_KEY
  • OPENROUTER_API_KEY
  • MCP_PORT
  • MCP_HOST
  • MCP_TRANSPORT
  • MCP_STATELESS_MODE
  • MCP_PAGINATION_DEFAULT
  • MCP_PAGINATION_MAX
  • MCP_REQUEST_TIMEOUT_MS
  • MCP_SHUTDOWN_TIMEOUT_MS
  • MCP_PROGRESS_INTERVAL_MS
  • MCP_DEBUG
  • MCP_LOG_LEVEL
  • MCP_AUTH0_DOMAIN
  • MCP_AUTH0_AUDIENCE
  • MCP_AUTH0_CLIENT_ID
  • MCP_M2M_CLIENT_SECRET
  • OTEL_EXPORTER_OTLP_ENDPOINT
  • OTEL_SERVICE_NAME
  • MCP_TELEMETRY_ENABLED
  • MCP_RESOURCE_URL
  • MCP_AUTH_SERVERS

Security Notes

The server implements strong input validation using Zod and JSON Schema. It includes DoS protection for HTTP (body size limit) and stdio (line length limit). OAuth and PKCE implementations use Node.js crypto's timing-safe comparisons. JWT signature verification uses the `jose` library. However, the default HTTP transport configuration allows all CORS origins (`allowedOrigins: ['*']`), which is explicitly marked as 'not recommended for production' and poses a significant security risk if deployed without proper configuration. Additionally, the client-side CLI uses `shell-quote` to parse server commands, which, while safer than simple splitting, can still be a vector for command injection if '--server' arguments are not fully trusted.

Similar Servers

Stats

Interest Score0
Security Score7
Cost ClassHigh
Avg Tokens500
Stars0
Forks0
Last Update2026-01-19

Tags

mcpai-agenttool-executiontypescriptllm