0g-mcp-server
Verified Safeby Econyx-ai
Overview
Provides an AI agent with comprehensive documentation and real-time interaction capabilities for the 0G.AI ecosystem, including storage, key-value, and compute network operations.
Installation
bun src/stdio.tsEnvironment Variables
- OG_PRIVATE_KEY
- OG_NETWORK
- OG_EVM_RPC
- OG_INDEXER_RPC
- OG_KV_URL
- OG_FLOW_CONTRACT
- OG_SERVING_CONTRACT
- REBUILD_DOCS_ON_START
- LOG_LEVEL
- DEBUG
Security Notes
The server's code does not contain 'eval' or malicious obfuscation. Path traversal protection is implemented for documentation access (`src/tools/docs.ts`). It correctly handles sensitive information like private keys by requiring them through environment variables (`OG_PRIVATE_KEY`) or explicit tool parameters, rather than hardcoding. This is standard practice for blockchain interaction but means users must securely manage their private keys externally. All network calls are to legitimate 0G.AI infrastructure. Error logging writes to a designated cache directory in the user's home.
Similar Servers
context7
Provides up-to-date, version-specific documentation and code examples to Large Language Models (LLMs) and AI coding assistants to improve code generation accuracy and relevance, preventing outdated or hallucinated information.
docs-mcp-server
The Documentation MCP Server indexes documentation from web sources, local files, and package registries, making it searchable via the Model Context Protocol (MCP) and providing semantic search capabilities to AI coding assistants.
docfork
Provides live-synced, context-aware, and version-accurate documentation to AI models, preventing hallucinations and context bloat for developer tasks.
mcp-server
Provides a Model Context Protocol (MCP) server for AI agents to search and retrieve curated documentation for the Strands Agents framework, facilitating AI coding assistance.