OpenRouter Conversation Manager
Summary
MCP Conversation Server provides a standardized interface for managing conversations with OpenRouter's language models. It enables applications to create and manage multiple conversations, send messages with streaming support, and persist conversation state to the filesystem. Built with TypeScript and the OpenAI SDK, it features automatic token counting, context window management, and support for various models including Claude 3 Opus, Claude 3 Sonnet, and Llama 2 70B. The server loads configuration from YAML files, handles error states appropriately, and is particularly valuable for developers who need a unified conversation management system across different AI models without managing provider-specific implementations.
Available Actions(3)
create-conversation
Create a new conversation with the specified OpenRouter model. Parameters: provider (always 'openrouter'), model (string), title (optional string)
send-message
Send a message to a specific conversation. Parameters: conversationId (string), content (string), stream (optional boolean)
list-conversations
List all active conversations with optional filters. Parameters: filter (optional object with model, startDate, endDate)
社区评论
暂无评论. 成为第一个评论的人!
登录以参与讨论