MCP ExplorerExplorer

Mcp Slop Adapter

@kortexa-aion 10 months ago
11 MIT
FreeCommunity
AI Systems
A lightweight adapter connecting MCP clients to SLOP servers, converting requests and resources.

Overview

What is Mcp Slop Adapter

The mcp-slop-adapter is a lightweight adapter that connects MCP (Model Context Protocol) clients, such as Claude Desktop, with any SLOP (Simple Language Open Protocol) compatible server.

Use cases

Use cases for the mcp-slop-adapter include connecting AI models to various tools and resources via SLOP, enabling seamless communication between different AI systems, and facilitating the use of SLOP endpoints in MCP-compatible applications.

How to use

You can use the adapter by running it directly with npx or by globally installing it via npm. To connect Claude Desktop to a SLOP server, you need to edit its configuration file to include the adapter’s command and server URL.

Key features

Key features of the mcp-slop-adapter include converting MCP tool requests to SLOP API calls, exposing SLOP resources as MCP resources, providing MCP tools for SLOP-specific endpoints (chat, memory, pay), and handling error conversion between the two protocols.

Where to use

The mcp-slop-adapter is useful in environments where integration between MCP clients and SLOP servers is required, particularly in AI applications that utilize these protocols.

Content

MCP to SLOP Adapter

A lightweight adapter that connects MCP (Model Context Protocol) clients like Claude Desktop with any SLOP (Simple Language Open Protocol) compatible server.

What is MCP and SLOP?

  • MCP (Model Context Protocol): A proprietary protocol developed by Anthropic that enables AI models to access tools and resources. Learn more about MCP.
  • SLOP (Simple Language Open Protocol): A simple open-source REST-based pattern for AI APIs with 5 basic endpoints. Learn more about SLOP or join the SLOP Discord community.

Features

This adapter bridges MCP and SLOP by:

  • Converting MCP tool requests to SLOP API calls
  • Exposing SLOP resources as MCP resources
  • Providing MCP tools for SLOP-specific endpoints (chat, memory, pay)
  • Handling error conversion between protocols

Installation & Usage

Using npx

You can run the adapter directly using npx:

npx @kortexa-ai/mcp-slop-adapter http://your-slop-server-url

Global Installation

npm install -g @kortexa-ai/mcp-slop-adapter
mcp-slop-adapter http://your-slop-server-url

Configuring Claude Desktop

To connect Claude Desktop with a SLOP server:

  1. Make sure your SLOP server is running
  2. Edit Claude Desktop’s configuration file:
    • Windows: %APPDATA%\Claude\claude_desktop_config.json
    • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  3. Add the following configuration:
{
  "mcpServers": {
    "mcp-slop-adapter": {
      "command": "npx",
      "args": [
        "@kortexa-ai/mcp-slop-adapter",
        "http://your-slop-server-url"
      ]
    }
  }
}

Replace http://your-slop-server-url with the URL of your SLOP server.

Debugging

You can use the MCP Inspector to connect to the adapter and inspect your SLOP server.

Exposed MCP Capabilities

This adapter exposes:

  • Tools: Native SLOP tools from /tools endpoint, plus chat, memory-store, memory-get, and pay
  • Resources: All resources from the SLOP /resources endpoint

License

MIT

Tools

No tools

Comments

Recommend MCP Servers

View All MCP Servers