Skip to main content
Glama
yashvis15
by yashvis15

Aporix MCP Server

MCP server that exposes the Aporix document optimization API as a tool for AI agents (ClawUp, OpenClaw, Claude Desktop, etc.).

Supports stdio (local agents) and HTTP/SSE (hosted endpoint) transport.

Tool: optimize_document

Inputs:

Input

Type

Description

file_path

string

Absolute path to the document (PDF, TXT, JSON, MD)

goal

string

Optimization goal (e.g. "extract key risks")

Outputs:

Output

Type

Description

optimizedContext

string

Compressed/optimized document text

originalTokens

number

Estimated original token count

optimizedTokens

number

Estimated optimized token count

tokenSavingsPercent

number

Percentage of tokens saved

costSavings

number

Estimated USD cost savings

qualityValidation

object

Confidence score, similarity, summaries, warnings


Related MCP server: Refract

Local stdio (for local agents)

npm install
npm run build
npm start

Register in ~/.openclaw/openclaw.json:

{
  "mcpServers": {
    "aporix": {
      "command": "node",
      "args": ["/absolute/path/to/aporix-mcp-server/dist/index.js"]
    }
  }
}

Hosted HTTP/SSE (for ClawUp MCP submission)

Run locally

npm run dev:http
# Server starts on http://localhost:3001/mcp

Endpoints

Endpoint

Method

Description

/mcp

GET

SSE connection (client init)

/mcp?sessionId=xxx

POST

Send JSON-RPC messages

/health

GET

Health check

/

GET

Server info

Deploy to Railway

# Install Railway CLI
npm i -g @railway/cli

# Login and deploy
railway login
railway init
railway up

# Set environment variable
railway env set APORIX_API_URL=https://your-domain.vercel.app/api/optimize

Railway auto-detects the Dockerfile and sets PORT.

Deploy to Render

  1. Create a new Web Service

  2. Connect your GitHub repo

  3. Use these settings:

    • Runtime: Docker

    • Health Check Path: /health

  4. Add environment variable:

    • APORIX_API_URL: https://your-domain.vercel.app/api/optimize

Deploy to Fly.io

fly launch
fly secrets set APORIX_API_URL=https://your-domain.vercel.app/api/optimize
fly deploy

Submit to ClawUp

Once deployed, paste your public MCP endpoint URL:

https://your-app.railway.app/mcp

into ClawUp's MCP Tool Submission form. The endpoint follows the Model Context Protocol over SSE transport.


Environment Variables

Variable

Default

Description

APORIX_API_URL

https://aporix-v3-agent1.vercel.app/api/optimize

Aporix backend API

PORT

3001

HTTP server port

TRANSPORT

auto (http if PORT is set)

stdio or http

Testing

# Stdio test
echo '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' | node dist/index.js

# HTTP test (after starting with npm run dev:http)
curl http://localhost:3001/health
Install Server
F
license - not found
A
quality
B
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    A
    quality
    B
    maintenance
    MCP proxy that compresses tool schemas on the fly. Up to 98% token reduction, 100% signal preserved verified after every compression. Zero LLM calls, fully deterministic.
    Last updated
    5
    3
    MIT
  • A
    license
    A
    quality
    A
    maintenance
    MCP server and local proxy that compresses LLM prompts, tool output, and replies to cut token cost, with a quality gate that reverts any step that does not save. Exposes llmtrim_compress, llmtrim_compress_text, and llmtrim_stats.
    Last updated
    3
    195
    Mozilla Public 2.0
  • F
    license
    B
    quality
    C
    maintenance
    Local MCP server for token optimization, providing tools to compress code/JSON, optimize prompts, and manage placeholder-based content redaction and hydration to reduce LLM token usage.
    Last updated
    5

View all related MCP servers

Related MCP Connectors

  • OCR, transcription, file extraction, and image generation for AI agents via MCP.

  • Free public MCP for AI agents — 193 tools, 44 workflows. No API key.

  • 100+ MCP tools for AI agents: content metadata, trade intelligence, business-expertise analysis.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/yashvis15/aporix-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server