README.md•2.04 kB
⚠️⚠️⚠️ This is an experimental project ⚠️⚠️⚠️
```terminal
__ ___ ____ _ ____ __ _____________
/ |/ /_ __/ / /_(_) __ )____ _____ ______ / |/ / ____/ __ \
/ /|_/ / / / / / __/ / __ / __ `/ __ `/ ___/ / /|_/ / / / /_/ /
/ / / / /_/ / / /_/ / /_/ / /_/ / /_/ (__ ) / / / / /___/ ____/
/_/ /_/\__,_/_/\__/_/_____/\__,_/\__,_/____/ /_/ /_/\____/_/
4D 75 6C 74 69 42 61 61 73 4D 43 50
```
⚠️⚠️⚠️ PLEASE BE AWARE OF ANY POTENTIAL ERRORS AND BUGS ⚠️⚠️⚠️
# Curvegrid's MultiBaas MCP Server
A Model Context Protocol (MCP) server for Curvegrid's MultiBaas platform, enabling AI assistants to interact with blockchain data and smart contracts.
## Installation
You can configure the server in two ways:
1. Claude Code:
If you want to just test it in under this project
```bash
npm install && npm build && claude mcp add multibaas -e API_KEY='<YOUR_MULTIBAAS_API_KEY>' BASE_URL='https://<YOUR_MULTIBAAS_DEPLOYMENT>.multibaas.com' -- ./dist/index.js
```
Otherwise, replace `./dist/index.js` with `/path/to/this-repository`
2. Using environment variables in the config file for Claude Desktop:
```json
{
"mcpServers": {
"multibaas-mcp": {
"command": "npx",
"args": ["-y", "/path/to/this-repository"],
"env": {
"BASE_URL": "https://<YOUR_MULTIBAAS_DEPLOYMENT>.multibaas.com",
"API_KEY": "<YOUR_MULTIBAAS_API_KEY>"
}
}
}
}
```
2. Or initialize the client manually in your conversation:
```
initialize_client
```
- `baseUrl`: Your MultiBaas instance URL (e.g., "https://your-instance.multibaas.com")
- `apiKey`: Your MultiBaas API key
The server will first try to initialize using environment variables on startup. If that fails, you can still initialize manually using the `initialize_client` command.
## Development
```bash
# Install
bun install
# Run in development mode
bun run dev
# Build for production
bun run build
# Run the built version
bun run start
```
## License
MIT