Cardano MCP Server

Cardano MCP Server

cardano_mcp•byjimmyh-world

A specialized gateway built on the official MCP TypeScript SDK that simplifies Cardano blockchain integration, providing streamlined access to Cardano documentation, tools, and best practices.

License: MIT License•Runtime: Awaiting documentation review•Category: developer tools

WHAT IT DOES

  • •Provides unified access to Cardano ecosystem documentation and integration with Blockfrost, Maestro, and other provider APIs.
  • •Offers MCP resources for reading documentation, such as Blockfrost API docs and smart contract security patterns.
  • •Indexes and serves GitHub repository content including READMEs and specific files as MCP resources.
  • •Exposes MCP tools such as generate-wallet-connector for wallet connection code and validate-contract for smart contract security validation.

BEST FOR

  • •Developers integrating Cardano wallets who need generated wallet connection code for wallets like Nami.
  • •Smart contract developers seeking security-first templates and automated contract security validation.
  • •Developers who need context-aware retrieval of Cardano documentation and GitHub repository content.

ABOUT CARDANO_MCP

Cardano MCP Server is cataloged as an MCP server attributed to jimmyh-world. A specialized gateway built on the official MCP TypeScript SDK that simplifies Cardano blockchain integration, providing streamlined access to Cardano documentation, tools, and best practices. It is categorized under developer tools. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: MIT License. Check the source repository's current license and terms before using, modifying or distributing this software.

能力检查器

能力定义尚未审核。未核验的采集内容不会作为可信接口展示。

