Back to Home
cloudwego icon

abcoder

by cloudwego

Overview

Starts a Model Context Protocol (MCP) server that provides AST reading tools for code analysis, integrable with AI clients like Claude Code.

Installation

Run Command
abcoder mcp ./asts/

Environment Variables

  • API_TYPE
  • API_KEY
  • MODEL_NAME
  • BASE_URL
  • NODE_OPTIONS
  • JDTLS_ROOT_PATH

Security Notes

The server frequently uses `exec.Command` to run external tools (LSP servers, npm, go, cargo, mvn) in user-provided repository directories. A malicious repository could contain build configuration files (e.g., `Cargo.toml`, `pom.xml`, `package.json`, `go.mod`) designed to execute arbitrary commands during parsing or setup. This is a significant supply chain and command injection risk. Downloads of LSP servers and npm packages also introduce supply chain integrity concerns.

Similar Servers

Stats

Interest Score69
Security Score4
Cost ClassHigh
Avg Tokens500000
Stars315
Forks43
Last Update2026-01-16

Tags

AST parsingMulti-languageAI agentMCP serverCode analysis