vielhuber

๐Ÿ“Ÿ codemcp ๐Ÿ“Ÿ

Community vielhuber
Updated

๐Ÿ“Ÿ An agentic coding mcp. ๐Ÿ“Ÿ

GitHub TagCode StyleLicenseLast CommitPHP Version SupportPackagist Downloads

๐Ÿ“Ÿ codemcp ๐Ÿ“Ÿ

codemcp is a small mcp server that exposes agentic coding through codex and claude code. it does not reimplement a coding agent, it forwards normalized MCP tools to the closest official agent interface:

  • Codex via codex mcp-server
  • Claude Code via claude -p / claude --resume

installation

install once with composer:

composer require vielhuber/codemcp

then add this to your files:

require __DIR__ . '/vendor/autoload.php';
use vielhuber\codemcp\codemcp;

setup

codemcp reads configuration from the .env in your project root.

CODEMCP_PROVIDER=codex
CODEMCP_WORKDIR=/app

MCP_TOKEN=

Claude Code also has claude mcp serve, but that exposes Claude Code's tools to another MCP client. For running Claude Code as the coding agent, codemcp uses print/resume mode.

codemcp expects codex and claude in the local node_modules/.bin directory of the project where the MCP server is started.

usage

$code = codemcp::create();

$result = $code->start(
    prompt: 'Review this project and list the highest-risk bugs.',
    workdir: '/app',
    provider: 'codex'
);

print_r($result);

mcp server

codemcp ships as a standalone MCP server:

vendor/bin/mcp-server.php

available tools:

  • start(prompt, workdir?, provider?)
  • continue(session_id, prompt)
  • status(session_id?)
  • providers()

tests

vendor/bin/phpunit

MCP Server ยท Populars

MCP Server ยท New

    frankchu91

    MindBase โ€” Karpathy's LLM Wiki, as a product

    Karpathy's LLM Wiki idea as a product โ€” an AI that builds and maintains a markdown wiki from your notes and sources. MCP server + web UI, runs on free local models (Ollama), no API key needed. MIT.

    Community frankchu91
    aakarim

    ๐Ÿ“œ OpenLore

    A minimal, extensible, agent-native knowledge base that keeps shared context current and inspectable

    Community aakarim
    sv-grid

    @svgrid/mcp

    Native Svelte 5 data grid. Headless-first engine + drop-in render component. Row + column virtualization (1M rows), Excel-style filters, inline editing, grouping, pivot, server-side data. MIT core (@svgrid/grid), MCP server for Claude / Cursor. https://svgrid.com

    Community sv-grid
    cinderline

    NorthCinder

    Buyer-run, ad-neutral shopping-agent MCP software with deterministic ranking, signed purchase mandates, and a local audit trail.

    Community cinderline
    amanhij

    Zikkaron

    Biologically-inspired persistent memory engine for Claude Code. 26 cognitive subsystems, Hopfield networks, predictive coding, causal discovery, successor representations, all running locally over SQLite.

    Community amanhij