penrose-mcp

The Penrose MCP server is a Model Context Protocol (MCP) server designed to create beautiful mathematical diagrams through natural language. It utilizes domain-specific languages to define mathematical types and relationships, describe mathematical objects, and specify visual representation rules. Developers can access documentation and resources using the justfile.

GitHub Stars

6

User Rating

Not Rated

Favorites

0

Views

18

Forks

2

Issues

1

README
Penrose MCP Server

A Model Context Protocol (MCP) server for Penrose - Create beautiful mathematical diagrams through natural language.

Overview

This MCP server provides tools and resources for creating mathematical diagrams using Penrose's domain-specific languages:

  • Domain (DSL): Define mathematical types and relationships
  • Substance: Describe mathematical objects and their relationships
  • Style: Specify visual representation rules
Project Structure
  • .topos/: Research materials and documentation (gitignored)
    • penrose-research/: Design documents and specifications
    • mcp-examples/: Reference MCP server implementations
    • mcp-spec/: Official MCP protocol documentation
Development

Use the justfile to access documentation and reference materials:

# List all available commands
just --list

# View the server architecture
just architecture

# Access MCP specifications
just mcp-spec
License

MIT License - See LICENSE file for details

Author Information
Barton Rhodes

"Parametrised optics model cybernetic systems, namely dynamical systems steered by one or more agents. Then ⊛ represents agency being exerted on systems"

@plurigridsan francisco

218

Followers

325

Repositories

103

Gists

0

Total Contributions