developer-tools

Stampchain MCP Server

stampchain-io

by stampchain-io

Stampchain MCP Server — access Bitcoin stamp data via the Stampchain API. Query stamps, collections and blockchain info

A Model Context Protocol server that enables interaction with Bitcoin Stamps data via the Stampchain API, providing tools for querying stamp information, collections, and blockchain data without requiring authentication.

github stars

0

0 commentsdiscussion

Both formats append explainx.ai attribution and the canonical URL for this MCP server listing.

No API key neededDirect Stampchain API integration

best for

  • / Bitcoin developers working with Stamps protocol
  • / NFT researchers analyzing Bitcoin-based assets
  • / Blockchain data analysis and research

capabilities

  • / Query Bitcoin stamp information and metadata
  • / Browse stamp collections and their details
  • / Retrieve blockchain data for stamps
  • / Search stamps by various criteria
  • / Access stamp transaction history

what it does

Provides access to Bitcoin Stamps data and collections through the Stampchain API. Query stamp information, collections, and related blockchain data directly from your AI assistant.

about

Stampchain MCP Server is an official MCP server published by stampchain-io that provides AI assistants with tools and capabilities via the Model Context Protocol. Stampchain MCP Server — access Bitcoin stamp data via the Stampchain API. Query stamps, collections and blockchain info It is categorized under developer tools.

how to install

You can install Stampchain MCP Server in your AI client of choice. Use the install panel on this page to get one-click setup for Cursor, Claude Desktop, VS Code, and other MCP-compatible clients. This server runs locally on your machine via the stdio transport.

license

MIT

Stampchain MCP Server is released under the MIT license. This is a permissive open-source license, meaning you can freely use, modify, and distribute the software.

readme

Stampchain MCP Server

CI npm version TypeScript License: MIT Node.js MCP Stampchain API

A Model Context Protocol (MCP) server for interacting with Bitcoin Stamps and SRC-20 token data via the Stampchain API. This server provides MCP-compatible clients with tools to query Bitcoin Stamps, collections, and SRC-20 tokens.

Features

  • Bitcoin Stamps Tools: Get stamp details, search stamps, and retrieve recent stamps
  • Stamp Collections: Query collections and search through collection data
  • SRC-20 Tokens: Get token information and search through SRC-20 tokens
  • Type-safe: Built with TypeScript and Zod validation
  • Comprehensive Testing: Full test coverage with CI validation
  • Configurable: Flexible configuration options for different environments
  • Cross-platform: Works on Ubuntu, Windows, and macOS with Node.js 18+

Quick Start

Prerequisites

  • Node.js 18+
  • npm or yarn

Installation

  1. Clone the repository:

    git clone https://github.com/stampchain-io/stampchain-mcp.git
    cd stampchain-mcp
    
  2. Install dependencies:

    npm install
    
  3. Build the project:

    npm run build
    
  4. Test the installation:

    npm run start
    

MCP Client Integration

Claude Desktop

To use with Claude Desktop, add the following to your claude_desktop_config.json:

{
  "mcpServers": {
    "stampchain": {
      "command": "node",
      "args": ["/path/to/stampchain-mcp/dist/index.js"],
      "cwd": "/path/to/stampchain-mcp"
    }
  }
}

Alternative: Using npx (recommended)

For easier setup without local installation:

{
  "mcpServers": {
    "stampchain": {
      "command": "npx",
      "args": ["-y", "stampchain-mcp"]
    }
  }
}

Note: Replace /path/to/stampchain-mcp with the actual path to your installation directory.

Other MCP Clients

This server implements the standard MCP protocol and can be used with any MCP-compatible client. Refer to your client's documentation for specific configuration instructions. The server accepts connections via stdio transport.

Available Tools

Bitcoin Stamps

  • get_stamp - Get detailed information about a specific stamp by ID
  • search_stamps - Search stamps with various filters (creator, collection, etc.)
  • get_recent_stamps - Get the most recently created stamps

Stamp Collections

  • get_collection - Get detailed information about a specific collection
  • search_collections - Search collections with filters

SRC-20 Tokens

  • get_token_info - Get detailed information about a specific SRC-20 token
  • search_tokens - Search SRC-20 tokens with various filters

Configuration

The server can be configured through:

  1. Configuration file (JSON format)
  2. Environment variables
  3. Command line arguments

Example Configuration File

{
  "api": {
    "baseUrl": "https://stampchain.io/api",
    "timeout": 30000,
    "retries": 3
  },
  "logging": {
    "level": "info"
  },
  "registry": {
    "maxTools": 1000,
    "validateOnRegister": true
  }
}

