Skip to content

Add an integrated MCP server #4578

Description

@ad-si

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions