HiveAuth MCP Server
Utilizes .ENV for configuration management, allowing users to customize server settings like the HiveAuth API base URL.
Integrates with the HiveAuth ecosystem on the Hive blockchain, exposing credential management capabilities including issuing verifiable credentials, verification, revocation, and presentation handling.
Provides package management through npm for installation, building, and running the server.
Built on TypeScript for a production-ready implementation with comprehensive error handling and validation.
Planned integration for tool input validation using Zod schemas to ensure proper data formatting.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@HiveAuth MCP Server verify this university degree credential for authenticity"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
HiveAuth MCP Server
A Model Context Protocol (MCP) server that provides tools for verifiable credential operations using the HiveAuth ecosystem. This server exposes HiveAuth's credential management capabilities to LLM applications via the standardized MCP interface.
Overview
The HiveAuth MCP Server provides these tools to LLM applications:
Issue Credential: Create new verifiable credentials with HiveAuth
Verify Credential: Verify individual credentials for authenticity and status
Verify Presentation: Verify complete presentations containing multiple credentials
Revoke Credential: Revoke credentials using status lists
Create Presentation Definition: Build DIF Presentation Exchange definitions
Evaluate Presentation: Test credentials against presentation definitions
Related MCP server: Agentforce MCP Integration Server
Installation
cd hiveauth-mcp
npm installConfiguration
Copy the example environment file and configure:
cp .env.example .envKey environment variables:
HIVEAUTH_API_BASE_URL: URL of the main HiveAuth application (default: http://localhost:3000)
Usage
As an MCP Server
The server is designed to be used with MCP-compatible clients (like Claude Desktop, IDEs with MCP support, etc.):
# Start the server
npm run devThe server communicates via stdio and will be available for MCP clients to connect to.
Building for Production
npm run build
npm startAvailable Tools
issue_credential
Issues a new verifiable credential using HiveAuth.
Parameters:
credentialSubject(object): The subject data for the credentialtype(array): Credential types (e.g., ["VerifiableCredential", "EducationCredential"])vcVersion(string, optional): VC Data Model version ("1.1" or "2.0", default: "2.0")expirationDate(string, optional): ISO 8601 expiration date
verify_credential
Verifies a verifiable credential for authenticity and status.
Parameters:
credential(object): The verifiable credential to verify
verify_presentation
Verifies a verifiable presentation containing multiple credentials.
Parameters:
presentation(object): The verifiable presentation to verify
revoke_credential
Revokes a verifiable credential using status lists.
Parameters:
credentialId(string): The ID of the credential to revokestatusListIndex(number): The status list index of the credential
create_presentation_definition
Creates a DIF Presentation Exchange definition for requesting specific credentials.
Parameters:
id(string): Unique identifier for the presentation definitionname(string, optional): Human-readable namepurpose(string, optional): Purpose of the presentation requestinputDescriptors(array): Input descriptors defining what credentials are requested
evaluate_presentation
Evaluates credentials against a presentation definition using DIF PEX.
Parameters:
presentationDefinition(object): The presentation definition to evaluate againstcredentials(array): Array of credentials to evaluate
Integration with LLM Applications
This MCP server allows LLM applications to:
Issue credentials on behalf of users: Create education, employment, or other types of credentials
Verify credentials in real-time: Check authenticity and revocation status
Build presentation requests: Create complex credential requirements using DIF PEX
Evaluate credential compliance: Test if available credentials meet specific requirements
Manage credential lifecycle: Handle revocation and status updates
Example Usage in Claude Desktop
Add this server to your Claude Desktop MCP configuration:
{
"mcpServers": {
"hiveauth": {
"command": "node",
"args": ["/path/to/hiveauth-mcp/dist/index.js"],
"env": {
"HIVEAUTH_API_BASE_URL": "http://localhost:3000"
}
}
}
}Then you can ask Claude to:
"Issue a university degree credential for John Smith with Computer Science major"
"Verify this credential for authenticity"
"Create a presentation definition requesting employment credentials"
"Check if these credentials satisfy the job application requirements"
Architecture
MCP SDK: Built on the official Model Context Protocol TypeScript SDK
HiveAuth Integration: Calls HiveAuth API endpoints for all credential operations
Tool-based Interface: Exposes functionality as discrete, composable tools
Standards Compliance: Supports W3C VC Data Model 1.1/2.0 and DIF Presentation Exchange
Development Status
This implementation includes:
✅ Complete MCP server with stdio transport
✅ All core HiveAuth credential operations as tools
✅ W3C VC 1.1 and 2.0 support
✅ DIF Presentation Exchange Protocol integration
✅ Comprehensive error handling and validation
✅ Production-ready TypeScript implementation
🚧 HTTP transport support
🚧 Authentication/authorization mechanisms
🚧 Tool input validation with Zod schemas
Available Tools
13 toolsbatch_issue_credentialsB
Issue multiple verifiable credentials in parallel or sequentially. Supports up to 50 credentials per batch with comprehensive error handling and performance metrics.
Inputs: credentials (required), parallel.
batch_verify_credentialsA
Verify multiple verifiable credentials efficiently. Supports parallel processing, early termination on errors, and detailed verification statistics.
Inputs: credentials (required), parallel, stopOnFirstError.
create_presentation_definitionC
Create a DIF Presentation Exchange v2.0 definition for requesting specific credentials. Defines input descriptors and constraints for credential selection.
Inputs: id (required), inputDescriptors (required), name, purpose.
derive_credentialC
Derive credentials with selective disclosure using JSON-LD frames. Supports credential chaining and zero-knowledge proofs for privacy-preserving presentations.
Inputs: originalCredential (required), frame (required), nonce.
evaluate_presentationC
Evaluate credentials against a presentation definition using DIF Presentation Exchange Protocol. Tests credential compliance and matching.
Inputs: presentationDefinition (required), credentials (required).
generate_presentation_requestC
Generate complete presentation request flows with DIF PEX v2.0 definitions. Creates wallet-ready requests with security features, human-readable instructions, and multiple format support.
Inputs: presentationDefinition (required), verifierDid, callbackUrl, challenge, +4 more.
issue_credentialC
Issue a new verifiable credential using HiveAuth. Supports both W3C VC Data Model 1.1 and 2.0 formats with comprehensive validation.
Inputs: credentialSubject (required), type (required), vcVersion, expirationDate, +3 more.
refresh_credentialB
Refresh expiring or expired credentials using W3C Credential Refresh specification. Supports automatic service discovery and credential lifecycle management.
Inputs: credentialId (required), refreshService.
revoke_credentialC
Revoke a verifiable credential using W3C Status List 2021 specification. Updates the credential status in the bitstring status list.
Inputs: credentialId (required), statusListIndex (required), reason.
submit_presentationC
Create and submit verifiable presentations from evaluation results. Builds presentations that satisfy DIF PEX v2.0 requirements with holder binding and proof generation.
Inputs: presentationDefinition (required), credentials (required), holderDid, challenge, +1 more.
validate_presentation_definitionA
Validate presentation definitions against DIF PEX v2.0 specification. Performs comprehensive compliance checking, best practices validation, and provides improvement recommendations.
Inputs: presentationDefinition (required), strict, checkSchemas.
verify_credentialA
Verify a verifiable credential for authenticity, integrity, and revocation status. Checks signature, issuer validity, and status list compliance.
Inputs: credential (required).
verify_presentationC
Verify a verifiable presentation containing multiple credentials. Validates presentation signature, holder verification, and all included credentials.
Inputs: presentation (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 13 tools
Each tool has a clearly distinct purpose targeting specific operations in the verifiable credentials domain, such as issuing, verifying, refreshing, revoking, and managing presentations. The descriptions highlight unique functions like batch processing, selective disclosure, and compliance validation, with no apparent overlap that would cause agent confusion.
All tool names follow a consistent verb_noun pattern with underscores, such as 'issue_credential', 'verify_credential', and 'create_presentation_definition'. This uniformity makes the tool set predictable and easy to navigate, supporting clear agent selection.
With 13 tools, the server is well-scoped for its domain of verifiable credentials management, covering essential operations like issuance, verification, revocation, and presentation handling. Each tool earns its place by addressing a specific aspect of the workflow without redundancy or bloat.
The tool set provides comprehensive coverage of the verifiable credentials lifecycle, including CRUD-like operations (issue, verify, revoke, refresh) and advanced features like presentation definitions and evaluations. There are no obvious gaps, ensuring agents can handle end-to-end workflows without dead ends.
Related MCP Connectors
Model Context Protocol server for the Apideck Unified API. Connect any MCP-compatible agent framework to 100+ accounting systems, HRIS platforms, file storage providers, and more through one integration. More information https://www.apideck.com/mcp-server
MCP server for verifying EUDI/Talao wallet data via OIDC4VP (pull) for AI agents.
MCP server bridging holepunchto/keet-identity-key to the Hive agentic identity network
An MCP server that provides an API to LLMs to manage their JumpCloud resources.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceA Model Context Protocol server that bridges MCP clients with local LLM services, enabling seamless integration with MCP-compatible applications through standard tools like chat completion, model listing, and health checks.-
- AlicenseNot gradedqualityDmaintenanceEnables MCP clients to connect to LLM/API services using the Model Context Protocol, providing real-time interaction and tool access. Also offers RESTful API endpoints via FastAPI for programmatic integration with existing systems.Apache 2.0
- AlicenseNot gradedqualityDmaintenanceMCP server for Citizen of the Cloud — agent identity verification, trust scoring, and registry access for any AI runtime that speaks the Model Context Protocol.8 npmMIT
- AlicenseNot gradedqualityDmaintenanceModel Context Protocol server that standardizes tool discovery, execution, and context management for AI applications.MIT