Skip to main content
Glama

PureScript MCP Server

by avi892nash

getImports

Locate and display all import statements in PureScript code to identify external module dependencies, enabling dependency analysis without requiring an IDE server setup.

Instructions

Find all import statements in PureScript code (like 'import Data.List', 'import Prelude'). Shows what external modules the code depends on. Works without the IDE server.

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