# Agent Foundry MCP server

> An orchestrator that plans, executes, and verifies AI skills through a local daemon and MCP stdio server.

- Repository: https://github.com/youcisla/Agent-Foundry
- Page: https://hostedmcp.org/servers/youcisla/agent-foundry
- Transport: stdio
- Stars: 1
- License: MIT
- Latest version: 0.4.2

## Install

### Claude Code

```sh
claude mcp add agent-foundry -- uvx agent-foundry-runtime
```

### Cursor (`~/.cursor/mcp.json`)

```json
{
  "mcpServers": {
    "agent-foundry": {
      "command": "uvx",
      "args": [
        "agent-foundry-runtime"
      ]
    }
  }
}
```

### VS Code (`.vscode/mcp.json`)

```json
{
  "servers": {
    "agent-foundry": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "agent-foundry-runtime"
      ]
    }
  }
}
```

### VS Code CLI

```sh
code --add-mcp '{"name":"agent-foundry","type":"stdio","command":"uvx","args":["agent-foundry-runtime"]}'
```

### Claude Desktop (`claude_desktop_config.json`)

```json
{
  "mcpServers": {
    "agent-foundry": {
      "command": "uvx",
      "args": [
        "agent-foundry-runtime"
      ]
    }
  }
}
```

### Codex

```sh
codex mcp add agent-foundry -- uvx agent-foundry-runtime
```

### Codex config.toml (`~/.codex/config.toml`)

```toml
[mcp_servers.agent-foundry]
command = "uvx"
args = ["agent-foundry-runtime"]
```

### Gemini CLI

```sh
gemini mcp add -s user agent-foundry uvx -- agent-foundry-runtime
```

### Gemini settings.json (`~/.gemini/settings.json`)

```json
{
  "mcpServers": {
    "agent-foundry": {
      "command": "uvx",
      "args": [
        "agent-foundry-runtime"
      ]
    }
  }
}
```

## Environment variables

| Name | Required | Secret | Description |
|---|---|---|---|
| `ANTHROPIC_API_KEY` | no | no |  |

## Tools (4)

- `plan`: Rank Agent Foundry skills for a prompt.
- `execute`: Run one skill against a prompt via the configured LLM.
- `list_skills`: List indexed skills with category and description.
- `get_skill`: Return the full SKILL.md body for one skill.

## FAQ

### How do I connect Agent Foundry via MCP?

You can connect using the command `agent-foundry-runtime mcp` to start a stdio MCP server, or run it directly via `uvx agent-foundry-runtime mcp`.
