Expert guidance for building PixeLAW applications on Starknet using the Model Context Protocol (MCP).
This MCP server provides 8 specialized documentation tools that help AI assistants like Claude provide expert-level guidance for PixeLAW development. The tools automatically provide context-aware help based on the conversation.
# Install dependencies
npm install
# Build the server
npm run buildThe server provides 8 documentation tools:
- pixelaw_101 - Beginner-friendly introduction to PixeLAW development
- pixelaw_app_structure - Essential guidance for structuring PixeLAW applications
- pixelaw_models - Specialized guidance for creating and working with models
- pixelaw_systems - Expert guidance on implementing systems and game logic
- pixelaw_hooks - Comprehensive guide for implementing the hook system
- pixelaw_testing - Guide for writing tests for PixeLAW applications
- pixelaw_deployment - Deployment workflows and infrastructure setup
- pixelaw_patterns - Common patterns and best practices
Add to your MCP settings (typically ~/.config/claude-code/mcp.json):
{
"mcpServers": {
"pixelaw-mcp": {
"command": "node",
"args": ["/path/to/pixelaw-docs-mcp/dist/index.js"],
"env": {}
}
}
}Add to your Claude Desktop configuration:
{
"mcpServers": {
"pixelaw-mcp": {
"command": "node",
"args": ["/path/to/pixelaw-docs-mcp/dist/index.js"]
}
}
}# Watch mode for development
npm run dev
# Build for production
npm run build
# Run the server
npm startThis is a tools-only MCP server implementation:
- Tools are automatically invoked by Claude based on conversation context
- Each tool returns markdown documentation
- No resources or prompts required
- Simple, maintainable architecture
- PixeLAW Core: v0.8.0-dev
- Dojo Framework: v1.7.1
- Cairo: v2.12.2
- MCP SDK: v0.5.0
Future versions may include:
- Code generation tools
- Validation and analysis tools
- Migration helpers
- Interactive examples
MIT