Skip to main content
Glama

Mathematica MCP Server

by aac6fef

create_mathematica_session

Initiate a new, isolated Wolfram Language session for Mathematica computations. Obtain a unique session ID to manage state, execute code, and maintain independence across tasks.

Instructions

Creates and initializes a new, isolated Wolfram Language session.

This tool is the first step for any Mathematica-related task. It returns a unique, secure session identifier (e.g., 'fox-wolf-bear-lion') that you MUST use in subsequent calls to 'execute_code' and 'close_session'.

Each session is completely independent and maintains its own state (variables, function definitions, etc.).

Returns: A string containing a success message and the unique session ID. Example: "Session created successfully. Your session ID is: bee-sloth-auk-mole"

Input Schema

NameRequiredDescriptionDefault

No arguments

Input Schema (JSON Schema)

{ "properties": {}, "title": "create_mathematica_sessionArguments", "type": "object" }
Install Server

Other Tools from Mathematica MCP Server

Related Tools

    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/aac6fef/mathematica_mcp'

    If you have feedback or need assistance with the MCP directory API, please join our Discord server