Skip to content

v2.1.0 - Official GenLayer API Syntax + API Docs Lookup Tool

Latest

Choose a tag to compare

@albert-mr albert-mr released this 23 Dec 17:20
· 6 commits to main since this release

🎉 Release v2.1.0

⚠️ Breaking Changes

Updated to align with the official GenLayer API documentation:

Before After
gl.eq_principle_strict_eq() gl.eq_principle.strict_eq()
gl.eq_principle_prompt_comparative() gl.eq_principle.prompt_comparative()
gl.eq_principle_prompt_non_comparative() gl.eq_principle.prompt_non_comparative()
gl.exec_prompt() gl.nondet.exec_prompt()
VectorStore VecDB from genlayer_embeddings
f64 type float (standard Python)

✨ New Features

fetch_latest_api_docs MCP Tool

  • Fetches the latest GenLayer API documentation from the official source
  • Supports topic filtering: types, decorators, web_access, llm, consensus, storage, events, contract_structure, message_access, evm_integration
  • Source: https://sdk.genlayer.com/main/_static/ai/api.txt

📦 Installation

npm install -g @anthropic/claude-code
npx @anthropic/claude-code settings mcp add @albert-mr/genlayer-mcp-server

Or install directly:

npm install @albert-mr/genlayer-mcp-server

📋 Upgrade Notes

If you have existing contracts using the old syntax, you'll need to update them to use the new official API syntax. The generated contracts will now use the correct syntax automatically.


🤖 Generated with Claude Code