# Connect over MCP

> What Corfedo gives a coding agent over MCP, how to add it to your client and how to check the connection works.

Source: https://docs.corfedo.ai/connect/mcp/

Corfedo is an MCP server. A coding agent connected to it can search and read code across every repository you can read. When an administrator turns on Corfedo AI for coding agents, your agent can also [hand a question to Corfedo AI](https://docs.corfedo.ai/connect/mcp/tools/#ask-corfedo-ai).

## Before you begin

- You are a member of a Corfedo workspace and at least one repository shows **Searchable**.
- You know your workspace address, for example `https://corfedo.example.com`. The MCP address is that address followed by `/mcp`.

## Add Corfedo to your agent

Open **Connect** in your workspace. Select **Copy setup prompt** and paste it into your agent to let it configure itself. The prompt contains no credential.

To add Corfedo by hand, follow your client's steps on the **Connect** page or in [MCP clients](https://docs.corfedo.ai/connect/mcp/clients/). For Claude Code it is one command:

```sh
claude mcp add --transport http corfedo https://corfedo.example.com/mcp
```

## Sign in

The first time your agent calls Corfedo, a browser window opens. Sign in to your workspace, choose which repositories the agent may read and select **Allow**. [Approve access](https://docs.corfedo.ai/connect/mcp/clients/#approve-access) explains the choices.

## Verify the connection

Ask your agent: "Use Corfedo to list my repositories."

**Check:** the agent calls `list_repositories` and names your repositories.

## If your agent is not offered

If your client is not on **Connect**, or **Connect** says coding agent access is not available to you, ask a workspace administrator. They choose the allowed clients in [Client access](https://docs.corfedo.ai/workspace/client-access/).

## Related

- [MCP clients](https://docs.corfedo.ai/connect/mcp/clients/), [MCP tools](https://docs.corfedo.ai/connect/mcp/tools/) and [MCP troubleshooting](https://docs.corfedo.ai/connect/mcp/troubleshooting/).
