JUHE API Marketplace
acrolinx avatar
MCP Server

Acrolinx MCP Server

A Model Context Protocol server that integrates with the Acrolinx NextGen API to provide advanced text analysis and improvement capabilities to AI assistants like Claude, offering features such as text rewriting, content analysis, and writing suggestions.

2
GitHub Stars
11/22/2025
Last Updated
MCP Server Configuration
1{
2 "name": "markupai",
3 "command": "npx",
4 "args": [
5 "-y",
6 "github:markupai/mcp"
7 ],
8 "env": {
9 "MARKUPAI_API_KEY": "your_api_key_here"
10 }
11}
JSON11 lines
  1. Home
  2. MCP Servers
  3. nextgen-mcp

README Documentation

Markup.ai MCP Server

A Model Context Protocol (MCP) server that integrates with the Markup.ai API to provide advanced text analysis and improvement capabilities to AI assistants like Claude and Cursor.

Features

  • Text Rewriting: Automatically improve text for clarity, tone, and style guide compliance
  • Content Analysis: Get detailed quality scores across multiple dimensions
  • Writing Suggestions: Receive specific recommendations for text improvements
  • Style Guide Support: AP, Chicago Manual of Style, Microsoft, and Proofpoint
  • Multiple Dialects: American, British, Australian, and Canadian English
  • Tone Flexibility: Academic, business, casual, conversational, formal, gen-z, informal, and technical

Installation

Prerequisites

  • Node.js 18.0.0 or higher
  • A Markup AI API key

Setup

  1. Clone the repository:
git clone https://github.com/markupai/mcp.git
cd mcp
  1. Install dependencies:
npm install
  1. Configure environment variables:
cp .env.example .env
# Edit .env and add your MARKUPAI_API_KEY
  1. Build the project:
npm run build

Configuration

VariableRequiredDescriptionDefault
MARKUPAI_API_KEYYesYour Markup.ai API key-
MARKUPAI_BASE_URLNoAPI base URLhttps://api.markup.ai
DEBUGNoEnable debug loggingfalse
MAX_TEXT_LENGTHNoMaximum text length (chars)100000
WORKFLOW_TIMEOUTNoWorkflow timeout (ms)60000
POLL_INTERVALNoStatus check interval (ms)2000
MAX_RETRIESNoAPI retry attempts3

Usage with AI IDEs

This MCP server is compatible with any IDE that supports the Model Context Protocol, including Claude Desktop and Cursor.

Configuration

The configuration is identical for all MCP-compatible IDEs. Only the configuration file location differs:

IDEConfiguration File Location
Claude Desktop (macOS)~/Library/Application Support/Claude/claude_desktop_config.json
Claude Desktop (Windows)%APPDATA%\Claude\claude_desktop_config.json
Cursor (macOS/Linux)~/.cursor/mcp.json
Cursor (Windows)%USERPROFILE%\.cursor\mcp.json

Option 1: Run directly from GitHub (recommended)

Add this configuration to your IDE's MCP configuration file:

{
  "mcpServers": {
    "markupai": {
      "command": "npx",
      "args": [
        "-y",
        "github:markupai/mcp"
      ],
      "env": {
        "MARKUPAI_API_KEY": "your_api_key_here"
      }
    }
  }
}

Option 2: Run from local installation

For local development or if you prefer to run from a local installation:

{
  "mcpServers": {
    "markupai": {
      "command": "node",
      "args": ["/path/to/mcp/dist/index.js"],
      "env": {
        "MARKUPAI_API_KEY": "your_api_key_here"
      }
    }
  }
}

Note: After updating the configuration, restart your IDE for the changes to take effect.

Using with Cursor

When using this MCP server with Cursor, you'll see a "Calling undefined" message with a "Run tool" button when the AI wants to use Markup.ai tools. This is normal behavior - simply click "Run tool" to approve the analysis. This manual approval is Cursor's security feature for MCP tool execution.

Available Tools

markupai_rewrite

