Skip to main content
Glama

Stampchain MCP Server

Official
index.ts2 kB
/** * Utility modules for the Stampchain MCP Server */ // Export all logger functionality export { logger, createLogger, Logger, LogLevel } from './logger.js'; export type { LoggerConfig, LogMetadata } from './logger.js'; // Export all error handling functionality export { // Error classes MCPError, ToolNotFoundError, InvalidParametersError, ToolExecutionError, ProtocolError, InternalError, AuthenticationError, RateLimitError, ResourceNotFoundError, ValidationError, // Error codes ErrorCode, // Factory functions toolNotFound, invalidParameters, toolExecutionError, protocolError, internalError, authenticationError, rateLimitError, resourceNotFound, validationError, // Utility functions isMCPError, wrapError, createErrorResponse, } from './errors.js'; // Export error context utilities export { type StandardErrorContext, type MCPErrorContext, ErrorContextBuilder, createErrorContext, createMCPErrorContext, ErrorContextPatterns, logErrorContext, formatErrorWithContext, } from './error-context.js'; // Export MCP error handler utilities export { type ErrorHandlingConfig, type ErrorHandlingResult, MCPErrorHandler, defaultErrorHandler, handleMCPError, handleValidationError, handleAPIError, throwMCPError, throwMCPValidationError, withErrorHandling, } from './mcp-error-handler.js'; // Export MCP response formatter utilities export { type MCPErrorResponseConfig, MCPResponseFormatter, defaultResponseFormatter, createMCPErrorResponse, throwMCPCompliantError, createSuccessResponse, validateMCPResponse, } from './mcp-response-formatter.js'; export type { JsonRpcError } from './errors.js'; // Export formatter utilities export * from './formatters.js'; // Export validator utilities export * from './validators.js'; // Export transformer utilities export * from './transformers.js'; // Export performance monitoring utilities export * from './performance-monitor.js';

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/stampchain-io/stampchain-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server