MCP server
by luorivergoddess
Asymptote Geometry Renderer converts math code to precise SVG or PNG diagrams using Asymptote vector graphics for techni
Generates precise geometric diagrams and mathematical visualizations by converting Asymptote vector graphics code into SVG or PNG images.
Asymptote Geometry Renderer is a community-built MCP server published by luorivergoddess that provides AI assistants with tools and capabilities via the Model Context Protocol. Asymptote Geometry Renderer converts math code to precise SVG or PNG diagrams using Asymptote vector graphics for techni It is categorized under developer tools. This server exposes 1 tool that AI clients can invoke during conversations and coding sessions.
You can install Asymptote Geometry Renderer in your AI client of choice. Use the install panel on this page to get one-click setup for Cursor, Claude Desktop, VS Code, and other MCP-compatible clients. This server runs locally on your machine via the stdio transport.
MIT
Asymptote Geometry Renderer is released under the MIT license. This is a permissive open-source license, meaning you can freely use, modify, and distribute the software.
Add new capabilities to Claude beyond text generation
Example
Access external data sources, execute code, interact with tools and services
Transform Claude from chatbot to action-taking agent
Provide Claude with access to relevant context and data
Example
Load project documentation, access knowledge bases, query databases
Get more accurate, context-aware responses
Automate multi-step workflows combining AI and external tools
Example
Research → Summarize → Create document → Send notification
Complete complex tasks end-to-end without manual steps
Share your MCP server with the developer community
We evaluated Asymptote Geometry Renderer against two servers with overlapping tools; this profile had the clearer scope statement.
Asymptote Geometry Renderer reduced integration guesswork — categories and install configs on the listing matched the upstream repo.
Strong directory entry: Asymptote Geometry Renderer surfaces stars and publisher context so we could sanity-check maintenance before adopting.
Asymptote Geometry Renderer has been reliable for tool-calling workflows; the MCP profile page is a good permalink for internal docs.
We evaluated Asymptote Geometry Renderer against two servers with overlapping tools; this profile had the clearer scope statement.
According to our notes, Asymptote Geometry Renderer benefits from clear Model Context Protocol framing — fewer ambiguous “AI plugin” claims.
Asymptote Geometry Renderer has been reliable for tool-calling workflows; the MCP profile page is a good permalink for internal docs.
Useful MCP listing: Asymptote Geometry Renderer is the kind of server we cite when onboarding engineers to host + tool permissions.
Asymptote Geometry Renderer is among the better-indexed MCP projects we tried; the explainx.ai summary tracks the official description.
Strong directory entry: Asymptote Geometry Renderer surfaces stars and publisher context so we could sanity-check maintenance before adopting.
showing 1-10 of 64
An MCP (Model Context Protocol) server for generating precise geometric images using Asymptote. This server allows AI models compatible with MCP to request image generation by providing Asymptote code.
Before using this server, please ensure you have the following installed:
asy command-line tool must be installed and accessible in your system's PATH.
brew install asymptotesudo apt-get install asymptotebin directory is added to your PATH.asy -version on startup and print an error if it's not found.To install this package globally (if you intend to run connect command directly) or as a dependency in another project:
npm install @luorivergoddess/mcp-geo
If you've cloned the repository and want to run it locally for development:
npm installnpm run buildOnce the package is installed (e.g., globally or linked locally), you can start the MCP server using the connect command provided by this package. This command is intended to be invoked by an MCP client.
npx @luorivergoddess/mcp-geo connect
Or, if you have cloned the repository and built it:
node dist/cli.js
The server will start and listen for JSON-RPC messages on stdin/stdout, using the @modelcontextprotocol/sdk.
Configure your MCP-compatible client (e.g., VS Code with Copilot Agent Mode, Claude Desktop) to use this server. This usually involves telling the client how to start the server, which would be the npx @luorivergoddess/mcp-geo connect command.
renderGeometricImageThe server exposes one primary tool:
renderGeometricImage{
"type": "object",
"properties": {
"asyCode": {
"type": "string",
"description": "A string containing complete and valid Asymptote code to be compiled. The server executes this code directly. Ensure necessary `import` statements (e.g., `import graph;`) and settings (e.g., `unitsize(1cm);`) are included within this code block if needed."
},
"outputParams": {
"type": "object",
"description": "Optional parameters to control the output image.",
"properties": {
"format": {
"type": "string",
"enum": ["svg", "png"],
"description": "The desired output image format. "svg" for scalable vector graphics (recommended for diagrams and plots), "png" for raster graphics. Defaults to "svg" if not specified."
},
"renderLevel": {
"type": "number",
"description": "For PNG output only. Specifies the rendering quality (supersampling level for antialiasing). Higher values (e.g., 4 or 8) produce smoother images but take longer to render and result in larger files. Asymptote default is 2. This server defaults to 4 if not specified and format is "png". Ignored for SVG output."
}
}
}
},
"required": ["asyCode"]
}
CallToolResult containing an array of content parts.
ImageContent part with:
type: "image"mimeType: "image/svg+xml" or "image/png"data: "<base64_encoded_image_data>"TextContent part with logs from Asymptote.McpError.Example renderGeometricImage call (JSON for arguments field):
{
"asyCode": "draw(unitsquare); fill(unitsquare, lightblue);",
"outputParams": {
"format": "png",
"renderLevel": 4
}
}
Client Compatibility Notes:
image/svg+xml (e.g., certain versions or configurations of "Cherry Studio" as reported), please ensure you request the png format by including "outputParams": { "format": "png" } in your tool call arguments. The server defaults to svg if no format is specified.luorivergoddess
ISC
Prerequisites
Time Estimate
15-60 minutes depending on server complexity
Steps
Troubleshooting
✓ Do
✗ Don't
💡 Pro Tips
Architecture
Model Context Protocol standardizes how AI hosts (Claude, Cursor) communicate with external tools and data sources through server implementations.
Protocols
Compatibility
✓ Use when
Use when you need Claude to access external data, execute actions, or integrate with tools. Best for extending AI capabilities beyond conversation.
✗ Avoid when
Avoid when native integrations exist (use official APIs directly), for real-time critical systems, or when security/compliance requires zero external dependencies.