Skip to main content
Glama

PureScript MCP Server

by avi892nash

getModuleName

Extract the module name (e.g., 'Data.List') from PureScript code or files, enabling easy identification of code structure without relying on an IDE server. Supports both file paths and code snippets.

Instructions

Extract the module name (like 'Data.List' or 'Main') from PureScript code. Works on files or code snippets without needing the IDE server. Useful for understanding code structure.

Input Schema

NameRequiredDescriptionDefault
codeNoPureScript code string.
filePathNoAbsolute path to the PureScript file. Only absolute paths are supported.

Input Schema (JSON Schema)

{ "additionalProperties": false, "description": "Exactly one of 'filePath' or 'code' must be provided.", "properties": { "code": { "description": "PureScript code string.", "type": "string" }, "filePath": { "description": "Absolute path to the PureScript file. Only absolute paths are supported.", "type": "string" } }, "type": "object" }
Install Server

Other Tools from PureScript 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/avi892nash/purescript-mcp-tools'

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