open-index/open-npm huggingface dataset:
npm package: @iflow-mcp/copy-paste-mcp
Description: An MCP server for extracting specific line ranges from text content
Latest version: 1.0.0

# Copy-Paste MCP

A Model Context Protocol (MCP) server that provides a tool for extracting specific lines from text content.

<a href="https://glama.ai/mcp/servers/@ananddtyagi/copy-paste-mcp">
  <img width="380" height="200" src="https://glama.ai/mcp/servers/@ananddtyagi/copy-paste-mcp/badge" alt="Copy-Paste MCP server" />
</a>

## Features

- Simple tool to extract specific line ranges from any text content
- Preserves exact content formatting and newlines
- No modification of content - pure extraction
- MCP server implementation for easy integration with AI tools

## MCP Server

This package includes an MCP server that exposes the line extraction functionality as a tool that can be used by any MCP client like Claude Desktop, VS Code, or other MCP-compatible applications.

### Available Tools

1. **extract-lines** - Extract a specific range of lines from text content

## Installation

1. Clone the repository
2. Install dependencies:

```bash
npm install
```

## Usage

### Starting the MCP Server

```bash
npm start
```

This will start the MCP server using the stdio transport, which can be connected to by MCP clients.

### Connecting to the Server

In an MCP-compatible client (like Claude Desktop), you can add this server with:

- Name: Copy-Paste
- Command: `node /path/to/copy-paste-mcp/dist/index.js`
- Transport: stdio

### Using the Tool

Once connected, you can use the tool through your MCP client's interface:

#### Extract Lines

```
Tool: extract-lines
Parameters:
  - text: "Your multi-line text content goes here\nSecond line\nThird line"
  - start_line: 1
  - end_line: 2
```

This will return the first two lines of the provided text content.

## Examples

Extract lines 10-20 from a large text block:
```
Tool: extract-lines
Parameters:
  - text: [your text content with many lines]
  - start_line: 10
  - end_line: 20
```

Extract just a single line (line 5):
```
Tool: extract-lines
Parameters:
  - text: [your text content]
  - start_line: 5
  - end_line: 5
```

## Why use this?

This tool is useful when you need to:
- Extract specific sections from large text blocks
- Copy exact line ranges from code or documentation
- Ensure precise content extraction without any alterations
- Integrate line extraction capabilities into AI workflows via MCP
- Work with specific portions of large documents
npm package: @iflow-mcp/cpm-server
Description: a prompt manager for claude
Latest version: 0.1.0

# cpm-server MCP Server

a prompt manager for claude

This is a TypeScript-based MCP server that implements a prompt manager for claude.

## Features

- creating prompts from the command line
- listing all your saved prompts
- arguments support (WIP)

## Development

Install dependencies:
```bash
bun install
```

Build the server:
```bash
bun run build
```

For development with auto-rebuild:
```bash
bun run watch
```

## Installation

To use with Claude Desktop, add the server config:

On MacOS: `~/Library/Application Support/Claude/claude_desktop_config.json`
On Windows: `%APPDATA%/Claude/claude_desktop_config.json`

```json
{
  "mcpServers": {
    "cpm-server": {
      "command": "/path/to/cpm-server/build/index.js"
    }
  }
}
```

### Debugging

Since MCP servers communicate over stdio, debugging can be challenging. We recommend using the [MCP Inspector](https://github.com/modelcontextprotocol/inspector), which is available as a package script:

```bash
npm run inspector
```

The Inspector will provide a URL to access debugging tools in your browser.