Serves as the runtime environment for the MCP server, allowing it to provide PureScript development tools and IDE features.
Enables advanced code analysis features including starting/managing PureScript IDE servers, looking up types, finding code usages, generating dependency graphs, and parsing module structure (modules, imports, functions).
PureScript MCP Server
A Model Context Protocol (MCP) server that provides PureScript development tools for AI assistants like Claude.
Quick Install
1. Download and Setup
2. Configure Your MCP Client
For Claude Desktop
Find your Claude config file:
Mac:
~/Library/Application Support/Claude/claude_desktop_config.json
Windows:
%APPDATA%/Claude/claude_desktop_config.json
Add this server configuration:
Important: Replace
/FULL/PATH/TO/
with the actual absolute path to where you cloned this repository.Restart Claude Desktop.
For Other MCP Clients
Configure as a stdio MCP server:
Command:
node
Arguments:
["/full/path/to/index.js"]
Protocol: stdio
3. Verify Installation
In your MCP client, try running:
You should see a response showing the server is running.
What This Server Provides
This MCP server gives AI assistants the ability to:
Analyze PureScript code without heavy IDE setup
Start/manage PureScript IDE servers for advanced features
Look up types and find code usages
Generate dependency graphs
Parse code structure (modules, imports, functions)
Basic Usage Flow
Check status:
get_server_status
For simple analysis: Use
getModuleName
,getImports
, etc. directlyFor advanced features:
start_purs_ide_server
with your project pathpursIdeLoad
to load modulesUse
pursIdeType
,pursIdeUsages
, etc.
Requirements
Node.js (any recent version)
PureScript compiler (
purs
) if using IDE featuresYour PureScript project with compiled output
Troubleshooting
Server won't start: Check that Node.js is installed and you ran npm install
Tools not working: Run get_server_status
first to see what's available
Path errors: Make sure you used the full absolute path in your MCP configuration
Multiple servers: Only run one PureScript IDE server at a time to avoid conflicts
Support
This server provides comprehensive PureScript development assistance to AI tools through the standardized MCP protocol.
local-only server
The server can only run on the client's local machine because it depends on local resources.
Tools
A Model Context Protocol server that provides PureScript development tools for AI assistants, enabling code analysis, type lookups, and IDE server management without requiring heavy IDE setup.
Related MCP Servers
- AsecurityAlicenseAqualityA Model Context Protocol server that allows AI assistants to interact with Appwrite's API, providing tools to manage databases, users, functions, teams, and other resources within Appwrite projects.Last updated -54MIT License
- -securityAlicense-qualityA TypeScript implementation of a Model Context Protocol server that provides a frictionless framework for developers to build and deploy AI tools and prompts, focusing on developer experience with zero boilerplate and automatic tool registration.Last updated -64914MIT License
- -securityFlicense-qualityA comprehensive Model Context Protocol server implementation that enables AI assistants to interact with file systems, databases, GitHub repositories, web resources, and system tools while maintaining security and control.Last updated -331
- AsecurityFlicenseAqualityA comprehensive Model Context Protocol server for advanced code analysis that provides tools for syntax analysis, dependency visualization, and AI-assisted development workflow support.Last updated -284