PFORK_MCP
Verified Safeby NickFlach
Overview
Unified API gateway for the Pitchforks ecosystem, enabling AI agents and other clients to interact with decentralized tools for peaceful resistance on Neo X.
Installation
npm startEnvironment Variables
- SESSION_SECRET
- PROTOCOL_API_URL
- PROTOCOL_API_KEY
- DEX_API_URL
- DEX_CONTRACT_ADDRESS
- NEO_X_RPC_URL
- FERRY_API_URL
- ETHEREUM_RPC_URL
- ANALYST_API_URL
- APP_API_URL
- MINDS_API_KEY
- ADMIN_ADDRESSES
- DEVELOPER_ADDRESS
- DEVELOPER_PRIVATE_KEY
- PORT
- NODE_ENV
- REDIS_HOST
- REDIS_PORT
- REDIS_PASSWORD
- ALLOWED_ORIGINS
- HEALTH_CHECK_INTERVAL
- NETWORK
- CHAIN_ID
- EXPLORER_URL
- PFORK_TOKEN_ADDRESS
- GOVERNANCE_ADDRESS
- TREASURY_ADDRESS
- PROTOCOL_ADAPTER_ADDRESS
- DEX_ADAPTER_ADDRESS
- FERRY_ADAPTER_ADDRESS
- CONTRACT_ADDRESSES
Security Notes
The server implements robust multi-layer authentication (wallet signatures and API keys), includes input validation using Joi, uses nonce management to prevent replay attacks, and configures rate limiting and standard security headers (Helmet, CORS). TypeScript strict mode enhances code quality and reduces common vulnerabilities. However, the `AuthMiddleware`'s reliance on `DEVELOPER_PRIVATE_KEY` directly from environment variables for server-side signing is a significant risk; in a production environment, this should be replaced with a secure key management system (e.g., KMS). Additionally, the initial `xmcp` tools return placeholder data, meaning the security of actual integrations with live Pitchforks APIs (when implemented) will require further review.
Similar Servers
mcphub
An orchestration hub that aggregates, manages, and routes Model Context Protocol (MCP) servers and their tools, providing a centralized interface, user management, OAuth 2.0 authorization server capabilities, and AI-powered tool discovery and routing.
metorial-platform
An open source integration platform for agentic AI, connecting AI models to external APIs, data sources, and tools.
mcp-servers
A curated collection of Model Context Protocol (MCP) server configurations to integrate various developer tools and services with AI agents.
tmcp
A server implementation for the Model Context Protocol (MCP) to enable LLMs to access external context and tools.