ATXP CLI
The ATXP CLI is a command-line tool that helps you create ATXP projects, run demos, and manage your ATXP development workflow. It provides a streamlined way to bootstrap new projects and explore ATXP functionality.Installation
The recommended way to use the ATXP CLI is to run it directly usingnpx atxp
.
As an alternative, you can install the ATXP CLI globally using npm:
Verify installation by running
atxp help
to confirm the CLI is properly installed.Quickstart
Run a demo
Run a demo ATXP project in seconds.Create a new project
The ATXP CLI offers several project templates to get you started quickly:Perfect for building AI agents that use paid MCP tools.Features:
- Pre-configured ATXP client
- Example agent implementation
- Wallet integration setup
- MCP server connection examples
Available commands
atxp create <project-name>
Creates a new ATXP project with a complete development setup.
The name of your new ATXP project. This will be used as the directory name and package name.
- Project directory with your specified name
package.json
with ATXP dependencies- Basic project structure for agents or servers
- Configuration files for development
- Example code to get you started
atxp demo
Runs interactive demos to showcase ATXP functionality.
Available demos:
- Agent demo: Shows how to connect an agent to paid MCP servers
- Server demo: Demonstrates creating a monetized MCP server
- Payment flow: Interactive walkthrough of ATXP payment processing
1
Select demo type
Choose from available demo options when prompted.
2
Follow interactive prompts
The CLI will guide you through each step of the demo.
3
View results
See ATXP in action with real examples and outputs.
atxp help
Display help information and available commands.
Development workflow
1
Create your project
2
Configure environment
Copy
.env.example
to .env
and fill in your credentials.Never commit your
.env
file to version control. Add it to your .gitignore
.3
Install dependencies
4
Start development server
5
Test your implementation
Next steps
Build an agent
Learn how to create AI agents that use paid MCP tools with ATXP.
Monetize your server
Add payment requirements to your MCP servers and start earning.
Support
Need help with the ATXP CLI? Check out our Discord community or contact support.