pixelaw-docs-mcp
v0.0.1
Published
MCP server for PixeLAW app development guidance
Maintainers
Readme
PixeLAW MCP Server
Expert guidance for building PixeLAW applications on Starknet using the Model Context Protocol (MCP).
Overview
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.
Installation
# Install dependencies
npm install
# Build the server
npm run buildAvailable Tools
The 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
Configuration
For Claude Code
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": {}
}
}
}For Claude Desktop
Add to your Claude Desktop configuration:
{
"mcpServers": {
"pixelaw-mcp": {
"command": "node",
"args": ["/path/to/pixelaw-docs-mcp/dist/index.js"]
}
}
}Development
# Watch mode for development
npm run dev
# Build for production
npm run build
# Run the server
npm startArchitecture
This 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
Version Information
- PixeLAW Core: v0.8.0-dev
- Dojo Framework: v1.7.1
- Cairo: v2.12.2
- MCP SDK: v0.5.0
Future Enhancements
Future versions may include:
- Code generation tools
- Validation and analysis tools
- Migration helpers
- Interactive examples
License
MIT
