codemcp
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@codemcpstart a new coding session to review and fix bugs"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
📟 codemcp 📟
codemcp exposes agentic coding through the official harnesses of Codex and Claude Code as a small mcp server. runs are asynchronous: they execute detached, results are collected by polling — safe behind any transport timeout.
installation
composer require vielhuber/codemcpRelated MCP server: claude-code-mcp
setup
.env in the project root (only for mcps via http):
MCP_TOKEN=usage
every function below is also exposed 1:1 as an mcp tool of the same name.
$code = codemcp::create();
$session = $code->start(
prompt: 'Fix the failing tests.',
workdir: '/app',
provider: 'claude',
model: 'claude-opus-4-8',
effort: 'high'
);
$session = $code->wait(
session_id: $session['session_id'],
timeout: 120
);
$session = $code->status(
session_id: $session['session_id']
);
$code->status();
$session = $code->continue(
session_id: $session['session_id'],
prompt: 'Now also fix the linter warnings.'
);
$session = $code->stop(
session_id: $session['session_id']
);
$providers = $code->providers();When workdir is omitted, each new session gets a random isolated directory under sys_get_temp_dir()/codemcp/. An explicit directory is created recursively when it does not exist, so new projects start in their final workspace and retain folder continuity. model and effort are required for every new session. Supported effort values are minimal, low, medium, high and xhigh.
tests
./vendor/bin/phpunitThis server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/vielhuber/codemcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server