mcp-slop-adapter

mcp-slop-adapterは、JavaScriptで開発された自動化ツールであり、異なるシステム間のデータ変換や統合を効率的に行います。特に、APIとの連携を強化し、ワークフローの自動化を実現するための機能を提供します。使いやすさと拡張性を兼ね備えた設計で、開発者が迅速にプロジェクトに組み込むことができます。

GitHubスター

12

ユーザー評価

未評価

お気に入り

0

閲覧数

104

フォーク

2

イシュー

0

README
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