z1labs
MCP Serverz1labspublic

mcp core

Chain-agnostic protocol for verifiable AI context — commit model hashes, manifests, and zk stubs onchain with gas-efficient contracts.

Repository Info

4
Stars
0
Forks
4
Watchers
0
Issues
TypeScript
Language
-
License

About This Server

Chain-agnostic protocol for verifiable AI context — commit model hashes, manifests, and zk stubs onchain with gas-efficient contracts.

Model Context Protocol (MCP) - This server can be integrated with AI applications to provide additional context and capabilities, enabling enhanced AI interactions and functionality.

Documentation

🧬 MCP Core

MCP Core is the reference implementation of the Model Context Protocol — a lightweight, zk- and chain-friendly system for verifiable, composable model context commitments onchain.

It glues together three simple artifacts:

  • 🧠 Model Hash — SHA-256 / Blake3 digest of model weights or prompt
  • 📄 Context Manifest — JSON metadata (datasets, hyperparameters, license, etc.)
  • 🔐 Proof Stub — zk-friendly cryptographic commitment (Poseidon, Keccak, Rescue) Built for composability, speed, and low-gas operations across EVM and non-EVM chains.

🌐 What is MCP?

The Model Context Protocol (MCP) defines a minimal, verifiable, and gas-efficient standard for binding AI model metadata to onchain identities.

It enables features like:

  • Onchain agent memory
  • Auditable model registries
  • Context-linked NFTs
  • DAO explainers & context badges

🔧 Contracts Overview

It allows users to:

  • putContext(bytes32 modelHash, bytes32 contextCID)
  • getContext(address agent) → (modelHash, contextCID)

The contract is chain-agnostic but optimized for low gas on EVM via hash precompiles.

✍️ Example: putContext()

const modelHash = ethers.utils.sha256("gpt-weights-v1");
const contextCID = ethers.utils.sha256("manifest.json");

await contextStore.putContext(modelHash, contextCID);

All context is stored onchain as hash commitments — raw data remains offchain and private.

🧠 MCP Use Cases

Explore dApps built with MCP:

  • Contextual GPT Agent w/ Wallet Memory
  • DAO Proposal Explainer
  • AI Chat History NFT
  • Mintable AI Agents
  • Verifiable Context Badges

See roadmap → https://z1labs.ai/roadmap

Quick Start

1

Clone the repository

git clone https://github.com/z1labs/mcp-core
2

Install dependencies

cd mcp-core
npm install
3

Follow the documentation

Check the repository's README.md file for specific installation and usage instructions.

Repository Details

Ownerz1labs
Repomcp-core
LanguageTypeScript
License-
Last fetched8/10/2025

Recommended MCP Servers

💬

Discord MCP

Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.

integrationsdiscordchat
🔗

Knit MCP

Connect AI agents to 200+ SaaS applications and automate workflows.

integrationsautomationsaas
🕷️

Apify MCP Server

Deploy and interact with Apify actors for web scraping and data extraction.

apifycrawlerdata
🌐

BrowserStack MCP

BrowserStack MCP Server for automated testing across multiple browsers.

testingqabrowsers

Zapier MCP

A Zapier server that provides automation capabilities for various apps.

zapierautomation