0.1.7 • Published 8 months ago
@chrom-ar/mcp v0.1.7
Chroma MCP Client
A TypeScript client for the Model Context Protocol (MCP) using Waku for decentralized communication.
Setup
- Clone this repository
- Install dependencies:
npm install - Create a
.envfile based on the provided.env.example:cp .env.example .env - Customize your
.envfile as needed
Development
Build the project:
npm run buildStart the main application:
npm startRun in development mode with auto-reload (Not tested):
npm run devUsing with npx
Once published, you can run the MCP client directly using npx:
# Run with environment variables from a .env file in the current directory
npx @chrom-ar/mcp
# Run with a specific environment variable
npx @chrom-ar/mcp -e API_ENDPOINT=https://api.example.com
# Show help
npx @chrom-ar/mcp --help
# Show version
npx @chrom-ar/mcp --versionWhen using the npx command, the client will:
- Automatically load environment variables from a
.envfile in the current directory if it exists - Apply any environment variables provided via the
-eor--envflags - Start the MCP server
Environment Configuration
The following environment variables can be configured in your .env file:
WAKU_STATIC_PEERS- Comma-separated list of Waku peers to connect toWAKU_PING_COUNT- Number of ping attempts to make when connectingWAKU_TOPIC- Base topic name to use for communicationWAKU_CONTENT_TOPIC- Content topic format (includes PLACEHOLDER for substitution)
Configuration
Environment Variables
PROPOSAL_EXPIRATION_MINUTES: Sets how long proposals are stored before expiring (default: 10 minutes)