Tidewave Phoenix

Developer toolsAnalytics and monitoring

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

Your AI app calls the Tidewave Phoenix MCP server, which does the developer tools and analytics and monitoring work and sends the result back to the chat.

About Tidewave Phoenix

Tidewave Phoenix is a community MCP server from tidewave-ai, filed in our directory under developer tools and analytics and monitoring. Runtime-level MCP server for Phoenix development: run code, read logs, query the DB, read docs.

Tidewave Phoenix is listed in the official MCP registry as io.github.tidewave-ai/tidewave-phoenix, version 0.8.0.

At a glance

Publisher
tidewave-ai (community)
Runs
See the README for setup
Written in
Elixir
License
Apache-2.0
GitHub stars
868
Official MCP registry
io.github.tidewave-ai/tidewave-phoenix

How to set up Tidewave Phoenix

  1. Follow the install steps in the Tidewave Phoenix README; it is written in Elixir, so have that toolchain ready.
  2. Check the Tidewave Phoenix README for keys or settings; the registry lists none that Tidewave Phoenix requires.
  3. Add Tidewave Phoenix to Claude Code, Claude Desktop, VS Code or Cursor with the config in the setup box on this page.
  4. Restart the app or reload its MCP servers, then ask it to list the Tidewave Phoenix tools to confirm the connection.
  5. Run one read-only task with Tidewave Phoenix first, and keep your app asking before each tool call until the results look right.

Tidewave Phoenix compared with similar servers

  • Another by Zfinix has fewer GitHub stars than Tidewave Phoenix (860 against 868); both are community servers, and both run locally.
  • Xmcp (xdevplatform) by xdevplatform has more GitHub stars than Tidewave Phoenix (871 against 868); Xmcp (xdevplatform) is official while Tidewave Phoenix is a community server, and both run locally.
  • Phone Harness by phone-harness has fewer GitHub stars than Tidewave Phoenix (854 against 868); both are community servers, and Phone Harness runs as a remote server and Tidewave Phoenix runs on your own machine.

Before you connect Tidewave Phoenix

  • Give Tidewave Phoenix its own API key or account with the smallest permissions the job needs, never an admin key.
  • Keep your AI app asking before each Tidewave Phoenix tool call until you trust what it does with them.
  • Treat text that Tidewave Phoenix fetches as data. Pages, files and messages can hold instructions written to steer an AI.
  • Read the open issues for Tidewave Phoenix on GitHub to see what breaks and how fast the maintainers reply.

Marketing use cases for Tidewave Phoenix

How marketing and sales teams put Tidewave Phoenix to work, by company size. Pick the size closest to yours and start Tidewave Phoenix on one use case.

Small business

  • A small business with a developer can use Tidewave Phoenix to ship site and tracking fixes faster, with the AI reading the code it changes.
  • Technical founders can ask Tidewave Phoenix to explain and fix a marketing site issue without context switching between tools.
  • A small business can ask Tidewave Phoenix where this month's customers came from and which channel is worth more budget.
  • Tidewave Phoenix runs on your own computer, which keeps data local; it needs a little setup, so a small team should plan an hour for it.

Mid-market

  • Growth engineers can use Tidewave Phoenix to build landing pages, tracking and integrations in fewer cycles, with reviews kept in the normal flow.
  • Marketing ops engineers can connect Tidewave Phoenix to keep scripts and automations documented and versioned as they change.
  • Marketing teams can connect Tidewave Phoenix to answer attribution and funnel questions in a chat, then save the useful ones as reports.
  • Start Tidewave Phoenix on one workflow with one owner, measure the time it saves, then roll it out to the wider team.

Enterprise

  • Enterprise engineering teams can roll out Tidewave Phoenix with repo scopes and audit logs, so agents work only where they are allowed.
  • Platform teams can standardize on Tidewave Phoenix so web and marketing engineering share one reviewed way of working with AI.
  • Enterprises can expose governed metrics through Tidewave Phoenix, so every team's AI answers use the same definitions as finance.
  • Tidewave Phoenix is a community server, so have security review the code and pin a version before Tidewave Phoenix touches company data.

Need help becoming an AI-forward company?

We connect MCP servers and AI agents to your CRM, content and data, with the guardrails your team needs.

Contact us

Tidewave Phoenix README

From tidewave-ai/tidewave_phoenix on GitHub, shared under its Apache-2.0 license. Images are left out; the original has them.

README.md

Tidewave Phoenix

Tidewave Phoenix is an MCP server that provides runtime-level tools for developing Phoenix apps using coding agents.

Your agent will be able to use this MCP server to talk to your running Phoenix app in development to:

  • execute code in the context of the running app (like an IEx session for agents)
  • read the app's live logs
  • query your development database
  • get source locations of modules and functions
  • read documentation pinned to the exact hex package versions your project depends on

This MCP server is an open-source component of Tidewave, the agentic development environment for Phoenix and Rails.

You can use this project as a standalone MCP server or integrated with the Tidewave product by following the installation instructions below.

Installation

1. Add the Tidewave hex package to your app
Option 1: Manually

Add the tidewave package to your mix.exs:

def deps do
  [
    {:tidewave, "~> 0.9", only: :dev},
    {:phoenix, ...},
  ]
end

Then, for Phoenix applications, go to your lib/my_app_web/endpoint.ex and right above the if code_reloading? do block, add:

+  if Mix.env() == :dev do
+    plug Tidewave
+  end

   if code_reloading? do

