Skip to main content
Glama
CodeClarity Service - MCP

CodeClarity Service - MCP

Official
by scadra

Secure your software empower your team.

License


CodeClarity Service - MCP

An MCP server that lets an AI assistant read a CodeClarity organization's results. It reaches the instance only through the API, with an Organization token.

Usage

An organization admin creates an Organization token of scope read on the instance's Organization tokens page. The server reads the same variables as the codeclarity CLI and speaks MCP over stdin and stdout.

docker build -f .cloud/docker/Dockerfile -t codeclarity-mcp .
claude mcp add codeclarity \
  -e CODECLARITY_URL=https://codeclarity.example.com/api \
  -e CODECLARITY_ORG=<organization id> \
  -e CODECLARITY_TOKEN=ccot_... \
  -- docker run --rm -i -e CODECLARITY_URL -e CODECLARITY_ORG -e CODECLARITY_TOKEN codeclarity-mcp

Without Docker, Node 22 or later runs it: pnpm install && pnpm build, then node dist/main.js in place of docker run ....

Every tool only reads:

Tool

What it returns

whoami

the organization the token reads, and how many projects it has

  • Logs go to stderr as JSON; stdout carries only MCP messages.

  • The server exits with code 1, naming every missing variable, when one of the three is not set.

  • An instance with a private CA: point NODE_EXTRA_CA_CERTS at the CA certificate.

Related MCP server: gitmoru

Development

pnpm install
pnpm test          # vitest
pnpm lint:check    # eslint, with the api's rules
pnpm type-check
pnpm build         # CommonJS in dist/

Contributing

If you'd like to contribute code or documentation, please see CONTRIBUTING.md for guidelines on how to do so.

Reporting Issues

Please report any issues with the setup process or other problems encountered while using this repository by opening a new issue in this project's GitHub page.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      B
      quality
      D
      maintenance
      Enables AI assistants to inspect FOSSA organizations and answer software composition analysis questions through a read-only MCP server.
      100
      1
      Apache 2.0
    • A
      license
      A
      quality
      B
      maintenance
      Enables AI to read and analyze repository incident scan results, including file diffs and summaries, to help investigate suspicious changes. It is read-only and does not execute code or send data externally.
      11
      11 npm
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables AI agents to read protected computers and their check-ins, computer groups, approval requests, the unified audit log, and child organizations through a zero-trust endpoint security portal API. Every operation is read-only, with credentials supplied per request as headers and never stored.
      Apache 2.0