logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Millisecond-Latency SPL Token Acquisition Utility (MCP)

A highly optimized mechanism employing natural language directives to execute rapid token acquisition on the Raydium Automated Market Maker (AMM), distributed across geographically diverse cloud infrastructure. Integrates subscription feeds for nascent pool identification and utilizes GraphQL indexing for expedited pool location.

Author

Millisecond-Latency SPL Token Acquisition Utility (MCP) logo

monostate

MIT License

Quick Info

GitHub GitHub Stars 6
NPM Weekly Downloads 0
Tools 1
Last Updated 2026-02-19

Tags

apistokenssplsnipe tokenstokens raydiumcommands snipe

Sub-Second Raydium Acquisition Engine (MCP)

A low-latency utility designed for immediate token acquisition on the Raydium Decentralized Exchange, featuring distributed execution capabilities and integration with advanced generative AI models.

Synopsis

This utility leverages the Model Context Protocol (MCP) to interface seamlessly with an AI assistant (e.g., Claude), enabling intuitive, narrative-based commands for executing token buys (sniping) on the Solana-based Raydium DEX. Core functionalities encompass:

  • Geographic Distribution: Deployment of serverless execution agents across major continents (North America, Asia, Europe) to minimize transaction latency.
  • Stream Monitoring: Persistent WebSocket subscriptions for immediate notification upon new liquidity pool instantiation.
  • Index Querying: Leveraging GraphQL endpoints for rapid lookup and verification of pool parameters.
  • AI Orchestration: Accepting complex operational instructions via natural language processing.
  • Performance Target: Optimized transaction pipeline aiming for a 100-millisecond response ceiling.
  • Simulation Mode: A non-operational testing environment for feature validation without incurring blockchain costs.

Prerequisites

  • Runtime Environment: Node.js version 18 or newer (v20+ preferred).
  • Package Manager: pnpm.
  • Cryptocurrency Wallet: Configured Solana wallet possessing native SOL balance.
  • AI Interface: Local installation of the requisite AI Desktop application.
  • Cloud Infrastructure: Active Google Cloud Platform account for multi-region hosting.
  • Access Credentials:
    • Helius Platform Key (for on-chain data access).
    • Shyft Platform Key (for supplementary RPC functionality).

Initial Setup Protocol

Fundamental Configuration

  1. Repository Cloning bash git clone https://github.com/yourname/100ms-sniper-mcp.git cd 100ms-sniper-mcp

  2. Dependency Resolution bash pnpm install

  3. Environment Variable Initialization bash cp .env.example .env

    Populate the .env file with your procured credentials and private key data.

  4. Project Compilation bash pnpm run build

  5. AI Interface Launch bash pnpm run launch-claude

Test/Simulation Mode

To validate functionality without submitting live blockchain transactions:

bash pnpm run setup-demo

This command compiles the system and initiates the local AI environment connected to a mock backend, bypassing the need for live keys or funds.

Operational Directives via AI Interface

Once the MCP plugin is loaded within the AI's desktop environment, users can issue commands such as:

  • Status Query: "Display the current operational status of the Raydium acquisition agent."

  • Acquisition Command: "Execute a purchase for token DezXAZ8z7PnrnRJjz3wXBoRgixCa6xjnB7YaB1pPB263, accepting a maximum price deviation of 1%."

  • Parameter Adjustment: "Set the transaction configuration to permit 0.1 SOL deployment per trade, with a slippage tolerance of 2%."

Distributed Cloud Infrastructure Deployment

For activating the low-latency, multi-site execution framework:

  1. Cloud Configuration Script Generation bash cp cloud/.env.cloud.example cloud/.env.cloud

    Customize cloud/.env.cloud with platform IDs and sensitive deployment variables.

  2. Cloud Environment Provisioning bash pnpm run cloud:setup

  3. Compilation and Deployment Pipeline bash pnpm run cloud:build pnpm run cloud:deploy

  4. Local Configuration Update Transfer the resulting cloud function endpoints into your primary .env configuration file.

Refer to the dedicated DEPLOYMENT.md documentation for exhaustive deployment guidance.

System Component Breakdown

  • MCP Gateway: The intermediary module facilitating communication between the local system and the AI model.
  • Cloud Agents: Independent execution units residing on Google Cloud Functions, responsible for transaction submission in specific geographies.
  • Geozone Coordinator: Logic responsible for managing active connections and routing tasks across diverse geographic points.
  • Stream Handler: Manages the continuous, live listening process for Solana program events.
  • AMM Interactor: The module dedicated to precise interactions with the Raydium protocol logic.

Common Issues Resolution

  • Acquisition Failure (Pool Non-Existent): Verify the provided token mint address and confirm that corresponding liquidity has been successfully initialized on Raydium.
  • Degraded Latency: Validate the validity of all API credentials and check if rate limits imposed by external services are being exceeded.
  • Deployment Script Errors: Consult the troubleshooting section within [DEPLOYMENT.md].
  • AI Connectivity Loss: Ensure the companion AI Desktop application is correctly installed and the MCP connector is initialized properly.

Licensing

This software is released under the MIT License. See LICENSE for specifics.

See Also

`