MCP, MCP server
Ast Mcp Server
An MCP (Model Context Protocol) server that provides code structure and semantic analysis capabilities through Abstract Syntax Trees (AST) and Abstract Semantic Graphs (ASG).
Compatibility: Not stated.
Grade B
Minor issues only, no Medium or High. Worth a quick look at the findings below before installing.
Not a guarantee. A hygiene check of the source at the commit shown, not a security audit.
Rescanned at commit f7edf10eda9c, unchanged since the check below.
PERMISSION_DELETE_FILES SECRETS_PATH_DOTENV SECRETS_ENV_READ OBFUSCATION_FILE_OVER_READ_CAP
Why this grade
- PERMISSION_DELETE_FILES Low
Contains a call that can delete files.
ast_mcp_server/cli.py, line 59
result = subprocess.run( # noqa: S603 - SECRETS_PATH_DOTENV Low
Mentions a .env file.
ast_mcp_server/embeddings.py, line 14
# Load .env from project root - SECRETS_ENV_READ Note
Reads an environment variable whose name contains KEY, SECRET, TOKEN, PASSWORD or CREDENTIAL.
ast_mcp_server/embeddings.py, line 33
self.api_key = api_key or os.environ.get("OPENROUTER_API_KEY") - OBFUSCATION_FILE_OVER_READ_CAP Note
A file was over the read cap and was not fully read.
uv.lock, line 1
version = 1
Any High, or two or more Medium findings, give D. One Medium gives C. Low findings or a security Note give B. Each code names a finding behind the letter.
Grades are a hygiene check of the source at the commit shown, on the date checked, not a security audit or a guarantee. The free directory grades are automated. Before release, a PlugVet engineer reviews every paid report and any grade we hold back, including all F grades, against the source code and the evidence we quote.
What was checked
Plain notes from the hygiene checks.
Permissions
Concern
can delete files.
PERMISSION_DELETE_FILES
ast_mcp_server/cli.py, line 59
result = subprocess.run( # noqa: S603
ast_mcp_server/transformation_tools.py, line 76
result = subprocess.run( # noqa: S603
ast_mcp_server/transformation_tools.py, line 141
result = subprocess.run( # noqa: S603
Show more
ast_mcp_server/transformation_tools.py, line 250
result = subprocess.run( # noqa: S603
ast_mcp_server/transformation_tools.py, line 391
shutil.rmtree(self.temp_dir)
Install and update
Pass
No install-time script found, and dependencies are pinned or absent.
Network
Pass
No network call found.
Secrets
Concern
reads a credential or environment file.
SECRETS_ENV_READ SECRETS_PATH_DOTENV
ast_mcp_server/embeddings.py, line 14
# Load .env from project root
ast_mcp_server/embeddings.py, line 18
env_path = Path(__file__).parent.parent / ".env"
ast_mcp_server/embeddings.py, line 33
self.api_key = api_key or os.environ.get("OPENROUTER_API_KEY")
Show more
ast_mcp_server/neo4j_client.py, line 32
self.password = os.environ.get("NEO4J_PASSWORD", "password")
ast_mcp_server/server.py, line 379
".env",
ast_mcp_server/server.py, line 414
".env",
ast_mcp_server/server_llm.py, line 17
# Load .env from project root
ast_mcp_server/server_llm.py, line 21
env_path = Path(__file__).parent.parent / ".env"
ast_mcp_server/server_llm.py, line 36
self.api_key = api_key or os.environ.get("OPENROUTER_API_KEY")
ast_mcp_server/uss_agent.py, line 15
# Load .env from project root
ast_mcp_server/uss_agent.py, line 19
env_path = Path(__file__).parent.parent / ".env"
ast_mcp_server/uss_agent.py, line 108
self.api_key = api_key or os.environ.get("OPENROUTER_API_KEY")
Agent instructions
Pass
No instruction to ignore earlier instructions or to hide a step.
Obfuscation
Note
a file was over the read cap and was not fully read.
OBFUSCATION_FILE_OVER_READ_CAP
uv.lock, line 1
version = 1
Licence
Pass
A licence file is present (LICENSE).
Maintainer activity
Pass
The latest commit is within the last 365 days.
Note
Hygiene check of commit f7edf10eda9c. can delete files. reads a credential or environment file. a file was over the read cap and was not fully read.
Date and source
Date checked:
github.com
Commit graded: f7edf10eda9c96c89e40b49161aa072430746e12
This link goes to the original host. PlugVet does not host or check what you download from there, and installing it is your own decision and risk.