mcp-server
Verified Safeby harness
Overview
Provides dynamic, license-aware tool filtering and authorization for JSON-RPC requests to an MCP (Management Control Plane) server, integrating with various Harness platform services and AI/ML capabilities.
Installation
go run ./cmd/harness-mcp-serverEnvironment Variables
- HARNESS_ACCOUNT_ID
- HARNESS_API_KEY
- HARNESS_BASE_URL
- HARNESS_LICENSE_BASE_URL
- HARNESS_LICENSE_SECRET
- LOG_SERVICE_URL
- LOG_SERVICE_SECRET
- LICENSE_CACHE_TTL
- LICENSE_CACHE_CLEAN_INTERVAL
- SERVER_PORT
- DEBUG_LOGGING_ENABLED
- INTERNAL_MODE_ENABLED
Security Notes
The server employs robust HTTP client practices with retry logic, explicit authentication via API keys or JWTs, and structured DTOs. The core tool filtering middleware is a crucial security control point for authorization. The `addQueryParams` function handles URL encoding specifically for Java backend compatibility, which requires careful implementation but isn't inherently insecure. OpenTelemetry tracing is implemented for observability. No 'eval' or obvious obfuscation/malicious patterns were found within the provided Go source code. Secrets are expected to be configured externally, not hardcoded.
Similar Servers
mcp-k8s
A Kubernetes MCP (Model Control Protocol) server that enables natural language interaction with Kubernetes clusters and Helm for resource and release management.
mcp-servers
An MCP Server for robust web content fetching, anti-bot bypassing, intelligent caching, and LLM-powered information extraction from the open internet, designed for agent-building frameworks and MCP clients.
mcp-devcontainers
Provides a Model Context Protocol (MCP) server for integrating with the devcontainers CLI to manage development container environments.
console-mcp-server
The Mia-Platform Console MCP Server provides integration with Mia-Platform Console APIs to enable advanced automation and interaction capabilities for developers and tools via the Model Context Protocol (MCP).