- Home
- MCP servers
- Pulsar Edit
Pulsar Edit
- typescript
2
GitHub Stars
typescript
Language
4 months ago
First Indexed
2 months ago
Catalog Refreshed
Documentation & install
Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.
You can run a Pulsar Edit MCP server to enable a chat-driven interface for editing code within the Pulsar editor. This MCP server exposes a remote endpoint that you can connect to from a compatible chat client, letting you perform common editor actions through natural language or prompts while coding.
How to use
Connect your MCP client to the Pulsar Edit MCP server to start issuing editor commands via chat. Common workflows include asking to replace text, insert lines, view or edit specific sections around a match, and manage files within your project. When you send a request, the server interprets it and applies the corresponding action in the active Pulsar editor window. You can use the built-in chat or a third-party chat client compatible with MCP endpoints.
How to install
Prerequisites you need before installing the MCP server include Node.js and a Pulsar environment where the package manager used by Pulsar is available.
-
Install the MCP server package.
-
In Pulsar, enable the MCP server to listen.
-
Verify that the MCP tile shows as active in the Pulsar editor.
Configuration and usage details
The MCP server can be configured to expose a live HTTP endpoint that your chat client connects to. Use the following example as a starting point for configuring the MCP connection.
{
"mcpServers": {
"pulsar_edit_mcp": {
"url": "http://localhost:3000/mcp",
"disabled": false,
"alwaysAllow": [],
"type": "http"
}
}
}
Available tools
Replace Text
Search the active editor for a given query and replace it with a specified replacement.
Get Context Around
Return surrounding lines around the N-th match of a query in the active editor to provide content-aware context for edits.
Find Text
Search the active editor for a substring or regular expression and return the positions of each occurrence.
Replace Document
Replace the entire contents of the current document with new content.
Insert Line
Insert a blank line at a specific row.
Insert Text At Line
Insert a block of text at a specified line number, shifting existing text downward.
Delete Line
Delete a single line in the active document.
Delete Line Range
Delete a range of lines in the active document.
Get Selection
Retrieve the currently selected text.
Get Document
Get an array containing every line of the current document with line numbers.
Get Line Count
Return the total number of lines in the current document.
Get Filename
Return the filename of the current document.
Get Full Path
Return the full filesystem path of the current document.
Get Project Files
List all files in the current project.
Open File
Open a file or switch to its tab if it is already open.
Undo
Undo the last change in the editor.
Redo
Redo the last undone change in the editor.