A
securityA
licenseA
qualityProvides tools for collecting and documenting code from directories.
Last updated -
4
81
12
TypeScript
MIT License
Mistral Codestral API 的 MCP 服务器实现,提供代码完成、错误修复和测试生成功能。
.env.example
复制到.env
并添加您的 Mistral API 密钥:启动服务器:
将您的 Mistral API 密钥添加到.env
文件:
用于完成、修复错误或生成测试的流程代码:
参数:
code
(字符串,必需):要处理的代码language
(字符串,可选):编程语言task
(字符串,必需):以下之一:"complete"
:代码完成"fix"
:错误修复"test"
:测试生成"fim"
:中间填空该服务器支持两种主要的 Mistral 型号:
codestral-latest
:代码相关任务的默认模型codestral-mamba-latest
:采用 Mamba 架构的替代模型功能包括:
以自动重新加载的方式在开发模式下运行:
运行测试:
服务器实现了全面的错误处理:
服务器通过file://code
资源 URI 提供对代码文件的访问,允许与工作区文件集成。
麻省理工学院
This server cannot be installed
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
为多种编程语言提供代码完成、错误修复和测试生成,并与 Mistral Codestral API 集成以增强代码开发流程。
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/bsmi021/mcp-mistral-codestral'
If you have feedback or need assistance with the MCP directory API, please join our Discord server