Newline MCP
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Newline MCPformat this command for safe pasting: echo 'hello' && ls -la"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Newline MCP
A Model Context Protocol (MCP) server that provides utilities for handling multi-line shell commands and clipboard operations.
Tools
This MCP server exposes the following tools:
format_multiline_command: Takes a multi-line string and appends a backslash (\) to the end of each line. This is useful for formatting shell commands to be pasted as a single block without immediate execution of intermediate lines.read_clipboard: Reads the current text content from the system clipboard.
Related MCP server: Clipboard MCP
Setup & Installation
Install dependencies:
npm installBuild the project:
npm run build
Usage with Gemini CLI
To use this MCP server with the Gemini CLI, you need to add it to your MCP configuration file (usually found at %USER%\.gemini\settings.json or similar, depending on your specific setup).
Add the following entry to your mcpServers configuration:
{
"mcpServers": {
"newline": {
"command": "node",
"args": ["/path/to/newline/dist/index.js"]
}
}
}Note: Replace /path/to/newline/dist/index.js with the absolute path to the dist/index.js file in this project.
For example, if you cloned this repository to C:\Users\Administrator\Desktop\newline, the configuration would be:
{
"mcpServers": {
"newline": {
"command": "node",
"args": ["C:\\Users\\Administrator\\Desktop\\newline\\dist\\index.js"]
}
}
}This server cannot be deployed
Maintenance
Related MCP Connectors
Source-checked CLI guides and model-aware planning for Claude Code, Codex, and Grok Build.
Safety-first EVM and Bitcoin RPC tools for balances, contracts, blocks, and transactions
Exact text tools for AI agents: unified diff, patch apply, regex testing, grapheme counting.
Operate Linux, macOS and Windows from your LLM. Every action runs through an auditable allowlist.
Related MCP Servers
- FlicenseNot gradedqualityCmaintenanceA clean and efficient code snippet and clipboard m47-
- AlicenseAqualityFmaintenanceProvides tools for reading and writing system clipboard data across Linux, macOS, Windows, and WSL platforms.2AGPL 3.0
- AlicenseNot gradedqualityDmaintenanceCaptures copyable text from Claude Code terminal output before it's mangled by ANSI codes or line breaks, providing a clean clipboard buffer through a TUI.1MIT
- FlicenseBqualityDmaintenanceProvides MCP tools to copy text to and paste text or images from the macOS clipboard using AppleScript.31-