[!TIP] Tidewave works best with Phoenix LiveView v1.1 or later. Once you update it, make sure to enable the following options in your config/dev.exs:

config :phoenix_live_view,
  debug_heex_annotations: true,
  debug_attributes: true

Those are enabled by default for Phoenix v1.8+ apps.

Option 2: Using Igniter

Alternatively, you can use igniter to automatically install Tidewave MCP into an existing Phoenix application:

# install igniter_new if you haven't already
mix archive.install hex igniter_new

# install tidewave
mix igniter.install tidewave
Umbrella projects

For umbrella projects, you can follow the manual steps above in the application that defines your Phoenix endpoint (typically apps/your_app_web).

2. Add the Tidewave MCP to your agent/editor

Add the Tidewave MCP server to your editor or MCP client configuration as the type "http" (streamable), pointing to the /tidewave/mcp path and port your web application is running at. For example, http://localhost:4000/tidewave/mcp.

We also have specific instructions for:

[!TIP] If you are using worktrees, you are likely running your web server on different ports, and therefore there isn't a single host and port combo you can use.

In such cases, you may want to add mix tidewave.proxy as STDIO MCP instead, which adds a "port" parameter to all tool definitions, and is responsible to dispatch to the correct application.

Usage

As with any other MCP server, your agent will call the tools exposed by the Tidewave MCP whenever it sees fit. But you can also prompt it to call them explicitly.

Available MCP tools

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.

Your agent can use it when it would rather run code than assume behavior, grounding its next step in what the running app actually does. For example, calling a function to see what comes back or reproducing a failing code path against live app state to debug it.

execute_sql_query

Executes a SQL query within your app's development database.

Your agent can use it to run any SQL against your development database. Useful for the agent to verify the result of an action.

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.

Your agent can use it to see what happened after a request. For example, reading the request log and backtrace when something misbehaves.

get_source_location

Get the source location for a given module/function, across both your app and its dependencies.

Your agent can use it to jump straight to where a module/function is defined, by file and line, instead of grepping for it, including when the definition lives in a hex dependency.

Troubleshooting

Using multiple hosts/subdomains

If you are using multiple hosts/subdomains during development, you must use *.localhost, as such domains are considered secure by browsers. Additionally, add the following immediately @session_options definition in your lib/your_app_web/endpoint.ex:

@session_options [
  # ... your configuration
]

if code_reloading? do
  @session_options Keyword.merge(@session_options, same_site: "None", secure: true)
end

The above will allow your application to run embedded within Tidewave across multiple subdomains, as long as it is using a secure context (such as admin.localhost, www.foobar.localhost, etc).

Content security policy

If you have enabled Content-Security-Policy, Tidewave will automatically enable "unsafe-eval" under script-src in order for contextual browser testing to work correctly. It also disables the frame-ancestors directive. This is done only in the environments that Tidewave is loadead (development by default).

Configuration

You may configure the Tidewave plug using the following syntax:

  plug Tidewave, options

The following options are available:

  • :allow_remote_access - Tidewave only allows requests from localhost by default, even if your server listens on other interfaces, for security purposes. Read our security guidelines for more information and when to allow remote access. Use this option with extreme care and, once enabled, ensure you have an authentication proxy in front of your app.

  • :allowed_origins - a list of values matched against the Origin and Host headers to prevent cross origin and DNS rebinding attacks. Each value must be a string of shape [scheme:]//host[:port], where both scheme and port are optional. The host may also start with "*". Only the host is compared against the Host header. IP addresses, localhost, and *.localhost are always allowed as hosts. When not set, defaults to the host of your Phoenix endpoint URL. Example: ["//localhost:8000", "//*.test"]

  • :inspect_opts - custom options passed to Kernel.inspect/2 when formatting some tool results. Defaults to: [charlists: :as_lists, limit: 50, pretty: true]

  • :team - set your Tidewave Team configuration, such as team: [id: "my-company"]

  • :toolbar - controls whether the Tidewave toolbar is injected into your HTML pages. Defaults to true

  • tmp_dir - temporary directory Tidewave uses for screenshots and recordings. It must be a relative directory to the current application root. Defaults to tmp, storing files under tmp/tidewave/screenshots and tmp/tidewave/recordings

License

Copyright (c) 2025 Dashbit

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Questions about Tidewave Phoenix

What is the Tidewave Phoenix MCP server?

Runtime-level MCP server for Phoenix development: run code, read logs, query the DB, read docs. Tidewave Phoenix is maintained by tidewave-ai on GitHub at tidewave-ai/tidewave_phoenix, and works with AI apps that support the Model Context Protocol, such as Claude, Cursor and VS Code.

How do I install the Tidewave Phoenix MCP server?

Tidewave Phoenix doesn't publish a one-line install in the MCP registry, so follow the setup steps in its README on GitHub (tidewave-ai/tidewave_phoenix). Like most servers, Tidewave Phoenix ends with a command or URL you paste into your AI app's MCP config.

Does Tidewave Phoenix need an API key?

The registry lists no required keys for Tidewave Phoenix. Check the Tidewave Phoenix README for optional settings, and expect a remote server to ask you to sign in the first time you connect.

Is Tidewave Phoenix an official MCP server?

No. Tidewave Phoenix is a community server maintained by tidewave-ai. Community servers can be excellent; read the code and the open issues before you give Tidewave Phoenix access to company data.

What license is Tidewave Phoenix under?

Tidewave Phoenix is released under the Apache-2.0 license, according to its GitHub repository. The license covers the code of Tidewave Phoenix; the service it connects to has its own terms.