Back to Home
codescene-oss icon

codescene-mcp-server

Verified Safe

by codescene-oss

Overview

The CodeScene MCP Server exposes CodeScene's Code Health analysis as local AI-friendly tools to augment AI prompts with code quality insights.

Installation

Run Command
docker run -it --rm -p 5000:5000 -e CS_ACCESS_TOKEN="YOUR_CODE_SCENE_TOKEN" -e CS_MOUNT_PATH="$(pwd)" -v "$(pwd):/mount" codescene/codescene-mcp

Environment Variables

  • CS_ACCESS_TOKEN
  • CS_ONPREM_URL
  • CS_ACE_ACCESS_TOKEN
  • CS_MOUNT_PATH
  • CS_DEFAULT_PROJECT_ID
  • REQUESTS_CA_BUNDLE
  • SSL_CERT_FILE
  • CURL_CA_BUNDLE

Security Notes

The server primarily acts as an intermediary, executing the local CodeScene CLI and calling CodeScene APIs. It uses `subprocess.run` to execute external commands, which is inherent to its functionality but generally well-controlled by the application logic. API tokens are expected from environment variables, and no hardcoded secrets were found. Path adaptation for Docker environments is implemented with checks to prevent unintended access. No obvious malicious patterns or obfuscation were observed. The primary security risk involves proper configuration of access tokens and host path mounts in Docker environments.

Similar Servers

Stats

Interest Score41
Security Score9
Cost ClassMedium
Avg Tokens3000
Stars15
Forks0
Last Update2026-01-19

Tags

Code HealthAI AssistantTechnical DebtCode QualityRefactoring