Skip to main content
Glama
magicsword-io

magicsword-mcp

Official

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MAGICSWORD_CONFIGNoPath to the MagicSword config file. Defaults to ~/.magicsword/mcp.json. This file stores the API key and base URL when not using environment variables.
MAGICSWORD_API_KEYYesMagicSword API key (format: msk_...). Mint one in Magic Portal → Settings → API Keys. Can be set as a per-client override instead of using ~/.magicsword/mcp.json. This is the primary secret required to authenticate with the MagicSword API.
MAGICSWORD_BASE_URLNoPortal base URL. Defaults to https://www.magicsword.io. Remote URLs must use HTTPS; plain HTTP is accepted only for localhost development. Configured URLs cannot contain credentials, paths, query strings, or fragments.
MAGICSWORD_GET_RETRIESNoNumber of retries for idempotent GET requests. Default 2, maximum 3. Write actions are never retried automatically.
MAGICSWORD_REQUEST_TIMEOUT_MSNoRequest timeout in milliseconds. Default 30000 (30 seconds).
MAGICSWORD_RESPONSE_MAX_BYTESNoMaximum response size in bytes. Default 4194304 (4 MiB).

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Server capabilities have not been inspected yet.

Tools

Functions exposed to the LLM to take actions

NameDescription

No tools

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources