Cheqd MCP Toolkit
Officialby cheqd
README.md
# Cheqd MCP Toolkit
[](https://github.com/cheqd/mcp-toolkit/releases/latest)  [](https://github.com/cheqd/mcp-toolkit/blob/main/LICENSE)
[](https://github.com/cheqd/mcp-toolkit/releases/)  [](https://github.com/cheqd/mcp-toolkit/graphs/contributors)
[](https://github.com/cheqd/mcp-toolkit/actions/workflows/dispatch.yml) [](https://github.com/cheqd/mcp-toolkit/actions/workflows/codeql.yml) 
## ā¹ļø Overview
The `@cheqd/mcp-toolkit` is a modular framework built around the Model Context Protocol (MCP) which allows AI agents to interact with the Cheqd network. MCP standardizes AI agent interactions by providing a structured way to handle identity-related workflows. This toolkit enables AI agents to securely manage decentralized identities (DIDs), verifiable credentials, and trust registries, making it an essential component for AI-driven identity systems. This repository allows developers to configure and deploy an MCP server with the available toolkits.
## Prerequisites
- Node.js 20 or higher
- pnpm 8 or higher
- Basic knowledge of TypeScript and MCP
## š¦ Packages
### @cheqd/mcp-toolkit
The `@cheqd/mcp-toolkit` package allows you to configure and host an MCP (Model Context Protocol) server within an environment. It integrates with tools from this repository to provide a customizable infrastructure for managing identity-related operations.
Features:
- Configurable MCP server setup
- Integration with various tools from this repository
### Usage Options
#### 1. Local server via NPX
Use this to run the Cheqd MCP Server locally and pass your own environment variables.
```json
{
"mcpServers": {
"cheqd": {
"command": "npx",
"args": [
"-y",
"@cheqd/mcp-toolkit-server"
],
"env": {
"TOOLS": "credo,<other available tools>",
...
}
}
}
}
```
#### 2. Local Server via docker-compose
Use the `env.example` file and update the appropriate variables.
Also, build the local docker first with: `docker compose -f docker/docker-compose.yml build mcp-stdio-server`
```json
{
"mcpServers": {
"cheqd-docker-compose": {
"command": "docker",
"args": [
"compose",
"-f",
"/path/to/repo/mcp-toolkit/docker/docker-compose.yml",
"run",
"--rm",
"-p",
"3000:3000",
"--name",
"faber",
"-T",
"mcp-stdio-server"
]
}
}
}
```
### @cheqd/mcp-toolkit-credo
The `@cheqd/mcp-toolkit-credo` package is one of the toolkits that integrate with @openwalletfoundation/credo-ts, allowing an AI agent to manage DIDs and verifiable credentials. It provides tools for:
- Issuing and revoking credentials
- Schema and credential definition management
- DID-based authentication
- TRAIN for trust registry verification
### š Environment Variables
```bash
TOOLS="credo" # Comma separated list of Tools, as of now only 'credo'
CREDO_PORT="3000" # Port on which the Credo agent will run
CREDO_NAME="faber" # Name of the Credo Agent
CREDO_ENDPOINT="http://faber:3000" # Endpoint which Credo Agent is accessible externally
CREDO_CHEQD_TESTNET_MNEMONIC="your-mnemonic-phrase" # Your Testnet mnemonic phrase
TRAIN_ENDPOINT="https://dev-train.trust-scheme.de/tcr/v1/" # The TRAIN endpoint for verification of trust registry
PORT="5000" # The Port where the Remote MCP Server will run
```
## Developer Options
### Development Setup
#### 1. Install pnpm
If you don't already have pnpm installed:
```bash
npm install -g pnpm
```
#### 2. Clone the repository
```bash
git clone https://github.com/cheqd/mcp-toolkit.git
cd mcp-toolkit
```
#### 3. Install dependencies
```bash
pnpm install
```
#### 4. Build the packages
```bash
pnpm build
```
## š Documentation
For comprehensive details on the Cheqd MCP Toolkit, usage examples, and AI agent integrations, please refer to our official documentation:
š [MCP Documentation on cheqd.io](https://docs.cheqd.io/product/getting-started/ai-agents/trust-registry/setup-mcp)
The documentation covers advanced topics including:
- Architecture and design of MCP
- Integrating MCP with AI agents
- Real-world use cases and patterns
- Security and trust model
- Deployment recommendations
## š¬ Community
Our [**Discord server**](http://cheqd.link/discord-github) is the primary chat channel for our open-source community, software developers, and node operators.
Please reach out to us there for discussions, help, and feedback on the project.
## š Find us elsewhere
[](https://t.me/cheqd) [](http://cheqd.link/discord-github) [](https://twitter.com/intent/follow?screen\_name=cheqd\_io) [](http://cheqd.link/linkedin) [](https://blog.cheqd.io) [](https://www.youtube.com/channel/UCBUGvvH6t3BAYo5u41hJPzw/)
This server cannot be deployed
Maintenance
ActivityNo data
ResponsivenessOutdated data