Skip to content

feat: MCP server for AI coding agents (#207) - #242

Merged
ajianaz merged 2 commits into
developfrom
feat/207-mcp-server
Jun 10, 2026
Merged

ajianaz merged 2 commits into
developfrom
feat/207-mcp-server

Conversation

@ajianaz

@ajianaz ajianaz commented Jun 10, 2026

Copy link
Copy Markdown
Collaborator

Implements MCP (Model Context Protocol) server for Claude Code, Cursor, Copilot, Windsurf integration.

New

  • src/mcp/ module: protocol, server, tools
  • cora mcp subcommand
  • JSON-RPC 2.0 over stdio transport

Tools

Tool Description
cora.list_rules List all rules, security patterns, secret patterns
cora.check_snippet Check code snippet against deterministic scanners (no LLM)
cora.get_quality_gate Get quality gate config and thresholds
cora.get_config Get effective project config (no secrets)
cora.list_profiles List all quality profiles

Fixes

ajianaz added 2 commits June 10, 2026 09:04
MCP Server (#207):
- JSON-RPC 2.0 over stdio transport
- 5 tools: list_rules, check_snippet, get_quality_gate, get_config, list_profiles
- cora mcp subcommand
- 17 unit tests

Code Scanning fix:
- Alert #79: build_language_context_from_chunks() reuses parsed diff_chunks
  instead of calling parse_diff() a second time

Security scanner:
- Made SecurityPattern struct + PATTERNS static public for MCP access
@ajianaz
ajianaz merged commit 27d41d3 into develop Jun 10, 2026
10 checks passed
@ajianaz
ajianaz deleted the feat/207-mcp-server branch June 11, 2026 07:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant