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
A hub for managing, orchestrating, and providing a unified API for various Model Context Protocol (MCP) servers and their tools, including user management, OAuth services, and discovery of external servers.
evm-mcp-server
Enables AI agents to interact with 60+ EVM-compatible blockchains, perform transactions, query data, and interact with smart contracts via a unified Model Context Protocol (MCP) interface.
metorial-platform
The Metorial Platform is an open source integration platform for agentic AI, designed to connect any AI model to thousands of APIs, data sources, and tools with a single function call, built to scale for enterprise-grade AI applications.
tmcp
Build Model Context Protocol (MCP) servers for AI agents, providing schema-agnostic tools, resources, and prompts, with optional OAuth 2.1 authentication and distributed session management.