Back to Home
nyo16 icon

conduit_mcp

Verified Safe

by nyo16

Overview

Provides an Elixir-based Model Context Protocol (MCP) server library with a Phoenix integration example for exposing AI tools, resources, and prompts via a web API.

Installation

Run Command
mix phx.server

Environment Variables

  • MCP_AUTH_TOKEN
  • SECRET_KEY_BASE

Security Notes

The server leverages Phoenix's robust security features. It explicitly guides users to use environment variables for secrets (e.g., `MCP_AUTH_TOKEN`, `SECRET_KEY_BASE`) and provides comprehensive parameter validation using NimbleOptions, including type checking, constraints (min/max, length), enums, and custom validators, which mitigates common injection and malformed input risks. Configurable authentication strategies (Bearer Token, API Key, Custom Function) and CORS settings allow for secure deployment. The core library's stateless, pure-function architecture minimizes state-related vulnerabilities. No direct `eval` or arbitrary code execution mechanisms are evident in the provided runtime code.

Similar Servers

Stats

Interest Score11
Security Score9
Cost ClassLow
Avg Tokens100
Stars1
Forks0
Last Update2025-12-20

Tags

ElixirPhoenixModel Context ProtocolAI ToolsAPI Server