DOCUMENTATION / CONNECTORS / AI

Connectors for AI

Use P2LRN with ChatGPT, Claude, Gemini or Grok. Here you will find how to create a course from a conversation or how to work with files you already have on your computer, with specific instructions for each platform.

What do you want to do?

Create a new course

Use a Skill so that the AI ​​prepares the content and, if you have the necessary tools, generates a file .p2lrn downloadable. It does not need to access your folders.

Consult or modify existing courses

Use a conector MCP to give access to a specific folder and authorized tools. You can start with read permissions and enable drafts later.

Son mecanismos diferentes. A Skill provides instructions and scripts for a task; MCP allows an application to invoke P2LRN tools. None replaces the Player or the visual Studio editor. First choose the platform; Then only the corresponding installation follows.

Create and download a course with a Skill

The Skill «P2LRN – Create and download» can generate and verify new packages from the Core 0.4.0 subset. There are now downloadable versions for ChatGPT, Claude, Gemini CLI and Grok Build. To create the file, each environment must allow Python to run; The download does not imply installation or publication in the official catalogs.

  1. In your AI app, open the Skills feature and check that you have a P2LRN-compatible version installed.
  2. Indicates the title, language, structure, questions and games. Ask that the result be a actual file and not just a content outline.
  3. Verify that the packager and validator have been run. Download the .p2lrn and try it on Player or Studio.
Example for an AI with the P2LRN Skill installed
Create a P2LRN course in English about digital safety:
3 units, 6 lessons, 10 questions, and 2 games.
Run the P2LRN packager and validate the result.
Give me the downloadable .p2lrn file.

If your application cannot run the packager, it can help you style the content, but it should not claim to have generated a valid package. The complete visual creation is still available at Studio.

ChatGPT

Create courses

With the “P2LRN – Create and Download” Skill installed and enabled, write the order in the conversation and request the verified file. Skill availability depends on the settings and permissions of your account or workspace. Official Skills Help.

Work with local courses

ChatGPT in the browser cannot open directly localhost. To use the private connector from ChatGPT, check the option safe tunnel when it is enabled in your account. There are also MCP servers accessible via HTTPS with authentication. The connection is not installed automatically and is not equivalent to an approved public plugin.

Testing: asks “List my authorized P2LRN courses and validate the one I choose.” You must see a real invocation of p2lrn_list_courses and p2lrn_validate_course, not a made up answer.

Claude

Create courses

Claude supports Custom Skills in environments that have that feature enabled. Review the Skill before importing it and confirm that its scripts can run and deliver files. The existing P2LRN Skill in ChatGPT is not automatically certified for Claude. Official Claude Skills Guide.

Work with local courses

In Claude Desktop, you can use the conector local- Select Claude in the wizard, authorize a folder and start reading. In Claude web, external connections depend on the plan and the custom connectors supported.

Testing: asks «Read the index of this course and prepare proposals for improvement; do not modify the originals. Verify that the client accesses the authorized course and respects the permissions.

Gemini

Gemini in the browser

Gemini web has customization functions such as Gems and, depending on account, region and deployment, Skills. These options can prepare the course content, but to download a .p2lrn the session must be able to run and verify a supported packager. The P2LRN Skill in Gemini web has not been certified here.

Gemini CLI

Gemini CLI supports Agent Skills using files SKILL.md. You can check them from the console with gemini skills list and link an authorized Skill folder. To consult courses on your computer you can also configure the conector P2LRN seleccionando Gemini CLI. Son opciones distintas.

PowerShell · connect Gemini CLI to your courses
.\integration\mcp\Conectar-P2LRN.cmd --root C:\MisCursos --clients gemini --install --verify

C:\MisCursos is an example route that must exist. Run the command from the folder where you have extracted the MCP kit. Testing: asks Gemini CLI to list and validate an authorized course, and verifies that MCP calls appear.

Grok

Create content

It offers a Skill for Grok Build You need Python to create and validate files .p2lrn. This is not equivalent to a certified Skill for Grok web. If your environment does not run the packager, complete the course at Studio.

Connect courses

When your account supports custom MCP connectors, see the configuration options. Grok Connectors and register a securely accessible server. The P2LRN kit allows you to generate connection descriptors; it does not install the connector in your account or prove that it has been approved.

Testing: asks "List my authorized P2LRN courses and validate one without editing it." Check that Grok really uses the tools and respects the allowed folder.

Install the connector on your computer

The connector allows a compatible application to work with courses saved in a folder on your PC. Works with clients such as Claude Desktop, Gemini CLI, Cursor, Windsurf and VS Code. You don't need to have a website or buy a domain.

  1. Install Node.js 22 or later and unzip the ZIP to a folder on your computer.
  2. Run integration\mcp\Conectar-P2LRN.cmd. Choose the installed AI application you want to use.
  3. Select a course folder and start with read permissions (P2LRN_MCP_WRITE=0). Authorize writing only when you need it.
  4. Restart the application if prompted and test that it can list and validate one of your courses.
Windows · from the folder where you extracted P2LRN
cd C:\P2LRN-MCP
.\integration\mcp\Conectar-P2LRN.cmd

C:\P2LRN-MCP It is an example route. The wizard configures compatible clients after asking for authorization; The ZIP is not a Skill or a public plugin.

Connect from a web service

When you use AI from its website, the service cannot directly read the files on your PC. You need an authorized private connection or a server accessible via HTTPS. Only prepare this connection if you are going to work with existing courses from a remote service.

ChatGPT: private tunnel

Secure MCP Tunnel Allows you to connect a local MCP server to ChatGPT if your account and workspace have access. The tunnel client is installed and authorized separately; It is not part of the P2LRN ZIP.

HTTPS server

For providers that support remote MCP connectors, configure the P2LRN server behind an authenticated HTTPS proxy. Never directly expose the local port or share credentials in packets.

MCP HTTP Server · advanced example
$env:P2LRN_MCP_ROOT = 'C:\CursosP2LRN'
$env:P2LRN_MCP_WRITE = '0'
$env:P2LRN_MCP_TOKEN = '<token-aleatorio-seguro>'
$env:P2LRN_MCP_PUBLIC_ORIGIN = 'https://tu-endpoint.example'
node .\integration\mcp\server.mjs --http

https://tu-endpoint.example It is a bookmark and not a published service. The local server listens on 127.0.0.1:37871/mcp; for a public URL you need to configure and secure the proxy. A private ChatGPT tunnel requires its own configuration and testing.

Common checks and problems

  • The AI ​​does not deliver the file: checks that the skill runs a packer and returns a .p2lrn valid. A text or JSON response is not enough.
  • Your courses do not appear: check the authorized folder, the MCP client and that the application has loaded the configuration.
  • The website does not connect to your PC: check HTTPS tunnel or endpoint availability and your account permissions; localhost It is not accessible from an external website.
  • The application cannot edit: check permissions. Reading is the initial mode; drafts require explicit authorization.
  • Minimum test: runs p2lrn_list_courses and p2lrn_validate_course, checks for rejection of unauthorized paths and confirms that the original file does not change.

If you want to create or edit a course manually, you can use Studio. To play it and check its activities, use Player.