Unichat (TS)
Summary
This TypeScript MCP server, developed by Stefan, integrates the Unichat library to enable AI assistants to interact with multiple language models including OpenAI, MistralAI, Anthropic, xAI, and Google AI. It provides a unified interface for sending requests to these models via a single 'unichat' tool, abstracting away the complexities of individual APIs. The server supports both STDIO and SSE transport mechanisms and includes predefined prompts for common tasks like code review, documentation, and explanation. By offering a consistent way to leverage multiple AI models, this implementation is particularly useful for developers building flexible chatbots, multi-model AI assistants, or applications that require seamless switching between different language models.
Available Actions(5)
unichat
Send a request to unichat. Takes 'messages' as required string arguments and returns a response.
code_review
Review code for best practices, potential issues, and improvements. Arguments: code (string, required)
document_code
Generate documentation for code including docstrings and comments. Arguments: code (string, required)
explain_code
Explain how a piece of code works in detail. Arguments: code (string, required)
code_rework
Apply requested changes to the provided code. Arguments: changes (string, optional), code (string, required)
Community Reviews
No reviews yet. Be the first to review!
Sign in to join the conversation