Magic-MCP
Provides access to a remote MATLAB service hosted on Render for generating magic squares of specified dimensions
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Magic-MCPgenerate a 5x5 magic square"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Magic-MCP
Magic square function exposed as MCP server 🪄✨

Getting started
Create a virtual environment and install the dependencies:
python -m venv .venv source .venv/bin/activate pip install -r requirements.txtRun the MCP server:
python server.pyThe server exposes a single tool,
generate_magic_square, which proxies a remote MATLAB service hosted athttps://matlab-0j1h.onrender.com/mymagic/mymagic.Dependencies
This project now uses
requestsandnumpyto call and parse the remote MATLAB service. Ensure those packages are installed (they're included inrequirements.txt). To change the target MATLAB service URL, edit theMATLAB_SERVICE_URLvariable inside thecalculate_magic_matrixtool inserver.py.Connect an MCP-compatible client to the server (for example, via MCP discovery or by pointing the client at the stdio endpoint) and invoke the
generate_magic_squaretool. Provide the desired square size (and optionally setdebug=true) to receive a structured response containing both the magic square and the raw metadata returned by the upstream service.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Flicense-qualityCmaintenanceA meta-MCP server that acts as a universal gateway, allowing users to discover and execute tools from thousands of other MCP servers through semantic search. It dynamically loads servers on demand and provides standardized functions for searching, discovering, and running tools across the entire MCP ecosystem.6
- AlicenseAqualityCmaintenanceAggregates and routes multiple MCP servers with intelligent tool recommendation and batch parallel execution, enabling unified access and efficient tool usage.2474MIT
- Alicense-qualityCmaintenanceEnables AI agents to discover and execute tools via a secure MCP server with JWT authentication, RBAC, rate limiting, and audit logging.1MIT
- AlicenseAqualityDmaintenanceMCP server that integrates with Pica to enable seamless interaction with 100+ third-party services through a standardized interface, supporting direct execution and code generation.495GPL 3.0
Related MCP Connectors
This MCP server enables users to perform scientific computations regarding linear algebra and vect…
Find and call the right MCP server for any task - pay per use, no install.
34 production API tools over one hosted MCP endpoint.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/yanndebray/Magic-MCP'
If you have feedback or need assistance with the MCP directory API, please join our Discord server