Vara Server
БесплатноНе проверенA Model Context Protocol (MCP) server that provides onchain tools for AI applications like Claude Desktop and Cursor, allowing them to interact with the Vara Ne
Описание
A Model Context Protocol (MCP) server that provides onchain tools for AI applications like Claude Desktop and Cursor, allowing them to interact with the Vara Network.
README
A Model Context Protocol (MCP) server that provides onchain tools for AI applications like Claude Desktop and Cursor, allowing them to interact with the Vara Network.
Overview
This MCP server extends any MCP client's capabilities by providing tools to do anything on Vara:
- Retrieve block details
Project Structure
The Vara MCP server follows this structure for tools:
src/
├── tools/
│ ├── index.ts (exports toolsets)
│ ├── [TOOL_NAME]/ <-------------------------- ADD DIR HERE
│ │ ├── index.ts (defines and exports tools)
│ │ ├── schemas.ts (defines input schema)
│ │ └── handlers.ts (implements tool functionality)
│ └── utils/ (shared tool utilities)
Prerequisites
- Node.js (v16 or higher)
- npm or yarn
- Subscan API credentials
Installation
Install from Source
Clone this repository:
git clone https://github.com/HAPPYS1NGH/vara-mcp.git cd vara-mcpInstall dependencies:
npm installBuild the project:
npm run build
Configuration
Create a .env file with your credentials:
# Subscan API credentials
# You can obtain these from the Subscan Developer Portal: https://api.subscan.io/
SUBSCAN_API_URL=your_subscan_api_url
API_KEY=your_api_key
Testing
Test the MCP server to verify it's working correctly:
npm test
This script will verify that your MCP server is working correctly by testing the connection and available tools.
Integration with Claude Desktop
To add this MCP server to Claude Desktop:
Create or edit the Claude Desktop configuration file at:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json - Linux:
~/.config/Claude/claude_desktop_config.json
- macOS:
You can easily access this file via the Claude Desktop app by navigating to Claude > Settings > Developer > Edit Config.
Add the following configuration:
{ "mcpServers": { "vara-mcp": { "command": "npx", "args": ["<your_repo_build_path>/index.js"], "env": { "SUBSCAN_API_URL": "your_subscan_api_url", "API_KEY": "your_api_key" }, "disabled": false, "autoApprove": [] } } }Restart Claude Desktop for the changes to take effect.
Available Tools
get-block
Retrieves the block details for a given block number.
Example query to Claude:
"What's block number 21189359?"
Security Considerations
- The configuration file contains sensitive information (API keys and seed phrases). Ensure it's properly secured and not shared.
- Consider using environment variables or a secure credential manager instead of hardcoding sensitive information.
Troubleshooting
If you encounter issues:
- Check that your Subscan API credentials are correct
- Check the Claude Desktop logs for any error messages
License
Contributing
Contributions are welcome! Please feel free to submit a Pull Request. Please make sure your code follows the existing style and includes appropriate tests.
Установка Vara Server
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/HAPPYS1NGH/vara-mcpFAQ
Vara Server MCP бесплатный?
Да, Vara Server MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Vara Server?
Нет, Vara Server работает без API-ключей и переменных окружения.
Vara Server — hosted или self-hosted?
Доступен hosted-вариант: Unyly запускает сервер в облаке, локальная установка не обязательна.
Как установить Vara Server в Claude Desktop, Claude Code или Cursor?
Открой Vara Server на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
Fetch
Web content fetching and conversion for efficient LLM usage.
AWS KB Retrieval
Retrieval from AWS Knowledge Base using Bedrock Agent Runtime.
автор: modelcontextprotocolSpring AI MCP Server
Provides auto-configuration for setting up an MCP server in Spring Boot applications.
llm-analysis-assistant
A very streamlined mcp client that supports calling and monitoring stdio/sse/streamableHttp, and can also view request responses through the /logs page. It also
автор: xuzexin-hzCompare Vara Server with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории ai
