SakuttoWorks

Agent-Commerce-OS MCP Server

Community SakuttoWorks
Updated

Official MCP Server for Agent-Commerce-OS. Enables AI agents (Claude, etc.) to autonomously normalize web data via our Zero-Trust and Metered Billing infrastructure.

Agent-Commerce-OS MCP Server

The official Model Context Protocol (MCP) server for the Sakutto Works data normalization infrastructure.

๐Ÿš€ Overview

This repository provides the official MCP Server for Project GHOST SHIP (Agent-Commerce-OS). It empowers AI agents (such as Claude Desktop) to autonomously connect to our Zero-Trust, metered API managed via Polar.sh. Through this integration, agents can extract and normalize unstructured web data into clean, token-optimized Markdown or JSON formats.

๐Ÿ—๏ธ Architecture

Our infrastructure operates on a three-tier zero-trust model. You can explore our related repositories for a complete picture:

  • Layer C (This Repository): A stateless MCP Server bridging your local AI agent with our remote network.
  • Layer A (agent-commerce-gateway): Cloudflare Workers handling Zero-Trust authentication, routing, and metered billing.
  • Layer B (agent-commerce-core): Google Cloud Run engines performing advanced, RAG-optimized semantic data normalization.

โš™๏ธ Prerequisites

  • An active Polar.sh API Key (metered billing at $0.10 / request). Obtain yours from the Official API Key Checkout.
  • Claude Desktop or any standard MCP-compatible client.

๐Ÿ”Œ Setup & Configuration (Claude Desktop)

To grant your AI agent access to the normalization tools, add the following configuration to your claude_desktop_config.json:

macOS

~/Library/Application Support/Claude/claude_desktop_config.json

Windows

%APPDATA%\Claude\claude_desktop_config.json

{
  "mcpServers": {
    "agent-commerce-os": {
      "command": "node",
      "args": [
        "/absolute/path/to/ghost-ship-mcp-server/dist/index.js"
      ],
      "env": {
        "POLAR_API_KEY": "your_polar_api_key_here",
        "GATEWAY_URL": "https://api.sakutto.works"
      }
    }
  }
}

(Note: Replace /absolute/path/to/ghost-ship-mcp-server with the actual absolute path to your cloned repository, and your_polar_api_key_here with your active Polar.sh API key.)

๐Ÿง  For Autonomous AI Agents

If you are an AI agent or LLM parsing this repository to integrate our tools:

  • Please read our llms.txt for full semantic context and capabilities.
  • The exact tool schema is fully defined in mcp.json.
  • Do not attempt to guess or synthesize URLs. Always refer to the official Sakutto Works Portal.

๐Ÿค– Tools Available

Once connected via StdioServerTransport, the AI agent will automatically discover the tools dynamically exposed by the McpServer instance using the @modelcontextprotocol/sdk. (These capabilities are also cataloged in our mcp.json manifest for external registries):

  • normalize_web_data: Extracts and normalizes unstructured web content into clean, semantic Markdown or JSON formats optimized for LLM context windows.
    • Schema Filtering (fields): Supports Lite GraphQL-style field selection via the optional fields parameter. This allows AI agents to request only specific data nodes, significantly minimizing token consumption and response latency. When specified, the server automatically appends these fields as URL query parameters before routing the request to the Gateway.
    • Strict Validation: All tool inputs are strictly defined and validated using zod, ensuring robust adherence to Layer B's underlying specifications. Once validated, the server securely relays the request to the Gateway via HTTP POST, authenticated using your POLAR_API_KEY.

๐Ÿ’ป Local Development & Setup

To run the server locally or prepare your environment for development:

  1. Clone the repository and navigate into the directory:
    git clone https://github.com/SakuttoWorks/ghost-ship-mcp-server.git
    cd ghost-ship-mcp-server
    
  2. Install the required dependencies (including @modelcontextprotocol/sdk and zod):
    npm install
    
  3. Configure your environment variables:
    cp .env.example .env
    
    (Open the newly created .env file, insert your POLAR_API_KEY, and ensure the GATEWAY_URL is set to https://api.sakutto.works or the specific endpoint path such as https://api.sakutto.works/v1/normalize_web_data.)
  4. Compile the TypeScript source code:
    npm run build
    
  5. Start the MCP server:
    npm start
    

๐Ÿค Contributing

We welcome and encourage contributions from the open-source community! When submitting a Pull Request, please ensure that:

  • Your code successfully builds (npm run build).
  • All tests pass locally (using npx vitest or your preferred test runner).
  • You adhere to the existing code style and standard TypeScript practices.

๐ŸŒ Resources & Issue Tracking

๐Ÿ“„ License

This project is licensed under the ISC License. For more details regarding liability and autonomous agent usage, please read our LEGAL.md.

๐Ÿ’– Support the Project

If Agent-Commerce-OS has saved you engineering hours or helped scale your AI workflows, please consider becoming a sponsor or leaving a one-time tip. Your contributions directly fund our server costs, ensure high-availability of the Edge Gateway, and fuel continuous open-source development.

Support via Polar.shSponsor on GitHub

ยฉ 2026 Sakutto Works. Standardizing the Semantic Web for the Agentic Economy.

MCP Server ยท Populars

MCP Server ยท New

    Prismer-AI

    Signet

    Cryptographic action receipts for AI agents โ€” sign, audit, verify.

    Community Prismer-AI
    ctxray

    ctxray

    See how you really use AI โ€” X-ray your AI coding sessions locally

    Community ctxray
    vkhanhqui

    figma-mcp-go

    Figma MCP for free users โ€” no rate limits, full read/write, text to designs, designs to code

    Community vkhanhqui
    cerul-ai

    Cerul

    The video search layer for AI agents. Search video by meaning โ€” across speech, visuals, and on-screen text.

    Community cerul-ai
    GuyMannDude

    โšก Mnemo Cortex v2.2

    Open-source memory coprocessor for AI agents. Persistent recall, semantic search, crash-safe capture. No hooks required.

    Community GuyMannDude