> Model Context Protocol integration with OAuth 2.1

# Model Context Protocol (MCP)

Dewee acts as both an MCP client (connecting external tool servers) and an MCP server (`internal/mcp/`).

## Supported Transports

* `stdio` — Local process spawning via `npx` or binary execution.
* `sse` — Server-Sent Events over HTTP.
* `streamable-http` — Modern bidirectional HTTP transport with OAuth 2.1 + PKCE.

## CLI Management

```bash
# List registered MCP servers
dewee mcp list

# Inspect available tools on a server
dewee mcp tools filesystem

# Configure OAuth 2.1 parameters
dewee mcp oauth config github-tools --registration-mode pre_registered --client-id <id>
```
