home / mcp / ambient code mcp server
Offload AI tasks to a Kubernetes-based Claude cluster via agentic sessions, enabling scalable analysis workflows.
Configuration
View docs{
"mcpServers": {
"jeremyeder-mcp": {
"command": "bun",
"args": [
"run",
"/path/to/mcp/src/index.ts"
],
"env": {
"ACP_BASE_URL": "https://ambient-code.apps.rosa.vteam-stage.7fpc.p3.openshiftapps.com"
}
}
}
}Ambient Code Platform MCP Server lets you delegate expensive or long-running AI tasks to a Kubernetes-hosted Claude agent cluster. It enables session-based workflows where you create a session, poll status, fetch results, and stop the session to free resources, making complex code analysis and other AI tasks practical and scalable.
You interact with the MCP server through a client that talks to the Ambient Code Platform API. Start by ensuring you are authenticated to your OpenShift cluster, then list projects, create a new agentic session with a clear prompt, and control the session as it runs. Your client will automatically route actions like checking status, fetching events, and stopping the session to the MCP server.
Typical workflow you can perform:
Prerequisites you need before installing and running the MCP server client:
- Node.js or Bun installed on your workstation (the server example uses Bun to run the MCP client entry point).
- Access to your OpenShift cluster and the ability to run OpenShift commands.
Follow these concrete steps to set up and run the MCP client side that communicates with Ambient Code Platform.
1. Clone the project repository and navigate into it.
2. Install dependencies with Bun.
git clone https://github.com/jeremyeder/mcp.git
cd mcp
bun installConfigure your environment so the client can reach Ambient Code Platform and run the MCP entry point. You need to provide the API URL for the Ambient Code Platform and the command to start the local MCP client.
Use the following example configuration to connect a local setup or Claude Desktop to the MCP server.
{
"mcp": {
"ambient_code": {
"type": "local",
"command": ["bun", "run", "/path/to/mcp/src/index.ts"],
"environment": {
"ACP_BASE_URL": "https://ambient-code.apps.rosa.vteam-stage.7fpc.p3.openshiftapps.com"
}
}
}
}If you are using Claude Desktop, place a similar configuration in your Claude desktop config to connect to Ambient Code Platform.
{
"mcpServers": {
"ambient-code": {
"command": "bun",
"args": ["run", "/path/to/mcp/src/index.ts"],
"env": {
"ACP_BASE_URL": "https://ambient-code.apps.rosa.vteam-stage.7fpc.p3.openshiftapps.com"
}
}
}
}The MCP server relies on your OpenShift token to access resources. You must be logged in to OpenShift with a valid session. Tokens may expire, so re-authenticate if you encounter authentication errors. The server transmits the token via Authorization: Bearer and X-Forwarded-Access-Token headers.
If you run into issues starting sessions or accessing projects, verify that your ACP_BASE_URL is correct and that your OpenShift login is active. Check that the local MCP client process is running and reachable at the configured endpoint.
Check OpenShift authentication status for the current user.
List available OpenShift projects or namespaces you can access.
List agentic sessions within a project.
Retrieve details and status for a specific session.
Get a status snapshot of a running or completed session.
Create a new agentic session with a specified prompt.
Send a follow-up message to an active session.
Stop a running session to free resources.