Why build with ATXP?
- Reduced friction: Try new tools in minutes—no signups, no keys, no billing setup.
- Pay-as-you-go cost control: Per-MCP-tool-call pricing; you only pay for what you use.
- Better security: Keep secrets out of your app; requests are authorized with signed payments instead of shared keys.
- Composable tooling: Combine multiple paid MCP servers behind a single client and consistent API.
Build your first ATXP agent
1
Install the library
Install the ATXP client SDK in your project:
2
Set up your account
- ATXP account
- Base Mini App account
- Base account
- Solana account
- Worldchain account
- Polygon account
- Other accounts
Create an ATXP account and set your account connection string in an environment variable. The best way to do this is to create a
.env
file in the root of your project and add the following line:.env
Never commit your
.env
file to version control. It is a good idea to add your .env
to your .gitignore
file to prevent it from being committed.3
Define the services that you want to use
Define the services that you want to use in your client.
4
Create an ATXP client
- With an ATXP account
- With a BaseApp account
- With a Base account
- With a Solana account
- With a Worldchain account
- With a Polygon account
Create a client using an ATXP account by importing the ATXP client SDK and other dependencies.
5
Use the services in your agent
Use the services in your agent.