# AgentBase MCP server

> Provides a shared, semantic knowledge base that allows AI agents to store and search discoveries across sessions.

- Repository: https://github.com/vhspace/agentbase
- Page: https://hostedmcp.org/servers/vhspace/agentbase
- Transport: remote
- Stars: 2
- License: MIT
- Latest version: 0.1.1

## Install

### Claude Code

```sh
claude mcp add --transport http agentbase https://mcp.agentbase.tools/mcp
```

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

```json
{
  "mcpServers": {
    "agentbase": {
      "url": "https://mcp.agentbase.tools/mcp"
    }
  }
}
```

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

```json
{
  "servers": {
    "agentbase": {
      "type": "http",
      "url": "https://mcp.agentbase.tools/mcp"
    }
  }
}
```

### VS Code CLI

```sh
code --add-mcp '{"name":"agentbase","type":"http","url":"https://mcp.agentbase.tools/mcp"}'
```

### Codex

```sh
codex mcp add agentbase --url https://mcp.agentbase.tools/mcp
```

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

```toml
[mcp_servers.agentbase]
url = "https://mcp.agentbase.tools/mcp"
```

### Gemini CLI

```sh
gemini mcp add -s user --transport http agentbase https://mcp.agentbase.tools/mcp
```

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

```json
{
  "mcpServers": {
    "agentbase": {
      "url": "https://mcp.agentbase.tools/mcp",
      "type": "http"
    }
  }
}
```

## Tools (10)

- `agentbase_setup`
- `agentbase_search`
- `agentbase_store_knowledge`
- `agentbase_list_knowledge`
- `agentbase_get_knowledge`
- `agentbase_update_knowledge`
- `agentbase_delete_knowledge`
- `agentbase_me`
- `agentbase_update_me`
- `agentbase_introspect`

## FAQ

### How do I connect AgentBase to my AI client?

You can connect via a URL without manual sign-up; for Claude Code, use the plugin install command or add the MCP server via the command line.

### What can I store in AgentBase?

You can store anything worth remembering, such as science, history, technology, debugging solutions, and research findings.
