Casper Agentic Portfolio Copilot

Casper Agentic Portfolio Copilot

AI-driven portfolio dashboard and MCP server for the Casper blockchain, enabling wallet monitoring, validator staking analysis, RWA compliance checks, and on-chain transaction generation.

Category
Visit Server

README

Casper Agentic Portfolio Copilot (CAP Copilot)

CAP Copilot is a premium, AI-driven portfolio dashboard and Model Context Protocol (MCP) server designed for the Casper Agentic Buildathon 2026. It empowers users to interact with an intelligent agent to monitor wallets, analyze validator staking options, track real-world asset (RWA) compliance, and prepare on-chain transactions on the Casper Testnet.


Features

  1. Interactive AI Agent Studio: Conversational chat interface backed by a custom Casper Model Context Protocol (MCP) tool caller.
  2. Casper MCP Server: Custom Node.js/TypeScript server exposing Casper-specific blockchain query and transaction generation tools.
  3. Premium Web Dashboard: Immersive dark-mode glassmorphic user interface featuring responsive token allocation charts and live transaction logging.
  4. On-Chain Deploy Sandbox: Generates fully structured Casper transaction JSON deploys ready for signing and broadcasting.
  5. RWA Risk & Compliance Engine: Simulated loan-to-value (LTV) validator for collateralized physical assets.

Tech Stack

  • Frontend: Vanilla HTML5, Vanilla CSS3 (Custom design system, glassmorphism, responsive grid), JavaScript (ES6+, Chart.js, RemixIcons).
  • Backend/MCP Server: Node.js, Express, TypeScript, @modelcontextprotocol/sdk, casper-js-sdk.

Installation & Setup

Prerequisites

  • Node.js (v18.0.0 or higher recommended)
  • npm (v9.0.0 or higher)

Setup Steps

  1. Clone or navigate to the project directory:

    cd C:\Users\Hipiclab03\.gemini\antigravity\scratch\casper-agentic-suite
    
  2. Install dependencies:

    npm install
    
  3. Build the TypeScript files:

    npm run build
    
  4. Start the server:

    npm run start
    

The application will start, listening on port 3000. Open your browser and navigate to: šŸ‘‰ http://localhost:3000


Model Context Protocol (MCP) Tools Exposed

  • get_account_balance: Retrieve the CSPR balance of a public key.
  • get_staking_yields: Retrieve current staking options and validator APYs.
  • prepare_transfer: Generate a transfer transaction JSON ready for signing.
  • prepare_delegation: Generate a delegation staking transaction JSON.
  • analyze_rwa_risk: Analyze loan-to-value status for collateralized real-world assets.

Project Structure

casper-agentic-suite/
ā”œā”€ā”€ src/
│   ā”œā”€ā”€ server.ts      # Main Express API and MCP Server Tools definition
│   └── agent.ts       # Agent reasoning engine and tool orchestration
ā”œā”€ā”€ public/
│   ā”œā”€ā”€ index.html     # Dashboard layout
│   ā”œā”€ā”€ index.css      # Premium styling (design tokens, glassmorphism)
│   └── app.js         # Frontend controller and client-side transaction simulator
ā”œā”€ā”€ package.json       # Dependencies and build scripts
└── tsconfig.json      # TypeScript compiler settings

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