# Tidewave Phoenix [Health: Active]

**Category:** 💻 Developer Tools  
**Repository:** https://github.com/tidewave-ai/tidewave_phoenix  
**GitHub Stars:** 866  
**Views:** 3  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/tidewave-phoenix

## Description
Runtime-level MCP server for Phoenix development: run code, read logs, query the DB, read docs.

## Tools
Capabilities this server exposes over MCP:

- **project_eval** — Evaluates Elixir code within your running application, giving the agent access to your runtime, dependencies, and in-memory data. It's like an IEx for the agent.
- **execute_sql_query** — Executes a SQL query within your app's development database.
- **get_docs** — Get the documentation for a given module/function. It consults the exact versions locked in your project's mix.lock, ensuring you get correct information.
- **get_logs** — Reads logs written by the server.
- **get_source_location** — Get the source location for a given module/function, across both your app and its dependencies.

## Claude Desktop Quick Installation
No generated config for this server: it installs through its own setup steps.

The project's own setup steps (from https://github.com/tidewave-ai/tidewave_phoenix), copied verbatim. Follow them in order; they are not an mcpServers config.

1. Install:

```sh
mix igniter.install tidewave
```

## Documentation

## What Tidewave Phoenix does

Tidewave Phoenix adds runtime-level MCP access to a Phoenix application in development. It gives coding agents a way to inspect the application while it is running, including its dependencies, in-memory data, logs, and development database.

The server is useful when an agent needs to confirm how the application behaves, investigate a failing request, check data produced by an action, or find the implementation of a module or function. Documentation lookups use the dependency versions locked in `mix.lock`, which helps align answers with the project's actual package set.

## How it works

The Tidewave Hex package is added to the Phoenix application's development dependencies and mounted as a plug in the application endpoint. Once the development server is running, MCP clients connect to the streamable HTTP endpoint at `/tidewave/mcp`, using the web application's host and port. A typical endpoint is `http://localhost:4000/tidewave/mcp`.

For projects using worktrees or multiple running applications, `mix tidewave.proxy` can be configured as a STDIO MCP server. The proxy adds a port parameter to tool definitions and routes requests to the selected application instance.

## Setup and configuration

Add the `tidewave` package to `mix.exs`, limited to the development environment, and add the `Tidewave` plug above the code-reloading block in the Phoenix endpoint. Existing applications can instead use `mix igniter.install tidewave` after installing `igniter_new`. In an umbrella project, apply the endpoint changes in the application that owns the Phoenix endpoint.

Tidewave works best with Phoenix LiveView 1.1 or later. LiveView debug annotations and debug attributes can be enabled in `config/dev.exs`; Phoenix 1.8 and later applications enable these options by default.

The plug accepts settings for remote access, allowed origins, inspection formatting, team configuration, toolbar injection, and the temporary directory used for generated files. Localhost access is the default. Remote access should only be enabled with appropriate authentication and origin controls.

## Tools and capabilities

- `project_eval` evaluates Elixir within the running application's context, including access to runtime state and dependencies.
- `execute_sql_query` runs SQL against the application's development database.
- `get_docs` retrieves documentation for a module or function using versions pinned in `mix.lock`.
- `get_logs` reads logs produced by the server, including information useful after a request or failure.
- `get_source_location` identifies the file and line for a module or function in the application or its Hex dependencies.

The tools can be called automatically by an agent or requested explicitly in a prompt.

_Full upstream README: https://allmcps.com/mcp/tidewave-phoenix/readme_