Tools (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Resources (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Prompts (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for Cardano MCP Server are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

What transports can the Cardano MCP server run with?

It can be started with either stdio or SSE transport.

What technology stack does the Cardano MCP server use?

It is written in TypeScript and built on the Model Context Protocol SDK, with Jest for testing and ESLint plus Prettier for code quality.

上游原版 README

在 GitHub 查看同一版本原文

README.md · 76b76bbd1278 · 采集于 2026-11-13 11:00:13 UTC

保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。

当前显示最后一次成功采集的文档快照,请以来源页面为准。

Cardano MCP Server

Overview

The Cardano Model Context Protocol (MCP) Server is a specialized gateway that simplifies Cardano blockchain integration for application developers. Built on the official MCP TypeScript SDK, it provides streamlined access to Cardano documentation, tools, and best practices.

Core Objectives

  1. Documentation Integration

    • Unified access to Cardano ecosystem documentation
    • Integration with Blockfrost, Maestro, and other provider APIs
    • Smart contract development guides and patterns
  2. Frontend Development Support

    • Wallet connection templates and utilities
    • Transaction building patterns
    • UI component templates
  3. Smart Contract Development

    • Security-first contract templates
    • Automated security validation
    • Best practice enforcement

Architecture

src/
├── server/           # MCP Server implementation
│   ├── mcpServer.ts  # CardanoMcpServer class
│   ├── integrations/ # Module integration
│   ├── resources/    # MCP resources
│   ├── tools/        # MCP tools
│   └── prompts/      # MCP prompts
├── knowledge/        # Documentation and knowledge base
│   └── processors/   # Documentation processors
├── repositories/     # Repository indexing module
│   ├── configs/      # Repository configurations
│   ├── processors/   # Repository content processors
│   ├── githubClient.ts # GitHub API client
│   ├── indexer.ts    # Repository indexer
│   ├── registry.ts   # Repository registry
│   ├── storage.ts    # Content storage
│   └── types.ts      # Type definitions
├── types/            # Type definitions
├── utils/            # Utility functions
│   └── errors/       # Error handling system
│       ├── core/     # Core error classes
│       ├── factories/# Error factory classes
│       ├── handlers/ # Error handlers (retry, etc.)
│       └── types/    # Error type definitions
├── tools/            # Development tools and utilities
├── prompts/          # Prompt templates and configurations
└── index.ts          # MCP server entry point

Technology Stack

  • TypeScript
  • Model Context Protocol SDK
  • Jest for testing
  • ESLint + Prettier for code quality

Development Approach

  • Test-Driven Development (TDD)
  • KISS (Keep It Simple, Stupid) principle
  • DRY (Don't Repeat Yourself) principle
  • Security-first mindset
  • Comprehensive error handling
  • Continuous Integration/Continuous Delivery (CI/CD)
    • GitHub Actions workflow for automated testing and quality assurance
    • ESLint, TypeScript type checking, and Prettier format verification
    • Parallel test execution for improved performance
    • Test coverage threshold enforcement (>90% line coverage)
    • Documentation generation (planned)

Getting Started

Prerequisites

  • Node.js >= 16.0.0
  • npm or yarn
  • TypeScript knowledge
  • Basic Cardano understanding

Installation

# Install dependencies
npm install

# Build the project
npm run build

# Start the MCP server with stdio transport
npm start

# Start the MCP server with SSE transport
npm run start:sse

Testing

The project uses Jest for testing with a modular configuration approach. Tests are organized by module and type:

  • Unit Tests: Located in tests/unit/

    • knowledge/: Tests for the knowledge module components
    • repositories/: Tests for the repository indexing module
    • utils/: Tests for utility functions, including error handling
    • server/: Tests for server components
  • Integration Tests: Located in tests/integration/

    • Tests that verify the interaction between multiple components

Running Tests

# Run all tests
npm test

# Run tests with coverage report
npm run test:coverage

# Run specific test categories
npm run test:knowledge     # Run knowledge module tests
npm run test:repository    # Run repository tests
npm run test:errors        # Run error handling tests
npm run test:server        # Run server integration tests
npm run test:debug         # Run tests with debugging options

# Run standalone tests (without mock server)
npm run test:repository:standalone  # Run repository tests without server
npm run test:errors:standalone      # Run error tests without server

For comprehensive documentation on testing, see TESTING.md.

We use a modular approach to test configuration:

For detailed information on test categories and recent improvements, see:

Usage Examples

Documentation Access

// Access Blockfrost API documentation
const docs = await client.readResource('docs://blockfrost/api');

// Get smart contract security patterns
const patterns = await client.readResource('docs://cardano/contracts/security');

Repository Access

// Access a GitHub repository README
const readme = await client.readResource('repository://input-output-hk/cardano-node');

// Get a specific file from a repository
const file = await client.readResource('repository://input-output-hk/cardano-node/file/README.md');

// List files in a repository
const files = await client.readResource('repository://input-output-hk/cardano-node/files');

Wallet Integration

// Generate wallet connection code
const result = await client.callTool({
  name: 'generate-wallet-connector',
  arguments: {
    walletType: 'nami',
    network: 'testnet',
  },
});

Smart Contract Development

// Validate smart contract security
const result = await client.callTool({
  name: 'validate-contract',
  arguments: {
    code: contractCode,
  },
});

Project Documentation

License

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgments

  • Model Context Protocol team for the TypeScript SDK
  • Cardano community for documentation and resources
  • Contributors and maintainers

Modules

Knowledge Module

The Knowledge module provides functionality for processing and accessing documentation from various sources. It includes components for fetching, parsing, validating, and extracting structured content from HTML and Markdown documents.

Key features:

  • HTML validation and cleaning
  • Section extraction and metadata generation
  • Markdown processing
  • Error handling with retry capabilities
  • ~92.39% test coverage

For detailed information, see the knowledge module documentation.

Additional documentation:

Repositories Module

The Repositories module provides functionality for indexing, querying, and managing GitHub repositories. This module enables the retrieval and processing of repository content, making it available for context-aware operations.

Key features:

  • Fetch and index GitHub repositories
  • Process README files for structured content
  • Maintain a registry of available repositories
  • Store repository content for efficient access
  • 80% branch coverage

For detailed information, see the repositories documentation.

Additional documentation:

Error Handling System

The Error Handling system provides a comprehensive approach to managing errors throughout the application. It includes specialized error classes, factories for creating domain-specific errors, and handlers for common error scenarios.

Key features:

  • AppError base class with serialization support
  • Error factories for different domains (network, documentation, etc.)
  • Retry handler with configurable retry logic
  • Consistent error codes and status codes
  • ~93% test coverage

For detailed information, see the error handling documentation.

Context Assembly Module (Coming Soon)

The Context Assembly Module will serve as the bridge between the Knowledge and Repositories modules, providing comprehensive contextual information for LLM prompts and responses.

Key features:

  • Multi-source retrieval from documentation and repositories
  • Relevance ranking based on user queries
  • Context window optimization for LLMs
  • Source attribution and confidence indicators

For detailed information, see the context assembly documentation.

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for Cardano MCP Server from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/cardano_mcp)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

下载与拉取统计

来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。

尚无已审核的包 / 镜像标识,暂不展示下载统计。

Related developer tools MCP Servers

Alternative and complementary servers in the same category

View all in developer tools →
Postbye
postbye-mcp•postbye-team

A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

Repository stats unavailable
Developer Tools
Singapore Proxy MCP
singapore-proxy-mcp•Xavierfok

A hosted MCP service for browsing and searching through Singapore mobile-network proxies.

0
Developer Tools

A directory listing describing a Markdown-to-PDF service. The configured public GitHub repository returned 404 during source verification.

Repository stats unavailable
Developer Tools