Flux

Flux

An AI-powered MCP server that enables natural language interaction with AO (Arweave Operating system) for creating, running, and testing code and handlers without manual coding.

Category
Visit Server

Tools

send-message-to-process

add

spawn

apm-install

load-token-blueprint

create-sqlite-based-handler

transaction

run-lua-in-process

load-blueprint

load-local-blueprint

load-official-blueprint

list-available-handlers

create-handler

run-handler-using-handler-name

README

Flux

AI based AO tool calling on steroids that integrates with your existing tools and editor using a MCP server.

https://github.com/user-attachments/assets/3484e2db-e7cb-479a-84a2-0b399e1149ac

Features Implemented

  • Run AO code using just natural language
  • Create and run custom AO code/blueprints completely using natural language
  • Integrates with your existing AI dev tools like Cursor, Windsurf, Claude, and anything that supports MCP tool calling
  • Can test out all the code it pushes to an process
  • Can create and test complex handlers

Features to be implemented

  • Inetgration with AO ecosystem tools
  • Better code generation capabilities by adding more context about AO

Tech stack

  • AO
  • Arweave
  • MCP typescript sdk
  • Typescript
  • Node.js

Installation

There are currently two ways to install and use Flux, right now it has been tested significantly only on Cursor so we will be showing how to install FLux in Cursor -

  1. Local Setup - For users who want everything to be present locally, no remote servers involved

    • Make sure you have latest stable version of NODE.js installed - Node.js download
    • Copy the content of the file local/index.js to your local machine in any folder and copy the absolute path
    • Open Cursor and go to Settings > Cursor Settings > MCP > Add new MCP tool
    • Paste this code in the file
      "mcpServers": {
          "flux": {
              "command": "node /path/to/your/local/index.js",
          }
      }
      
    • if you did everything correctly you will be able to see the flux MCP loaded with all the tools, and its ready to be used in Cursor! Flux MCP loaded in Cursor
  2. Remote Setup - For users who want to use Flux without installing anything locally

    • Open Cursor and go to Settings > Cursor Settings > MCP > Add new MCP tool
    • Paste this code in the file
      "mcpServers": {
          "flux": {
              "url": "https://flux-2esw.onrender.com/sse",
          }
      }
      
    • if you did everything correctly you will be able to see the flux MCP loaded with all the tools, and its ready to be used in Cursor! Flux MCP loaded in Cursor

Usage

We would suggest you add the llms.txt for AO docs in cursor first and use it as a context before you start using the MCP server. If you don't know how to do it, checkoout this documentation on how to add docs to cursor.

The more context you give to cursor, the more acurate the responses will be.

Now add these custom rules in your Cursor project to make sure Cursor doesn't hallucinate or give wrong responses. You can add these rules in the Settings > Cursor Settings > Rules > Add new rule.

For adding json capabilities ONLY IF NEEDED, you need to add a line "local json = require("json")" on top of file. BUT DONT USE IT UNLESS NEEDED. SIMPLE THINGS CAN BE DONE USING AO PROCESS STATE

Always use Send instead of msg.reply

Always make sure a handler is sending out a response/reply (using Send) and send it as data as well instaed of just returning using tags

Never add any tags by yourself, always add tags when needed or instructed by user, also {"Action":"Eval"} tag is for running lua in an ao process and {"Action" : "action_name"} is for running a handler

Never add the "Type" tag to anything, thats reserved for internal ao specifications

Always use Handler.utils whever possible when creating a handler, for example --
    Handlers.add(
        "pingpong",
        Handlers.utils.hasMatchingTag("Action", "Ping"),
        function (msg) 
            Handlers.utils.reply("Pong")(msg) -- or use Send() here
        end
    )

Now you can start using the Flux MCP server in Cursor Agents.

Support

If you find any issues with the Server or encounter any bugs, please let us know by opening an issue or mailing us @ flux.mcp@gamil.com

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured