API Reference Ectomancer v#1.7.0

Copy Markdown View Source

Modules

Ectomancer - Add an AI brain to your Phoenix app.

Authorization system for Ectomancer tools.

Behavior for authorization policy modules.

Macro for auto-generating CRUD tools from Ecto schemas.

Field-level authorization for Ectomancer tools.

Igniter installer for Ectomancer.

Updates project configuration files for Ectomancer integration.

Checks for required and optional dependencies in the project.

Discovers Ecto schemas in a Phoenix/Elixir project.

Renders EEx templates for Ectomancer setup files.

Oban integration for Ectomancer.

Sanitizes and serializes Ectomancer tool results into JSON-safe output.

Phoenix Plug for MCP server integration.

Unified SSE transport wrapper for Ectomancer.

WebSocket transport for Ectomancer via Phoenix.Socket.Transport.

Prompt DSL for defining MCP prompt templates.

Token bucket rate limiter backed by ETS.

CRUD operations for Ecto schemas exposed via Ectomancer.

Custom resource DSL for defining MCP resources.

Phoenix route introspection for Ectomancer.

Converts Ecto types to MCP-compatible JSON Schema definitions.

Compile-time Ecto schema introspection for generating MCP tools.

Server utilities for Ectomancer.

Custom tool DSL for defining MCP tools.

DSL macros for tool definition. These are parsed at compile time and do not execute at runtime.

Mix Tasks

Igniter installer for Ectomancer.

Interactive setup tool for Ectomancer.

Removes Ectomancer configuration from your Phoenix/Ecto project.