# agent4.io MCP server

Build and run grounded business agents over MCP: agents, knowledge bases, skills, Storylines.

## Facts

- Endpoint: https://api.agent4.io/v1/mcp (MCP, Streamable HTTP)
- Sign-in: none (open)
- Security grade: C (73/100, scanned 2026-10-07) · report https://gateturbo.com/report/a9c55777-f815-47b0-978f-162148df2959
- Tools: 50
- Category: Docs & AI · source: registry
- Last probed: 2026-09-03 · first listed: 2026-07-30
- Directory page: https://gateturbo.com/mcp/agent4-io · this document: https://gateturbo.com/mcp/agent4-io.md · JSON: https://gateturbo.com/api/directory/servers/agent4-io

## Tools (50)

- `list_agents`: List all agents in this tenant (name + published state).
- `get_agent`: Get one agent's full configuration (soul/task/tools/skills/knowledge_bases/model/params).
- `create_agent`: Create an agent. `name` is lower-cased on save — it is a key, not a display name. soul = persona/identity; task = duties and bound
- `update_agent`: Update **part** of an agent — fields you don't pass stay as they are. ⚠️ List-field semantics, don't mix them up: `tools=[...]` / `skil
- `list_tools`: List tool names assignable to agents, with their descriptions (incl. the tenant's connected MCP tools).
- `list_mcp_servers`: List the MCP servers connected in this tenant's tool library (read-only; secret fields omitted).
- `create_share`: Create a **share / integration entry point** for an agent — this is how end users actually reach it. **`published=True` only means "vis
- `list_shares`: List an agent's shares (token / label / disabled / chat link / embed URL / appearance config). When the top-level `pretty_url` is non-e
- `configure_share`: Configure this share — its name and its **appearance** — fields you don't pass stay as they are (server-side partial merge). - `lab
- `set_pwa_branding`: Configure a specific **agent's** PWA branding and install experience (applies to that agent's `/s/` standalone chat pages — what gets in
- `set_custom_domain`: Bind the client's own domain to this tenant's chat pages: `https://chat.client.com/` serves the tenant's branded page (or a specific age
- `list_skills`: List this tenant's skills.
- `get_skill`: Get one skill's full content (including the complete instructions text).
- `create_skill`: Create a skill. description = "when to use" (goes into the system prompt, keep it short); instructions = the detailed guide (fetched on 
- `update_skill`: Update part of a skill — fields you don't pass stay as they are (server-side PATCH merge, no GET+PUT round-trip). ⚠️ `tools=[...]` 
- `test_skill_trigger`: Reality-check whether your prompts actually trigger tool calls (dry-run) — run this after writing/changing a skill instead of counting c
- `list_knowledge_bases`: List this tenant's knowledge bases (with doc/chunk counts and relevance cutoff).
- `get_knowledge_base`: Get one knowledge base's configuration (including the full instructions text shown to the model).
- `create_knowledge_base`: Create a knowledge base. **Write `description` — it is what routes questions to this base.** Before each answer the platform reads 
- `update_knowledge_base`: Update part of a knowledge base — fields you don't pass stay as they are (server-side PATCH merge).
- … 30 more after connecting

## Connect

Two routes. Through gate you get one gateway URL for every server you pick, a sign-in screen that asks which agent you are, allow / ask-me-first / block per action, argument rules, a log of every call, and an off-switch. Direct puts this server's URL straight into the agent's config.

### Through gate (Claude Code shown; any MCP client works the same way)

One gateway URL carries every server you pick.

1. Connect agent4.io to your gate (https://gateturbo.com/login?next=/discovery?connect=agent4-io).
2. Add gate once to the agent; the sign-in screen asks which agent it is, and its rules follow it everywhere.
3. Every call is logged; allow, ask-me-first or block any action; pause the agent with one click.

```bash
claude mcp add --transport http gate https://gateturbo.com/api/mcp
```

Other agents through gate: Claude → https://gateturbo.com/mcp/agent4-io/claude · Claude Desktop → https://gateturbo.com/mcp/agent4-io/claude-desktop · ChatGPT → https://gateturbo.com/mcp/agent4-io/chatgpt · Codex → https://gateturbo.com/mcp/agent4-io/codex · Cursor → https://gateturbo.com/mcp/agent4-io/cursor · Windsurf → https://gateturbo.com/mcp/agent4-io/windsurf · VS Code → https://gateturbo.com/mcp/agent4-io/vscode · Gemini CLI → https://gateturbo.com/mcp/agent4-io/gemini-cli · OpenClaw → https://gateturbo.com/mcp/agent4-io/openclaw · n8n → https://gateturbo.com/mcp/agent4-io/n8n · A script or server → https://gateturbo.com/mcp/agent4-io/script

### Direct: Claude Code

Add agent4.io to Claude Code with one command.

1. Run the command in your terminal.
2. Restart Claude Code; the tools appear in every session.
3. No sign-in needed.

```bash
claude mcp add --transport http agent4-io https://api.agent4.io/v1/mcp
```

### Direct: Cursor

Add agent4.io to Cursor's MCP config.

1. Add this to ~/.cursor/mcp.json (or .cursor/mcp.json in a project).
2. Cursor picks it up without a restart.
3. No sign-in needed.

```json
{
  "mcpServers": {
    "agent4-io": {
      "url": "https://api.agent4.io/v1/mcp"
    }
  }
}
```

### Direct: VS Code

Add agent4.io to VS Code for Copilot agent mode.

1. Add this to .vscode/mcp.json in your workspace (or your user mcp.json).
2. Open the Copilot chat in agent mode; the server starts on demand.
3. No sign-in needed.

```json
{
  "servers": {
    "agent4-io": {
      "type": "http",
      "url": "https://api.agent4.io/v1/mcp"
    }
  }
}
```

### Direct: Codex

Add agent4.io to Codex.

1. Add this to ~/.codex/config.toml.
2. Start a new Codex session.
3. No sign-in needed.

```toml
[mcp_servers.agent4_io]
url = "https://api.agent4.io/v1/mcp"
```

### Direct: Claude

Add agent4.io as a custom connector in Claude.

1. Open claude.ai → Settings → Connectors → Add custom connector.
2. Name it "agent4.io" and paste the URL below.
3. Save; the tools appear in new chats.

```
https://api.agent4.io/v1/mcp
```

### Direct: ChatGPT

Add agent4.io as a connector in ChatGPT.

1. Open ChatGPT → Settings → Connectors → enable Developer mode under Advanced.
2. Create a connector named "agent4.io" with the URL below.
3. Set authentication to none.

```
https://api.agent4.io/v1/mcp
```

## For agents reading this

- Search the directory from inside a conversation: add the directory MCP server https://gateturbo.com/api/directory/mcp (no sign-in) and call `search_servers`, `get_server`, `how_to_connect`.
- JSON: https://gateturbo.com/api/directory/search?q=<terms> · https://gateturbo.com/api/directory/servers/<slug>
- How to get access to a human's gateway on your own: https://gateturbo.com/agents.md
- Always keep a human in the loop: gate's sign-in, approvals and off-switch exist so the person stays in control.
