Summary
Integrate a simple MCP (https://modelcontextprotocol.io/) server.
Motivation
The low quality AI auto-completions for PureScript (suggesting Haskell code all the time) is probably my biggest pain point working with PureScript currently. A MCP server could improve the quality of it.
Proposal
Integrate a MCP server that can be started by running purs mcp (or spago mcp?). Relevant data is already generated for other commands (e.g. spago docs --format markdown).
To investigate: Maybe wrapping a LSP server with something like https://github.com/isaacphi/mcp-language-server might be good enough.
Summary
Integrate a simple MCP (https://modelcontextprotocol.io/) server.
Motivation
The low quality AI auto-completions for PureScript (suggesting Haskell code all the time) is probably my biggest pain point working with PureScript currently. A MCP server could improve the quality of it.
Proposal
Integrate a MCP server that can be started by running
purs mcp(orspago mcp?). Relevant data is already generated for other commands (e.g.spago docs --format markdown).To investigate: Maybe wrapping a LSP server with something like https://github.com/isaacphi/mcp-language-server might be good enough.