MCP Configuration

MCP Overview

Understanding the Model Context Protocol integration in Praximos

MCP Overview

Praximos integrates with AI assistants through the Model Context Protocol (MCP) — an open standard that lets LLMs like Claude interact with your Praximos instance as a set of structured tools.

What is MCP?

MCP is a protocol that exposes application functionality as tools that AI models can discover, understand, and invoke. When connected to Praximos via MCP, an AI assistant can:

  • Create and manage projects — set up new projects, update details, list existing ones
  • Track obligations — create obligations, assign executors, monitor status
  • Manage accounts — invite users, grant permissions, configure access
  • Query data — retrieve projects, obligations, executors, and resolutions

All MCP operations run through Praximos's policy engine — the AI has exactly the same permissions as the authenticated user.

Architecture

Praximos exposes MCP tools through the ash_ai library, which maps Ash resource actions directly to MCP tool definitions. This means:

  1. Every exposed action becomes an MCP tool with auto-generated parameter schemas
  2. Descriptions from resource attributes become tool parameter descriptions for the AI
  3. Ash policies enforce authorization — no policy bypass is possible through MCP
  4. Validations run normally — the AI must provide valid inputs just like any other client

Available Tools

Praximos exposes tools across three domains:

Accounts

ToolDescription
accounts_create_accountCreate a new account with owner
accounts_get_accountRetrieve an account by name
accounts_invite_userInvite a new user to an account
accounts_grant_permissionAssign READ/WRITE/MANAGE on projects
accounts_revoke_permissionRemove a user's permission

Projects

ToolDescription
projects_create_projectCreate a new project
projects_list_projectsList accessible projects
projects_get_projectRetrieve a single project
projects_update_projectUpdate project details
projects_delete_projectDelete a project

Obligations

ToolDescription
obligations_create_obligationCreate a new obligation
obligations_list_obligationsList accessible obligations
obligations_assign_executor_to_obligationAssign an executor
obligations_create_executorCreate a person/entity
obligations_create_resolution_definitionDefine resolution requirements

Tip: Attribute descriptions in the Praximos codebase directly become parameter descriptions in MCP tools. This is why every attribute must have a description.