Back to Home
Dwsy icon

magic-api-mcp-server

Verified Safe

by Dwsy

Overview

Provides a Model Context Protocol (MCP) server to enhance Magic-API development workflows, enabling advanced interactions for script writing, API management, debugging, and deployment.

Installation

Run Command
uvx magic-api-mcp-server@latest

Environment Variables

  • MAGIC_API_BASE_URL
  • MAGIC_API_WS_URL
  • MAGIC_API_USERNAME
  • MAGIC_API_PASSWORD
  • MAGIC_API_TOKEN
  • MAGIC_API_AUTH_ENABLED
  • MAGIC_API_TIMEOUT_SECONDS
  • LOG_LEVEL
  • FASTMCP_TRANSPORT
  • MAGIC_API_SUCCESS_CODE
  • MAGIC_API_SUCCESS_MESSAGE
  • MAGIC_API_INVALID_CODE
  • MAGIC_API_EXCEPTION_CODE

Security Notes

The server handles sensitive information like usernames, passwords, and tokens via environment variables, which is a good practice. It interacts with a backend Magic-API that executes scripts, but the MCP server itself does not directly execute arbitrary user-provided scripts in its own process. Default URLs are localhost, limiting direct network exposure without explicit configuration. The graceful shutdown mechanism also contributes to stability.

Stats

Interest Score41
Security Score8
Cost ClassHigh
Avg Tokens2000
Stars14
Forks5
Last Update2025-12-15

Tags

API DevelopmentDebuggingResource ManagementCLI ToolsMCP