Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Generated by https://smithery.ai. See: https://smithery.ai/docs/config#dockerfile
FROM node:lts-alpine

WORKDIR /app

# Copy package files and install dependencies
COPY package*.json ./

RUN npm install --ignore-scripts

# Copy source code
COPY . .

# Expose any ports if needed (not required for stdio)

# Use npm start to run the MCP server
CMD ["npm", "start"]
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,20 @@
# Cursor Prompt Formatter MCP Server

[![smithery badge](https://smithery.ai/badge/@hireshBrem/cursor-prompt-formatter-server)](https://smithery.ai/server/@hireshBrem/cursor-prompt-formatter-server)

This Model Context Protocol (MCP) server provides a tool to format prompts for optimal results with Cursor AI, using Claude by Anthropic.

## Installation

### Installing via Smithery

To install cursor-prompt-formatter-server for Claude Desktop automatically via [Smithery](https://smithery.ai/server/@hireshBrem/cursor-prompt-formatter-server):

```bash
npx -y @smithery/cli install @hireshBrem/cursor-prompt-formatter-server --client claude
```

### Manual Installation
```bash
npm install
```
Expand Down
19 changes: 19 additions & 0 deletions smithery.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Smithery configuration file: https://smithery.ai/docs/config#smitheryyaml

startCommand:
type: stdio
configSchema:
# JSON Schema defining the configuration options for the MCP.
type: object
required:
- anthropicApiKey
properties:
anthropicApiKey:
type: string
description: Your Anthropic API key to use Claude via LangChain
commandFunction:
# A JS function that produces the CLI command based on the given config to start the MCP on stdio.
|-
(config) => ({ command: 'npm', args: ['start'], env: { ANTHROPIC_API_KEY: config.anthropicApiKey } })
exampleConfig:
anthropicApiKey: your-anthropic-api-key