# Code4

This MCP server for Claude Code connects an agent to a Code4 workspace. It can search team knowledge and access issues, repositories, reviews, and deployments.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI
- Author: code4-space
- License: MIT · policy=link-only · description only; the file stays with the author
- Source: https://github.com/code4-space/mcp
- Updated: 2026-11-16
- Security check: automated, 2026-11-17 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/mcp/code4

## What it does

Code4 gives an AI assistant access to issues, repositories, code reviews, CI/CD pipelines, deployments, and documents. It can also search team knowledge drawn from chats, issue discussions, documents, call transcripts, and commit messages. Source code search uses full-text matching and symbol lookup, not embeddings.

The hosted service connects over Streamable HTTP and OAuth 2.1, so there is no local server to install or run. A Code4 account and membership in at least one organization are required. The MCP client must support remote servers with OAuth; clients limited to API-key authentication cannot connect.

## Requirements
- Remote server: `https://mcp.code4.space/mcp`

## Install

### Claude Code (native platform)

**Platform CLI: remote server**
```bash
claude mcp add --transport http mcp https://mcp.code4.space/mcp
```

### Codex

**Platform CLI: remote server**
```bash
codex mcp add code4 --url https://mcp.code4.space/mcp
```

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "code4": {
            "url": "https://mcp.code4.space/mcp"
        }
    }
}
```

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "code4": {
            "type": "http",
            "url": "https://mcp.code4.space/mcp"
        }
    }
}
```

### Gemini CLI

**Platform CLI: remote server**
```bash
gemini mcp add -t http code4 https://mcp.code4.space/mcp
```

## When to use it
- search team discussions for decisions
- review project issues and code reviews
- locate symbols and text in repository source
- access deployment and CI/CD information

## Example prompts
- Find the team discussion about the authentication decision and related issues.
- Show open code reviews for this repository.
- Search the source for references to this symbol.

## Similar
- [JieBang Tools](https://affpapa.org/en/nevibecode/mcp/jiebang-tools.md) — MCP server · 2539 installs
- [Metrx](https://affpapa.org/en/nevibecode/mcp/metrx.md) — MCP server · 1849 installs
- [workflow-orchestrator](https://affpapa.org/en/nevibecode/commands/workflow-orchestrator.md) — command · 2341 installs
- [devops-troubleshooter](https://affpapa.org/en/nevibecode/agents/devops-troubleshooter.md) — subagent · 2328 installs
- [deploy-chalk-function](https://affpapa.org/en/nevibecode/skills/deploy-chalk-function.md) — skill · 1900 installs
- [benchmark-vllm-model](https://affpapa.org/en/nevibecode/skills/benchmark-vllm-model.md) — skill · 1900 installs

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
