GitHubスター
0
ユーザー評価
未評価
フォーク
0
イシュー
0
閲覧数
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:
- Make sure your SLOP server is running
- Edit Claude Desktop's configuration file:
- Windows:
%APPDATA%\Claude\claude_desktop_config.json
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json
- Windows:
- 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, pluschat
,memory-store
,memory-get
, andpay
- Resources: All resources from the SLOP
/resources
endpoint
License
MIT
作者情報
スレッド