MCPServers
U

Unichat (TS)

9
0

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): The code to review.

document_code

Generate documentation for code including docstrings and comments. Arguments: code (string, required): The code to comment.

explain_code

Explain how a piece of code works in detail. Arguments: code (string, required): The code to explain.

code_rework

Apply requested changes to the provided code. Arguments: changes (string, optional): The changes to apply; code (string, required): The code to rework.

Last Updated: April 8, 2025

社区评论

0.0
0 条评论
5
0
4
0
3
0
2
0
1
0

暂无评论. 成为第一个评论的人!

登录以参与讨论

Try it now in
HighlightHighlight AI

语言

TypeScript

分类

标签