Automatically rewrite and improve text content.

Parameters:

  • text (required): The text to rewrite
  • dialect: Language dialect (default: "american_english")
  • tone: Desired tone (default: "formal")
  • style_guide: Style guide to follow (default: "microsoft")

markupai_check

Analyze text for quality issues without making changes.

Parameters:

  • text (required): The text to analyze
  • dialect: Language dialect (default: "american_english")
  • tone: Target tone to check against (default: "formal")
  • style_guide: Style guide to check against (default: "microsoft")

markupai_suggestions

Get detailed editing suggestions for improving text.

Parameters:

  • text (required): The text to get suggestions for
  • dialect: Language dialect (default: "american_english")
  • tone: Target tone for suggestions (default: "formal")
  • style_guide: Style guide for suggestions (default: "microsoft")

markupai_workflow_status

Check the status of an asynchronous workflow.

Parameters:

  • workflow_id (required): The workflow ID to check
  • workflow_type (required): Type of workflow ("rewrites", "checks", or "suggestions")

Development

Running in Development Mode

npm run dev

Running Tests

# Test suggestions endpoint
node test-suggestions.js

# Test complete workflow
node test-suggestions-complete.js

Building

npm run build

Troubleshooting

Common Issues

  1. "Calling undefined" message in Cursor: This is normal Cursor behavior, not an error. When you see this message with a "Run tool" button, click the button to execute the Markup.ai analysis. This is Cursor's security feature requiring manual approval for MCP tool execution.

  2. "Client closed" error in Cursor: Try clearing the npx cache: npx clear-npx-cache and restart Cursor

  3. API key issues: Verify your MARKUPAI_API_KEY is correctly set in the environment variables

  4. Permission errors: On Unix systems, ensure the compiled JavaScript file is executable (chmod +x dist/index.js)

Debug Mode

Enable debug logging by setting DEBUG=true in your environment:

DEBUG=true npm run start

Architecture

The server implements the Model Context Protocol using stdio transport and provides four main tools that interact with the Markup.ai API. Key features include:

  • Cross-IDE Compatibility: Works with Claude Desktop, Cursor, and any MCP-compatible IDE
  • Retry Logic: Exponential backoff for improved reliability
  • Timeout Handling: Configurable timeouts for long-running operations
  • Comprehensive Logging: Debug mode for troubleshooting
  • Type Safety: Full TypeScript implementation with proper type guards
  • Graceful Shutdown: Proper cleanup on termination

License

MIT

Contributing

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes
  4. Run npm run build to ensure everything compiles
  5. Submit a pull request

Support

For issues and questions:

  • Create an issue on GitHub
  • Check the Markup AI documentation
  • Contact Markup.ai support

Quick Install

Quick Actions

View on GitHubView All Servers

Key Features

Model Context Protocol
Secure Communication
Real-time Updates
Open Source

Boost your projects with Wisdom Gate LLM API

Supporting GPT-5, Claude-4, DeepSeek v3, Gemini and more.

Enjoy a free trial and save 20%+ compared to official pricing.

Learn More
JUHE API Marketplace

Accelerate development, innovate faster, and transform your business with our comprehensive API ecosystem.

JUHE API VS

  • vs. RapidAPI
  • vs. API Layer
  • API Platforms 2025
  • API Marketplaces 2025
  • Best Alternatives to RapidAPI

For Developers

  • Console
  • Collections
  • Documentation
  • MCP Servers
  • Free APIs
  • Temp Mail Demo

Product

  • Browse APIs
  • Suggest an API
  • Wisdom Gate LLM
  • Global SMS Messaging
  • Temp Mail API

Company

  • What's New
  • Welcome
  • About Us
  • Contact Support
  • Terms of Service
  • Privacy Policy
Featured on Startup FameFeatured on Twelve ToolsFazier badgeJuheAPI Marketplace - Connect smarter, beyond APIs | Product Huntai tools code.marketDang.ai
Copyright © 2025 - All rights reserved