Back to Home
akhenakh icon

codemcp

Verified Safe

by akhenakh

Overview

Provides structural code search for Go codebases, integrating AST analysis and Gopls for AI agents via the Model Context Protocol.

Installation

Run Command
codemcp

Security Notes

The server correctly restricts file access for the `read_file` tool to explicitly allowed directories (project root, Go Module Cache, Go Standard Library) using `isAllowedPath` checks and path sanitization, preventing arbitrary file system access. It spawns trusted system commands (`gopls`, `go env`, `git ls-files`) as subprocesses. No 'eval' or hardcoded secrets were found, and it communicates over stdio, limiting external network attack surfaces.

Similar Servers

Stats

Interest Score0
Security Score9
Cost ClassMedium
Avg Tokens2000
Stars0
Forks0
Last Update2026-01-17

Tags

GoAI AgentCode SearchLSPAST