### TEALScript Getting Started Guide Source: https://github.com/goplausible/algorand-mcp/blob/main/packages/server/src/resources/knowledge/taxonomy/index.md A guide for beginners to get started with TEALScript, covering initial setup and basic concepts for Algorand smart contract development. ```markdown taxonomy/TEALScript:guides:getting_started.md ``` -------------------------------- ### Project Setup and LocalNet Commands Source: https://github.com/goplausible/algorand-mcp/blob/main/packages/server/src/resources/knowledge/taxonomy/devportal-code-examples:projects:python-contract-examples:README.md Commands for setting up the project, installing dependencies, configuring the environment, and starting a local Algorand network using AlgoKit. ```bash algokit --version poetry -V algokit project bootstrap all algokit generate env-file -a target_network localnet algokit localnet start ``` -------------------------------- ### AlgoKit Quick Start Tutorial Source: https://github.com/goplausible/algorand-mcp/blob/main/packages/server/src/resources/knowledge/taxonomy/index.md A tutorial guiding new users through the initial steps of using AlgoKit, covering setup, basic commands, and project creation. Designed for a quick introduction to the framework. ```markdown # AlgoKit Quick Start Tutorial Welcome to AlgoKit! This tutorial will guide you through setting up your environment and creating your first Algorand project. ## Prerequisites - Node.js installed - npm or yarn ## Steps 1. **Install AlgoKit CLI:** ```bash npm install -g @algorandfoundation/algokit-cli ``` 2. **Create a new project:** ```bash algokit init ``` Follow the prompts to configure your project. 3. **Run your first contract:** (Details on running a sample contract would follow here...) ``` -------------------------------- ### AlgoKit Quick Start Tutorial Source: https://github.com/goplausible/algorand-mcp/blob/main/packages/server/src/resources/knowledge/taxonomy/liquid_auth_index.md An introductory tutorial for the AlgoKit CLI, guiding users through the initial setup and basic functionalities. ```cli algokit cli tutorials intro ``` -------------------------------- ### Algorand Developer Documentation - Getting Started Source: https://github.com/goplausible/algorand-mcp/blob/main/packages/server/src/resources/knowledge/taxonomy/clis_index.md A foundational guide for new developers looking to start with Algorand. It outlines the essential steps and concepts needed to begin building on the Algorand platform. ```APIDOC developer:docs:get-started:basics:where_to_start ``` -------------------------------- ### Node Status Output Example Source: https://github.com/goplausible/algorand-mcp/blob/main/packages/server/src/resources/knowledge/taxonomy/developer:docs:run-a-node:setup:install.md An example of the output from the `goal node status` command, illustrating the information provided about the node's synchronization progress and network details. ```plain Last committed block: 125064 Time since last block: 3.1s Sync Time: 0.0s Last consensus protocol: https://github.com/algorandfoundation/specs/tree/5615adc36bad610c7f165fa2967f4ecfa75125f0 Next consensus protocol: https://github.com/algorandfoundation/specs/tree/5615adc36bad610c7f165fa2967f4ecfa75125f0 Round for next consensus protocol: 125065 Next consensus protocol supported: true Genesis ID: testnet-v1.0 Genesis hash: SGO1GKSzyE7IEPItTxCByw9x8FmnrCDexi9/cOUJOiI= ``` -------------------------------- ### Create New AlgoKit Project Source: https://github.com/goplausible/algorand-mcp/blob/main/packages/server/src/resources/knowledge/taxonomy/developer:docs:get-started:algokit.md Initializes a new AlgoKit project with a guided menu system. Users select templates, project names, and configurations for their Algorand development. ```shell algokit init ``` -------------------------------- ### Install AlgoKit Source: https://github.com/goplausible/algorand-mcp/blob/main/packages/server/src/resources/knowledge/taxonomy/algokit:cli:tutorials:intro.md Installs the AlgoKit CLI tool using pipx. Ensure Python 3.10 or higher is installed beforehand. ```shell pipx install algokit ``` -------------------------------- ### Systemd Service Setup Script Usage Source: https://github.com/goplausible/algorand-mcp/blob/main/packages/server/src/resources/knowledge/taxonomy/developer:docs:run-a-node:setup:install.md Demonstrates the usage of the `systemd-setup.sh` script for installing `algod` as a systemd service. It shows the basic syntax with optional parameters and an example of system-wide installation. ```bash Usage: ./systemd-setup.sh username group [bindir] ``` ```bash sudo ./systemd-setup.sh algorand algorand ``` -------------------------------- ### Install and Start Algorand Sandbox Source: https://github.com/goplausible/algorand-mcp/blob/main/packages/server/src/resources/knowledge/taxonomy/developer:docs:sdks:go:index.md Clones the Algorand sandbox repository, navigates into the directory, and starts a development network using Docker Compose. This requires Docker Compose and Git to be installed. ```bash git clone https://github.com/algorand/sandbox.git cd sandbox ./sandbox up dev ``` -------------------------------- ### Install AlgoKit on Windows Source: https://github.com/goplausible/algorand-mcp/blob/main/packages/server/src/resources/knowledge/taxonomy/developer:docs:get-started:algokit.md Installs AlgoKit on Windows using winget for Python and pipx for AlgoKit installation. It includes steps for managing App Execution Aliases and restarting the terminal. ```shell winget install python.python.3.12 pip install --user pipx python -m pipx ensurepath pipx install algokit pipx upgrade algokit ``` -------------------------------- ### Algokit Project Bootstrap and Localnet Start Source: https://github.com/goplausible/algorand-mcp/blob/main/packages/server/src/resources/knowledge/taxonomy/devportal-code-examples:README.md This snippet demonstrates the essential commands for setting up and running an Algorand development environment using AlgoKit. It covers bootstrapping all subprojects and starting the local Algorand network via Docker. ```bash algokit project bootstrap all algokit localnet start ``` -------------------------------- ### Verify AlgoKit Installation Source: https://github.com/goplausible/algorand-mcp/blob/main/packages/server/src/resources/knowledge/taxonomy/algokit:cli:tutorials:intro.md Checks if AlgoKit has been installed correctly by displaying its version. The output should show the installed version number. ```shell algokit --version ``` -------------------------------- ### JavaScript SDK Examples README Source: https://github.com/goplausible/algorand-mcp/blob/main/packages/server/src/resources/knowledge/developers-sdks-js.txt Guides users through various examples demonstrating the capabilities of the Algorand MCP JavaScript SDK. ```markdown # Algorand MCP JavaScript SDK Examples This directory contains examples of how to use the Algorand MCP JavaScript SDK for various tasks. ## Example: Creating an Account ```javascript import algosdk from 'algosdk'; const account = algosdk.generateAccount(); console.log('Address:', account.addr); console.log('Mnemonic:', algosdk.secretKeyToMnemonic(account.sk)); ``` ## Example: Sending a Transaction ```javascript // ... code for sending a transaction ... ``` ``` -------------------------------- ### Install and Start Algorand Sandbox Source: https://github.com/goplausible/algorand-mcp/blob/main/packages/server/src/resources/knowledge/taxonomy/developer:docs:sdks:java:index.md Clones the Algorand sandbox repository, navigates into the directory, and starts a development node using a script. Requires Docker Compose and Git. ```bash git clone https://github.com/algorand/sandbox.git cd sandbox ./sandbox up dev ``` -------------------------------- ### Systemd Service Management Source: https://github.com/goplausible/algorand-mcp/blob/main/packages/server/src/resources/knowledge/taxonomy/developer:docs:run-a-node:setup:install.md Commands for managing the Algorand node as a systemd service. This includes reloading the systemd daemon after changes and starting the service, with an example of enabling it to start on system boot. ```bash sudo systemctl daemon-reload ``` ```bash sudo systemctl start algorand@$(systemd-escape $ALGORAND_DATA) ``` -------------------------------- ### Algorand Developer Blog Source: https://github.com/goplausible/algorand-mcp/blob/main/packages/server/src/resources/knowledge/taxonomy/developer:docs:get-started:basics:where_to_start.md Discover code tutorials, prototypes, and announcements from the Algorand developer community. This is a resource for learning about new features and community projects. ```markdown Here you can find code tutorials and prototypes from the Algorand developer community. This is also where big features will be announced. > [See the latest articles and code from Algorand and the community.](../../../../blog/){: target="_blank} ``` -------------------------------- ### Install AlgoKit on macOS Source: https://github.com/goplausible/algorand-mcp/blob/main/packages/server/src/resources/knowledge/taxonomy/developer:docs:get-started:algokit.md Installs AlgoKit on macOS using Homebrew. It assumes Homebrew, Git, and Docker are already installed. The command installs the AlgoKit package from the algorandfoundation tap. ```shell brew install algorandfoundation/tap/algokit ``` -------------------------------- ### Initialize AlgoKit Project Source: https://github.com/goplausible/algorand-mcp/blob/main/packages/server/src/resources/knowledge/taxonomy/algokit:cli:tutorials:intro.md Creates a new Algorand project using AlgoKit. This command launches an interactive menu to select project templates and configurations. ```shell algokit init ``` -------------------------------- ### Install AlgoKit (OS Agnostic) Source: https://github.com/goplausible/algorand-mcp/blob/main/packages/server/src/resources/knowledge/taxonomy/developer:docs:get-started:algokit.md Installs or upgrades AlgoKit using pipx, a Python package installer. This method is suitable for any operating system where Python and pipx are available. A terminal restart is recommended after installation. ```shell pipx install algokit pipx upgrade algokit ``` -------------------------------- ### AlgoKit Project Structure Source: https://github.com/goplausible/algorand-mcp/blob/main/packages/server/src/resources/knowledge/taxonomy/algokit:cli:tutorials:intro.md Illustrates the typical file and directory layout of a new AlgoKit project, including configuration files, project-specific directories, and smart contract organization. ```bash . ├── .algokit.toml # Configuration for AlgoKit projects in the workspace. ├── README.md # Quick start guide for the AlgoKit Workspace. ├── {your_workspace|project_name}.code-workspace └── projects └── {your_project_name} # Root directory for the smart contract project. To add more projects into your algokit workspace run 'algokit init' from the root of your workspace repository. ├── README.md # Quick start on Algorand Python smart contract template based project. ├── .algokit # Hidden folder for AlgoKit AVM debugger and custom generators. ├── .algokit.toml # Project-specific commands and custom generator references. ├── poetry.lock ├── poetry.toml # Dependency definitions for {your_project_name}. ├── pyproject.toml # Project definitions for {your_project_name}. └── smart_contracts ├── README.md # Guide for adding new smart contracts. ├── ... ├── hello_world # Contract logic for 'hello_world'. │ ├── contract.py # Contract logic. │ └── deploy_config.py # Deployment logic for 'hello_world'. └── helpers # Helper functions for contract build and deployment. ``` -------------------------------- ### Verify AlgoKit Installation Source: https://github.com/goplausible/algorand-mcp/blob/main/packages/server/src/resources/knowledge/taxonomy/developer:docs:get-started:algokit.md Checks if AlgoKit has been installed correctly by displaying its version. The expected output is 'algokit, version 2.0.0' or a similar version number. ```shell algokit --version ``` -------------------------------- ### Algorand Detailed Feature Documentation Source: https://github.com/goplausible/algorand-mcp/blob/main/packages/server/src/resources/knowledge/taxonomy/developer:docs:get-started:basics:where_to_start.md Access in-depth explanations and reference documentation for Algorand's features. Users can find information by browsing the 'Get details' section or using the site's search functionality. ```markdown If you are looking for detailed feature explanations and reference documentation, check out the “Get details” section or just search for what you’re looking for using the search box in the top left corner of the site. > [Get all the details on layer-1 features and capabilities.](/docs/get-details/){: target="_blank} ``` -------------------------------- ### Netstat Output Example (Telemetry Connected) Source: https://github.com/goplausible/algorand-mcp/blob/main/packages/server/src/resources/knowledge/taxonomy/developer:docs:run-a-node:setup:install.md Example output from `sudo netstat -an | grep :9243` when telemetry is enabled and the node is connected to the telemetry server. ```plain tcp 0 0 xxx.xxx.xxx.xxx:yyyyy 18.214.74.184:9243 ESTABLISHED ``` -------------------------------- ### Algokit CLI Tutorials Source: https://github.com/goplausible/algorand-mcp/blob/main/packages/server/src/resources/knowledge/taxonomy/puya_index.md Introduction to the AlgoKit Quick Start Tutorial. ```markdown # AlgoKit Quick Start Tutorial This tutorial guides you through the initial steps of using AlgoKit. ``` -------------------------------- ### Start and Check Node Status Source: https://github.com/goplausible/algorand-mcp/blob/main/packages/server/src/resources/knowledge/taxonomy/developer:docs:run-a-node:setup:install.md Commands to start the Algorand node and check its current status. The status output provides information about the last committed block, sync time, and catchpoint details. ```go goal node start goal node status ``` -------------------------------- ### Example Node Configuration Source: https://github.com/goplausible/algorand-mcp/blob/main/packages/server/src/resources/knowledge/taxonomy/developer:docs:run-a-node:reference:artifacts.md An example configuration file for an Algorand node. Renaming this file to 'config.json' will apply these settings when the node starts. Detailed explanations of each setting are available in the Node configuration settings guide. ```json { "//": "Example configuration file for Algorand node.", "//": "Rename to config.json to take effect.", "//": "Refer to Node configuration settings guide for details." } ``` -------------------------------- ### Algorand Node Service Management Source: https://github.com/goplausible/algorand-mcp/blob/main/packages/server/src/resources/knowledge/taxonomy/developer:docs:run-a-node:setup:install.md Provides systemctl commands to manage the Algorand node service, including starting, stopping, and checking its status. ```bash sudo systemctl start algorand sudo systemctl stop algorand goal node status -d /var/lib/algorand ``` -------------------------------- ### Pre-commit Hook Installation and Usage Source: https://github.com/goplausible/algorand-mcp/blob/main/packages/server/src/resources/knowledge/taxonomy/devportal-code-examples:projects:python-contract-examples:README.md Instructions for installing and using pre-commit hooks to maintain code quality and consistency. Pre-commit hooks are run automatically on commit, aborting the commit if any hooks fail. They can also be run manually on all files. ```bash pre-commit install pre-commit run --all-files ``` -------------------------------- ### Algorand Node Setup and Interaction Source: https://github.com/goplausible/algorand-mcp/blob/main/packages/server/src/resources/knowledge/taxonomy/SDKs:python:README.md Instructions for setting up a local Algorand node using the Sandbox and interacting with it via the 'goal' command-line tool. This includes starting kmd, creating wallets, and creating accounts. ```bash # Start kmd on a private network or testnet node ./goal kmd start -d [data directory] # Create a new wallet ./goal wallet new [wallet name] -d [data directory] # Create a new account within a wallet ./goal account new -d [data directory] -w [wallet name] ``` -------------------------------- ### Quick Start: Connect to Algorand Node Source: https://github.com/goplausible/algorand-mcp/blob/main/packages/server/src/resources/knowledge/taxonomy/SDKs:javascript:README.md A basic JavaScript example demonstrating how to initialize the Algorand client and fetch the node's status. It requires an API token, server address, and port. ```javascript const token = 'Your algod API token'; const server = 'http://127.0.0.1'; const port = 8080; const client = new algosdk.Algodv2(token, server, port); (async () => { console.log(await client.status().do()); })().catch((e) => { console.log(e); }); ``` -------------------------------- ### Project Commands Source: https://github.com/goplausible/algorand-mcp/blob/main/packages/server/src/resources/knowledge/taxonomy/liquid-auth:docs:README.md Lists essential commands for managing an Astro + Starlight project. These include installing dependencies, starting a development server, building for production, previewing the build, and using the Astro CLI. ```shell npm install npm run dev npm run build npm run preview npm run astro ... npm run astro -- --help ``` -------------------------------- ### Run Indexer as Reader Source: https://github.com/goplausible/algorand-mcp/blob/main/packages/server/src/resources/knowledge/taxonomy/developer:docs:run-a-node:setup:indexer.md Starts the Indexer in reader mode, connecting to an existing PostgreSQL database without connecting to an Algorand node. Requires a PostgreSQL connection string. ```bash ./algorand-indexer daemon --data-dir /tmp -P "host=[your-host] port=[your-port] user=[uname] password=[password] dbname=[ledgerdb] sslmode=disable" --no-algod ``` -------------------------------- ### Install and Build Algorand MCP Client Source: https://github.com/goplausible/algorand-mcp/blob/main/packages/client/README.md Steps to clone the repository, install dependencies, and build the Algorand MCP project. This includes checking Node.js version and setting up the mcp-servers directory. ```bash node -v mkdir PATH_ON_YOUR_MACHINE/Claude/mcp-servers # or for Cursor mkdir PATH_ON_YOUR_MACHINE/Cursor/mcp-servers cd PATH_ON_YOUR_MACHINE/Claude/mcp-servers # or for Cursor cd PATH_ON_YOUR_MACHINE/Cursor/mcp-servers # Clone the repository git clone https://github.com/GoPlausible/algorand-mcp.git cd algorand-mcp # Install dependencies npm install # Build the project npm run build ``` -------------------------------- ### Node Management Commands Source: https://github.com/goplausible/algorand-mcp/blob/main/packages/server/src/resources/knowledge/taxonomy/developer:docs:run-a-node:setup:install.md Basic commands to manage the Algorand node process. This includes starting the node, verifying it's running by checking for the `algod` process, and stopping the node. ```bash goal node start ``` ```bash pgrep algod ``` ```bash goal node stop ``` -------------------------------- ### Get Latest Catchpoint Snapshots Source: https://github.com/goplausible/algorand-mcp/blob/main/packages/server/src/resources/knowledge/taxonomy/developer:docs:run-a-node:setup:install.md Provides URLs to fetch the latest catchpoint snapshots for BetaNet, TestNet, and MainNet of the Algorand network. These snapshots contain the round and catchpoint hash needed for fast synchronization. ```APIDOC Network Catchpoint URLs: BetaNet: https://algorand-catchpoints.s3.us-east-2.amazonaws.com/channel/betanet/latest.catchpoint TestNet: https://algorand-catchpoints.s3.us-east-2.amazonaws.com/channel/testnet/latest.catchpoint MainNet: https://algorand-catchpoints.s3.us-east-2.amazonaws.com/channel/mainnet/latest.catchpoint ``` -------------------------------- ### TEALScript Tutorials - Hello World Source: https://github.com/goplausible/algorand-mcp/blob/main/packages/server/src/resources/knowledge/taxonomy/liquid_auth_index.md A tutorial series for TEALScript, focusing on a 'Hello World' example. Covers the basics of writing, compiling, and testing smart contracts with TEALScript. ```markdown - [TEALScript: Hello World Tutorial Step 6](taxonomy/TEALScript:tutorials:Hello World:0006-test.md) ``` -------------------------------- ### Algorand Smart Contracts & dApps Source: https://github.com/goplausible/algorand-mcp/blob/main/packages/server/src/resources/knowledge/taxonomy/developer:docs:get-started:basics:where_to_start.md Learn about building decentralized applications (dApps) on Algorand. It recommends Algokit for rapid development, testing, and deployment of smart contracts. ```markdown If you are interested in building an application([dApp](whats_a_dapp.md)) on Algorand, checkout [Algokit](/docs/get-started/algokit), which is a tool for quickly building, testing, and deploying Algorand smart contracts. > [Tell me more about Algorand smart contracts!](/docs/get-details/dapps/smart-contracts/) ``` -------------------------------- ### Run Indexer as Data Loader (Local Node) Source: https://github.com/goplausible/algorand-mcp/blob/main/packages/server/src/resources/knowledge/taxonomy/developer:docs:run-a-node:setup:indexer.md Starts the Indexer to load data into a PostgreSQL database by connecting to a local Algorand archival node. Requires a PostgreSQL connection string and the Algorand node data directory. ```bash ./algorand-indexer daemon --data-dir /tmp -P "host=[your-host] port=[your-port] user=[uname] password=[password] dbname=[ledgerdb] sslmode=disable" --algod=~/node/data ``` -------------------------------- ### AlgoKit Bootstrap Process Source: https://github.com/goplausible/algorand-mcp/blob/main/packages/server/src/resources/knowledge/taxonomy/algokit:cli:features:init.md Illustrates the interactive prompts and automated steps involved in bootstrapping a new Algorand project, including dependency installation via Poetry and Git initialization. ```bash ? Do you want to run `algokit bootstrap` to bootstrap dependencies for this new project so it can be run immediately? Yes Installing Python dependencies and setting up Python virtual environment via Poetry poetry: Creating virtualenv my-smart-contract in /Users/algokit/algokit-init/my-smart-contract/.venv poetry: Updating dependencies poetry: Resolving dependencies... poetry: poetry: Writing lock file poetry: poetry: Package operations: 53 installs, 0 updates, 0 removals poetry: poetry: • Installing pycparser (2.21) ---- other output omitted for brevity ---- poetry: • Installing ruff (0.0.171) Copying /Users/algokit/algokit-init/my-smart-contract/smart_contracts/.env.template to /Users/algokit/algokit-init/my-smart-contract/smart_contracts/.env and prompting for empty values ? Would you like to initialise a git repository and perform an initial commit? Yes 🎉 Performed initial git commit successfully! 🎉 🙌 Project initialized at `my-smart-contract`! For template specific next steps, consult the documentation of your selected template 🧐 Your selected template comes from: ➡️ https://github.com/algorandfoundation/algokit-python-template As a suggestion, if you wanted to open the project in VS Code you could execute: > cd my-smart-contract && code . ``` -------------------------------- ### Configure DNS Bootstrap ID for Betanet Source: https://github.com/goplausible/algorand-mcp/blob/main/packages/server/src/resources/knowledge/taxonomy/developer:docs:run-a-node:setup:install.md Modifies the `config.json` file to update the `DNSBootstrapID` for the betanet network. This ensures the node connects to the correct network endpoints. It involves copying an example configuration file if one doesn't exist. ```bash cp config.json.example config.json ``` ```json { // ... other configurations "DNSBootstrapID": "betanet.algodev.network", // ... other configurations } ``` -------------------------------- ### Run Algorand Python SDK Examples Source: https://github.com/goplausible/algorand-mcp/blob/main/packages/server/src/resources/knowledge/taxonomy/SDKs:python:examples:README.md Demonstrates the command to execute Algorand Python SDK examples. It assumes a local sandboxed Algorand node is running. ```sh python3 .py ``` -------------------------------- ### Run Indexer as Data Loader (Networked Node) Source: https://github.com/goplausible/algorand-mcp/blob/main/packages/server/src/resources/knowledge/taxonomy/developer:docs:run-a-node:setup:indexer.md Starts the Indexer to load data into a PostgreSQL database by connecting to a remote Algorand archival node. Requires a PostgreSQL connection string, the Algorand node network address, and an API token. ```bash ./algorand-indexer daemon --data-dir /tmp -P "host=[your-host] port=[your-port] user=[uname] password=[password] dbname=[ledgerdb] sslmode=disable" --algod-net="http://[your-host]:[your-port]" --algod-token="[your-api-token]" ``` -------------------------------- ### TEALScript Tutorials: Hello World 0001-intro Source: https://github.com/goplausible/algorand-mcp/blob/main/packages/server/src/resources/knowledge/taxonomy/liquid_auth_index.md Introduction to the TEALScript 'Hello World' tutorial. ```APIDOC TEALScript:tutorials:Hello World:0001-intro: --- ``` -------------------------------- ### Goal Account Management Source: https://github.com/goplausible/algorand-mcp/blob/main/packages/server/src/resources/knowledge/taxonomy/developer:docs:run-a-node:setup:install.md Demonstrates listing participation keys using the `goal account listpartkeys` command. It's crucial to run this as the `algorand` user. ```APIDOC goal account listpartkeys - Description: Lists participation keys associated with the node. - Usage: Must be run as the `algorand` user. - Example: sudo -u algorand -E goal account listpartkeys goal account listpartkey -d /var/lib/algorand - Description: Lists participation keys, specifying the data directory. - Usage: Must be run as the `algorand` user. - Example: sudo -u algorand -E goal account listpartkey -d /var/lib/algorand ``` -------------------------------- ### AlgoKit Tutorials Source: https://github.com/goplausible/algorand-mcp/blob/main/packages/server/src/resources/knowledge/developers-algokit-cli.txt Guides and tutorials for learning and using AlgoKit, including an introduction, smart contract development, and using AlgoKit templates. ```markdown - `intro.md`: Introduction to AlgoKit and its core concepts. - `smart-contracts.md`: Tutorial on developing and deploying smart contracts. - `algokit-template.md`: Guide on using AlgoKit project templates. ``` -------------------------------- ### CentOS 7 Algorand Installation Source: https://github.com/goplausible/algorand-mcp/blob/main/packages/server/src/resources/knowledge/taxonomy/developer:docs:run-a-node:setup:install.md Installs the Algorand package on CentOS 7 using yum. This involves importing the public key, enabling the repository, and installing the algorand package. ```bash curl -O https://releases.algorand.com/rpm/rpm_algorand.pub sudo rpmkeys --import rpm_algorand.pub sudo yum install yum-utils sudo yum-config-manager --add-repo https://releases.algorand.com/rpm/stable/algorand.repo # To get both algorand and the devtools: sudo yum install algorand-devtools # Or, to only install algorand: sudo yum install algorand ``` -------------------------------- ### Run Algorand JavaScript SDK Examples Source: https://github.com/goplausible/algorand-mcp/blob/main/packages/server/src/resources/knowledge/taxonomy/SDKs:javascript:examples:README.md This command demonstrates how to execute the provided Algorand JavaScript SDK examples using ts-node, assuming a local sandbox environment is active. ```shell ts-node .ts ``` -------------------------------- ### Fedora/CentOS 8 Stream Algorand Installation Source: https://github.com/goplausible/algorand-mcp/blob/main/packages/server/src/resources/knowledge/taxonomy/developer:docs:run-a-node:setup:install.md Installs the Algorand package on Fedora or CentOS 8 Stream using dnf. This includes enabling the repository and installing the algorand package. ```bash curl -O https://releases.algorand.com/rpm/rpm_algorand.pub sudo rpmkeys --import rpm_algorand.pub dnf install -y 'dnf-command(config-manager)' dnf config-manager --add-repo=https://releases.algorand.com/rpm/stable/algorand.repo dnf install algorand ``` -------------------------------- ### TEALScript Tutorials Source: https://github.com/goplausible/algorand-mcp/blob/main/packages/server/src/resources/knowledge/taxonomy/liquid_auth_index.md Reference to the 'Hello World' tutorial, step 0002, within TEALScript. ```APIDOC TEALScript: tutorials: Hello World: 0002-init ``` -------------------------------- ### Mac Installation Steps Source: https://github.com/goplausible/algorand-mcp/blob/main/packages/server/src/resources/knowledge/taxonomy/developer:docs:run-a-node:setup:install.md Commands to install the Algorand node on macOS. This involves creating a directory, downloading the updater script using curl, making it executable, and running the installer with specific parameters. ```bash mkdir ~/node cd ~/node ``` ```bash curl https://raw.githubusercontent.com/algorand/go-algorand/rel/stable/cmd/updater/update.sh -O ``` ```bash chmod 744 update.sh ``` ```bash ./update.sh -i -c stable -p ~/node -d ~/node/data -n ``` -------------------------------- ### Project Commands Source: https://github.com/goplausible/algorand-mcp/blob/main/packages/server/src/resources/knowledge/taxonomy/TEALScript:README.md Lists essential commands for managing an Astro + Starlight project. These include installing dependencies, starting a development server, building for production, previewing the build, and using the Astro CLI. ```shell npm install npm run dev npm run build npm run preview npm run astro ... npm run astro -- --help ``` -------------------------------- ### Install Algorand Devtools on Debian/Ubuntu Source: https://github.com/goplausible/algorand-mcp/blob/main/packages/server/src/resources/knowledge/taxonomy/developer:docs:run-a-node:setup:install.md Installs the Algorand node and development tools on Debian-based systems using apt-get. This includes updating package lists, installing necessary dependencies, adding the Algorand repository key, and finally installing the 'algorand-devtools' package. ```bash sudo apt-get update sudo apt-get install -y gnupg2 curl software-properties-common curl -o - https://releases.algorand.com/key.pub | sudo tee /etc/apt/trusted.gpg.d/algorand.asc sudo add-apt-repository "deb [arch=amd64] https://releases.algorand.com/deb/ stable main" sudo apt-get update # To get both algorand and the devtools: sudo apt-get install -y algorand-devtools ``` -------------------------------- ### TEALScript Guides and Tutorials Source: https://github.com/goplausible/algorand-mcp/blob/main/packages/server/src/resources/knowledge/taxonomy/index.md References to TEALScript guides, including lifecycle management and a 'Hello World' tutorial. ```APIDOC TEALScript:guides:lifecycle TEALScript:tutorials:Hello World:0001-intro ``` -------------------------------- ### Start Local Algorand Network Source: https://github.com/goplausible/algorand-mcp/blob/main/packages/server/src/resources/knowledge/taxonomy/developer:docs:get-started:algokit.md Starts a local instance of the Algorand blockchain using AlgoKit. This command utilizes Docker to run the local network. ```shell algokit localnet start ``` -------------------------------- ### Deploy and Call Smart Contract (Demo) Source: https://github.com/goplausible/algorand-mcp/blob/main/packages/server/src/resources/knowledge/taxonomy/developer:docs:get-started:algokit.md This Python script demonstrates deploying and calling a smart contract. It's configured in `deploy_config.py` and can be executed by pressing F5 in VS Code. ```python # Example usage within deploy_config.py # This file configures the deployment and interaction with the smart contract. # The actual contract code is in 'contract.py'. # To deploy and call: # 1. Start LocalNet: algokit localnet start # 2. Run the script (e.g., by pressing F5 in VS Code if configured) # Example of calling the 'hello' method: # result = contract.hello(name="world") # print(f"Received: {result}") ``` -------------------------------- ### TEALScript Guides and Tutorials Source: https://github.com/goplausible/algorand-mcp/blob/main/packages/server/src/resources/knowledge/taxonomy/puya_index.md Documentation and tutorials for TEALScript, including guides on using PyTeal and a 'Hello World' example. ```python # TEALScript guide on PyTeal integration # Example: Basic PyTeal contract structure from pyteal import * @Subroutine(TealType.uint64) def greet(name: TealType.bytes): return Concat(Bytes("Hello, "), name) # Tutorial: Hello World - Initialization # Example: Setting up initial state for a TEALScript application ```