Environment Variables

  • STAMPCHAIN_API_URL - API base URL (default: https://stampchain.io/api)
  • STAMPCHAIN_LOG_LEVEL - Logging level (debug, info, warn, error)
  • STAMPCHAIN_API_TIMEOUT - API timeout in milliseconds

Command Line Usage

# Start with default configuration
npm run start

# Start with custom config file
npm run start -- --config config.json

# Start with debug logging
npm run start -- --log-level debug

# Show available tools
npm run tools

# Show version information
npm run version

Development

Scripts

  • npm run dev - Start development server with hot reload
  • npm run build - Build the TypeScript project
  • npm run test - Run all tests
  • npm run test:watch - Run tests in watch mode
  • npm run test:coverage - Run tests with coverage report
  • npm run typecheck - TypeScript type checking
  • npm run format - Format code with Prettier
  • npm run validate - Full validation suite

Testing

The project includes comprehensive test coverage:

# Run all tests
npm test

# Run with coverage
npm run test:coverage

# Run in watch mode during development
npm run test:watch

Project Structure

src/
├── api/           # API client and related utilities
├── config/        # Configuration management
├── interfaces/    # TypeScript interfaces
├── protocol/      # MCP protocol handlers
├── schemas/       # Zod validation schemas
├── tools/         # MCP tool implementations
├── utils/         # Utility functions
├── index.ts       # Main entry point
└── server.ts      # Server implementation

API Reference

Tool Parameters

All tools accept various parameters for filtering and pagination:

  • limit - Number of results to return (default: 10, max: 100)
  • page - Page number for pagination (default: 1)
  • sort - Sort field and direction (e.g., "created_desc")

Response Format

All tools return structured data with:

  • success - Boolean indicating if the request was successful
  • data - The requested data (stamps, collections, tokens)
  • pagination - Pagination information when applicable
  • error - Error details if the request failed

Troubleshooting

Common Issues

  1. Build Errors: Ensure you have Node.js 18+ and run npm install first
  2. Connection Issues: Check that the Stampchain API is accessible
  3. MCP Client Integration: Verify the path in your configuration file is correct

Debugging

Enable debug logging to see detailed information:

npm run start -- --debug

Or set the log level in your configuration:

{
  "logging": {
    "level": "debug"
  }
}

Development

Test Coverage

This project maintains comprehensive test coverage across multiple areas:

  • Unit Tests - Core utilities and helper functions
  • Integration Tests - MCP server functionality
  • API Validation - Ensures v2.3 API compatibility
  • Schema Validation - TypeScript and Zod schema alignment
  • Cross-platform - Tested on Ubuntu, Windows, and macOS
  • Multi-version - Node.js 18.x, 20.x, and 22.x support
  • Real API Testing - Validates against live Stampchain API v2.3

Detailed Testing Commands

# Run specific test suites
npm run test:unit         # Unit tests for utilities and helpers
npm run test:integration  # Integration tests for MCP server
npm run test:api         # API validation tests (v2.3 compatibility)
npm run test:tools       # Tool functionality tests
npm run test:schemas     # Schema validation tests

# Advanced testing options
npm run test:ui          # Run tests in UI mode (interactive)
npm run test:ci          # CI test run (includes coverage)
npm run validate         # Full validation (schema + typecheck + format + tests)

Development Workflow

  1. Install dependencies: npm install
  2. Start development server: npm run dev
  3. Run tests in watch mode: npm run test:watch
  4. Validate before commit: npm run validate

Contributing

  1. Fork the repository
  2. Create a feature branch: git checkout -b feature/new-feature
  3. Make your changes
  4. Run tests: npm test
  5. Commit your changes: git commit -am 'Add new feature'
  6. Push to the branch: git push origin feature/new-feature
  7. Submit a pull request

Code Style

  • Use TypeScript for all new code
  • Follow TypeScript strict mode guidelines
  • Write tests for new features
  • Update documentation as needed
  • Run npm run validate before submitting PRs

License

MIT License - see LICENSE file for details.

Support

Changelog

v0.2.0

  • Stampchain API v2.3 Compatibility: Updated schemas and validation for latest API
  • Enhanced Testing: Comprehensive test suite with cross-platform CI validation
  • Improved Documentation: Professional README with status badges and better organization
  • Simplified Development: Streamlined validation pipeline (TypeScript + Prettier)
  • Bug Fixes: Resolved CI issues and schema validation improvements

v0.1.0

  • Initial release
  • Basic Bitcoin Stamps, Collections, and SRC-20 tools
  • MCP client integration
  • Comprehensive test suite

FAQ

What is the Stampchain MCP Server MCP server?
Stampchain MCP Server is a Model Context Protocol (MCP) server profile on explainx.ai. MCP lets AI hosts (e.g. Claude Desktop, Cursor) call tools and resources through a standard interface; this page summarizes categories, install hints, and community ratings.
How do MCP servers relate to agent skills?
Skills are reusable instruction packages (often SKILL.md); MCP servers expose live capabilities. Teams frequently combine both—skills for workflows, MCP for APIs and data. See explainx.ai/skills and explainx.ai/mcp-servers for parallel directories.
How are reviews shown for Stampchain MCP Server?
This profile displays 26 aggregated ratings (sample rows for discoverability plus signed-in user reviews). Average score is about 4.6 out of 5—verify behavior in your own environment before production use.

Use Cases

Extended AI Capabilities

Add new capabilities to Claude beyond text generation

Example

Access external data sources, execute code, interact with tools and services

Transform Claude from chatbot to action-taking agent

Context Enhancement

Provide Claude with access to relevant context and data

Example

Load project documentation, access knowledge bases, query databases

Get more accurate, context-aware responses

Workflow Automation

Automate multi-step workflows combining AI and external tools

Example

Research → Summarize → Create document → Send notification

Complete complex tasks end-to-end without manual steps

Implementation Guide

Prerequisites

  • Claude Desktop 0.7.0+ or Cursor IDE with MCP support
  • Basic understanding of MCP architecture and capabilities
  • Access credentials for integrated services (if required)
  • Willingness to experiment and iterate on configuration

Time Estimate

15-60 minutes depending on server complexity

Installation Steps

  1. 1.Install MCP server: npm install -g [package-name] or via GitHub
  2. 2.Add server configuration to ~/.claude/mcp.json
  3. 3.Provide required credentials and configuration
  4. 4.Restart Claude Desktop to load new server
  5. 5.Test basic functionality with simple prompts
  6. 6.Explore capabilities and experiment with use cases
  7. 7.Document successful patterns for reuse

Troubleshooting

  • MCP server not loading: Check config syntax, verify installation
  • Connection errors: Check network, firewall, credentials
  • Feature not working: Read server docs, check required parameters
  • Performance issues: Monitor resource usage, check for network latency
  • Conflicts with other servers: Check port assignments, namespace collisions

Best Practices

✓ Do

  • +Read server documentation thoroughly before setup
  • +Start with simple use cases to validate functionality
  • +Test in non-production environment first
  • +Monitor resource usage and performance
  • +Keep servers updated for bug fixes and new features
  • +Document configuration for team members
  • +Use environment variables for sensitive configuration

✗ Don't

  • Don't grant overly permissive access to MCP servers
  • Don't skip reading security considerations in docs
  • Don't expose sensitive data without proper controls
  • Don't run untrusted MCP servers without code review
  • Don't ignore error messages—investigate root cause

💡 Pro Tips

  • Combine multiple MCP servers for powerful workflows
  • Create custom MCP servers for your specific needs
  • Share successful configurations with team
  • Use MCP inspector for debugging
  • Join MCP community for tips and troubleshooting

Technical Details

Architecture

Model Context Protocol standardizes how AI hosts (Claude, Cursor) communicate with external tools and data sources through server implementations.

Protocols

  • Model Context Protocol (MCP)
  • JSON-RPC 2.0
  • stdio or HTTP transport

Compatibility

  • Claude Desktop
  • Cursor IDE
  • Custom MCP clients

When to Use This

✓ Use When

Use when you need Claude to access external data, execute actions, or integrate with tools. Best for extending AI capabilities beyond conversation.

✗ Avoid When

Avoid when native integrations exist (use official APIs directly), for real-time critical systems, or when security/compliance requires zero external dependencies.

Integration

  • Tool composition: Chain multiple MCP tools in workflows
  • Context augmentation: Provide AI with relevant external data
  • Action delegation: Let AI execute tasks on external systems
  • Bidirectional sync: Keep AI context and external systems in sync

Discussion

Product Hunt–style comments (not star reviews)
  • No comments yet — start the thread.

List & Promote Your MCP Server

Share your MCP server with the developer community

GET_STARTED →
MCP server reviews

Ratings

4.626 reviews
  • Kofi Desai· Dec 28, 2024

    I recommend Stampchain MCP Server for teams standardizing on MCP; the explainx.ai page compares cleanly with sibling servers.

  • Fatima Li· Dec 24, 2024

    We wired Stampchain MCP Server into a staging workspace; the listing’s GitHub and npm pointers saved time versus hunting across READMEs.

  • Pratham Ware· Dec 20, 2024

    We evaluated Stampchain MCP Server against two servers with overlapping tools; this profile had the clearer scope statement.

  • Kofi Agarwal· Nov 19, 2024

    According to our notes, Stampchain MCP Server benefits from clear Model Context Protocol framing — fewer ambiguous “AI plugin” claims.

  • Sakshi Patil· Nov 11, 2024

    Useful MCP listing: Stampchain MCP Server is the kind of server we cite when onboarding engineers to host + tool permissions.

  • Yusuf Flores· Oct 10, 2024

    Stampchain MCP Server has been reliable for tool-calling workflows; the MCP profile page is a good permalink for internal docs.

  • Chaitanya Patil· Oct 2, 2024

    Stampchain MCP Server reduced integration guesswork — categories and install configs on the listing matched the upstream repo.

  • Piyush G· Sep 21, 2024

    I recommend Stampchain MCP Server for teams standardizing on MCP; the explainx.ai page compares cleanly with sibling servers.

  • Oshnikdeep· Sep 17, 2024

    We wired Stampchain MCP Server into a staging workspace; the listing’s GitHub and npm pointers saved time versus hunting across READMEs.

  • Arjun Srinivasan· Sep 13, 2024

    Stampchain MCP Server is among the better-indexed MCP projects we tried; the explainx.ai summary tracks the official description.

showing 1-10 of 26

1 / 3