MCP (AI Agents)
Automatic translation. View original
Connect Codex or Claude Code with your school's CRM to consult contacts, prepare follow-ups, and review statistics. You can also ask the agent to record communications or manage tasks, within your permissions.
This guide is intended for teachers and administrators. You do not need to program: after installing the plugins, you work through written requests in the chat.
What MCP and the plugins are
MCP is the connection that allows the agent to consult PADMA and perform the operations available for your user.
PADMA AI Plugins is the official plugin catalog. Each plugin adds a connection or instructions to work with a product:
-
CRM (
crm): contacts, lists, communications, statistics, and school tasks. -
Money (
money): accounts, movements, and financial information. -
Learn (
learn): students, accesses, courses, reservations, and attendance. -
PADMA (
padma): coordinates the products you have installed.
To work only with CRM, install CRM. If you also want to combine information from other products, add their plugins and PADMA. Installing PADMA alone does not connect the other products.
Before starting
You need:
- A PADMA user with access to your school's CRM.
- Codex or Claude Code installed, in a recent version compatible with plugins, remote MCP and authorization via browser.
Choose one of the two programs. It is not necessary to install both.
The following commands are run in your computer's terminal. Copy each command, paste it, and press Enter.
Install on Codex
- Add the official catalog from the terminal:
codex plugin marketplace add dwaynemac/padma-ai-plugins
- Open Plugins in the Codex app or type
/pluginsin Codex CLI. - Choose PADMA AI Plugins.
- Install CRM.
- If you are going to combine products, also install PADMA and the corresponding plugins.
- Start a new task to load the plugins.
To update the catalog and installed plugins, run:
codex plugin marketplace upgrade padma-ai-plugins
Install on Claude Code
- Add the official catalog from the terminal:
claude plugin marketplace add dwaynemac/padma-ai-plugins
- Install CRM:
claude plugin install crm@padma-ai-plugins
- If you are going to combine products, install PADMA and the plugins you need:
claude plugin install padma@padma-ai-plugins
claude plugin install money@padma-ai-plugins
claude plugin install learn@padma-ai-plugins
- Start or restart Claude Code to load the plugins.
To update the catalog, run:
claude plugin marketplace update padma-ai-plugins
Authorize access to your school
The installation adds the tools. To consult your data, you also have to authorize the connection.
In Codex
- Start a new task after installing CRM.
- Connect CRM when Codex prompts you.
- Complete the login on PADMA Accounts from the browser.
- Select the accounts of the schools you want to authorize.
- Accept the requested permissions.
In Claude Code
- Open Claude Code and type
/mcp. - Select crm and choose Authenticate.
- If Client ID and Client Secret, leave them empty: the registration is automatic.
- Complete the login on PADMA Accounts from the browser.
- Select the accounts of the schools and accept the permissions.
The connection retains your CRM permissions. Installing a plugin does not grant access to other schools.
If you installed Money or Learn, authorize each connection separately.
Check the connection
In the Codex or Claude Code chat, ask:
List the CRM accounts I have authorized.
If several schools appear, indicate which one you want to use. Then ask:
On the selected account, check my permissions and show me the available saved lists.
The connection works when the agent returns information from your school. Completing login alone does not confirm this result.
Using it in daily work
Write what you need and clarify when applicable: school, contact, list and period.
You can start with queries:
- “On the selected account, show me the contacts of a saved list. First show me what lists there are.”
- “Who has a birthday today in this school?”
- “Show me the recent communications of the contact I selected.”
- “Compare last month's enrollments with the previous one and indicate if data are missing.”
- “List my active operational tasks, without modifying them.”
To make a change, indicate the exact record and content. For example:
Search for the contact I indicated. Prepare a communication with this text: “We talked about practice schedules”. Show me the contact and the text before saving it. Wait for my confirmation and then check the result.
You can also ask to assign an existing tag or create a follow-up task. Available actions depend on your permissions and the connection tools.
Review matches before confirming changes. If there are two people with similar names, clarify to the agent which one corresponds.
Combine CRM with other products
If you installed and authorized the corresponding plugins, you can ask:
Link the contact I selected in CRM with their Learn student and show me their current access.
Search for the contact I selected in CRM and review their Money transactions from last month.
Indicate the school of each product. The agent must verify the relationship between the records before combining their data.
If something doesn't work
- The plugin does not appear: update the catalog and reopen Plugins.
- The agent does not find CRM tools: check the installation, start a new task and review the connection.
- Your school does not appear: check your access to CRM and the accounts included in the authorization.
- The session expired: re-authenticate CRM from the program.
- An action is not allowed: check your permissions. The plugin does not extend your user's access.
- The result seems incomplete: ask it to review the filters and complete all pages of the result.
Do not paste passwords, authorization codes or tokens into the chat. Complete the authentication in the browser.
The CRM plugin does not allow requesting, consulting or saving government documents, such as DNI, CPF or passports.