Skip to main content
Glama

PureScript MCP Server

by avi892nash

getModuleName

Extract PureScript module names from files or code snippets to analyze code structure without requiring an IDE server. Supports absolute file paths or direct code input.

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" }

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