Skip to main content
Glama
shareworker

@shareworker/code-review-mcp

Official
by shareworker

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
get_review_targetsA

Determine which files need review from a git diff. Applies file filtering and returns a diff_ref to pass to downstream tools.

get_file_bundleA

Group related files into review bundles (test/source pairs, i18n variants) with a 20000 char cap. Pass the diff_ref from get_review_targets.

match_rulesB

Return applicable review rules for a file path, merged into a prompt_section for the host LLM.

position_commentB

Locate a comment to precise line numbers. Text matching primary (hunk new-side → old-side → full file), hunk alignment fallback. Pass diff_ref from get_review_targets.

reflect_commentA

Deterministic validation of a positioned comment. Returns keep or drop. Does not call LLM. Three checks: line_in_hunk, existing_code_found, existing_code_in_diff.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/shareworker/code-review'

If you have feedback or need assistance with the MCP directory API, please join our Discord server