Skip to main content
Glama
@cognium/mcp-server

@cognium/mcp-server

Official
by cogniumhq

cognium-mcp

The cognium command line, the MCP server and the editor plugins for the open-source checking engine behind Cognium Autonomous Loop. Use the engine from your terminal, your CI, or your coding agent: Claude Code, Cursor, Claude Desktop or any other MCP client.

npm install -g cognium
cognium scan ./src

Cognium Autonomous Loop is in early access: join the waitlist at cognium.net. The open-source checking engine runs today.

What

Where

cognium

The one CLI: scan, metrics, sbom, deps, graph facts, recheck, and cognium mcp. Replaces cognium-dev and the cognium-ai command line (migrating)

npm

@cognium/mcp-server

MCP server for Cursor, Claude Desktop, Claude Code and any other MCP client

npm

cognium-dev plugin

Skills, rules, commands and an agent, wired to the server

Cursor and Claude Code marketplaces, from this repository

The server

cognium mcp starts the same server.

npx -y @cognium/mcp-server

It speaks MCP over stdio and serves seventeen deterministic static-analysis tools built on circle-ir: scan a project, list entry points and reachable sinks, trace taint paths, explain a finding, check a sanitizer. No API key, no network, no model.

The same package is also a library, so a host can mount the server over its own transport:

import { createServer } from '@cognium/mcp-server';

const { server } = await createServer();
await server.connect(transport);

Optional tool modules are loaded when they are installed next to the server. circle-ir-ai ships one, circle-ir-ai/mcp, which adds ten more tools. A module built against a different circle-ir minor is refused, on stderr and to the client (the server's capabilities and instructions), and the seventeen built-in tools keep serving.

Client configuration, the environment variables and the licence states are in the package README.

Related MCP server: ARGUS

What this repository promises

The tool list and its schemas are the API. A removed or renamed tool, or a changed schema, is a major version; a new tool or field is a minor. A first outputSchema on a tool that had none counts as a new field; once declared, removing or changing it is a major. CI holds that, and the other promises, as separate checks:

Check

Holds

one answer

the same requests get byte-identical responses over stdio and over streamable HTTP

three states

the expected tool list and startup lines with and without a module, an endpoint and a licence token

module refusal

a module on another circle-ir minor is refused and the built-in tools serve

protocol

the handshake, valid JSON Schema for every tool, and no side effects on import

manifest

what the tarball contains, and that it carries only the MIT licence

install

a packed build installs into an empty directory and serves the same tools as its base (a pull request) or the last release (a release)

pin check

circle-ir is pinned exactly, resolved once, and named in the changelog

self-scan

a published release of the scanner finds nothing high or critical in the server's own source, beyond a short, checked list of known false positives

Development

npm install
npm run build
npm test
npm run lint
npm run check:pins

Node.js 20.19 or newer. See CONTRIBUTING.md and RELEASING.md.

Where the engine lives

The analysis itself is circle-ir, in the cognium-dev repository. The server lived there until 0.2.0 and moved here with its history; issue numbers in older commits and changelog entries refer to that repository. The cognium CLI was ported here from cognium-dev's packages/cli at 4.24.0; cognium-dev forwards to it from its last release.

License

MIT. See LICENSE.

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
      Not graded
      quality
      C
      maintenance
      Enables scanning of AI agent code for security vulnerabilities such as prompt injection, tool abuse, and data exfiltration, directly from MCP-compatible clients like Claude Code.
      3
      LGPL 3.0
    • F
      license
      B
      quality
      C
      maintenance
      Enables AI agents to perform comprehensive, zero-infrastructure codebase analysis through 24 MCP tools, covering security, quality, architecture, type safety, git history, and dead code detection with high precision and local privacy.
      45
      -
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables local, zero-egress MCP clients to scan codebases for post-quantum cryptography and structural issues, inspect standards constraints, verify dependency and candidate-fix safety, generate CycloneDX CBOMs, and map cryptographic assets to compliance mandates before commit or in CI.
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables any MCP client to run offline, deterministic code security audits over allowed local folders or whitelisted Git repositories, returning risk-ranked issues with AST-verified file:line locations, evidence, and remediation. Also exposes file viewing, tree listing, AST parsing, scanner execution, git diffing, and async audit polling so agents can triage findings without launching a separate UI.
      1
      MIT