Back to Home
1mcp-app icon

agent

Verified Safe

by 1mcp-app

Overview

The 1MCP agent acts as a proxy for the Model Context Protocol, managing various MCP servers, enabling application configuration consolidation, and providing tools for registry interaction and preset management.

Installation

Run Command
npx @1mcp/agent serve

Environment Variables

  • ONE_MCP_LOG_LEVEL
  • ONE_MCP_CONFIG
  • ONE_MCP_HOST
  • ONE_MCP_PORT
  • ONE_MCP_EXTERNAL_URL
  • HTTPS_PROXY
  • HTTP_PROXY
  • LOG_LEVEL

Security Notes

The project demonstrates a strong focus on security, implementing multiple layers of defense. It utilizes `secureLogger` for redacting sensitive information (e.g., API keys, tokens) from logs and output. Input validation and sanitization (via `sanitization.ts`) are extensively used for names, URLs, headers, and environment variables to prevent common vulnerabilities like injection and path traversal. File system operations for backups, configuration, and OAuth session persistence (`FileStorageService`) include explicit access checks, directory creation, and ID validation to prevent malicious file access. The OAuth implementation incorporates rate limiting (`express-rate-limit`) and security middleware (`securityMiddleware.ts`) to detect suspicious patterns and introduce anti-timing attack delays. While there's a minor internal hack accessing a private SDK property (`_initialized` in `RestorableStreamableHTTPServerTransport`), it does not pose a direct server vulnerability. The use of `child_process.spawn` is present but appears to be for controlled operations on trusted binaries (e.g., `npx @1mcp/agent`).

Similar Servers

Stats

Interest Score74
Security Score9
Cost ClassLow
Stars291
Forks36
Last Update2025-12-01

Tags

Model Context ProtocolCLIServer ManagementRegistryApplication IntegrationPresetsProxy