# `AgentDbWeb.Mcp`
[🔗](https://github.com/manhvu/agent_db/blob/v0.1.0/lib/agent_db_web/mcp.ex#L1)

Compatibility shim over `AgentDb.Mcp`.

The MCP tool inventory now lives in the core module `AgentDb.Mcp` so it can
be used in-process by a sidecar host without the Phoenix web layer. This
module delegates to it, keeping existing callers and tests working.

# `call_tool`

```elixir
@spec call_tool(String.t(), map(), keyword()) :: {:ok, term()} | {:error, term()}
```

Invokes a tool by name in-process, delegating to `AgentDb.Mcp`.

# `handle_request`

```elixir
@spec handle_request(map(), keyword()) :: map()
```

Handles one JSON-RPC request map, delegating to `AgentDb.Mcp`.

# `tools`

```elixir
@spec tools() :: [map()]
```

The MCP tool inventory served by `tools/list`.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
