Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion minimax_mcp/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
"""Minimax Coding Plan MCP Server package."""

__version__ = "0.0.3"
__version__ = "0.1.0"
5 changes: 2 additions & 3 deletions minimax_mcp/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
import os
import json
from dotenv import load_dotenv
from mcp.server.fastmcp import FastMCP
from fastmcp import FastMCP
from mcp.types import TextContent
from minimax_mcp.utils import (
process_image_url,
Expand All @@ -27,14 +27,13 @@
load_dotenv()
api_key = os.getenv(ENV_MINIMAX_API_KEY)
api_host = os.getenv(ENV_MINIMAX_API_HOST)
fastmcp_log_level = os.getenv(ENV_FASTMCP_LOG_LEVEL) or "WARNING"

if not api_key:
raise ValueError("MINIMAX_API_KEY environment variable is required")
if not api_host:
raise ValueError("MINIMAX_API_HOST environment variable is required")

mcp = FastMCP("Minimax",log_level=fastmcp_log_level)
mcp = FastMCP("Minimax")
api_client = MinimaxAPIClient(api_key, api_host)

@mcp.tool(
Expand Down
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "minimax-coding-plan-mcp"
version = "0.0.4"
version = "0.1.0"
description = "Specialized MiniMax Model Context Protocol (MCP) server designed for coding-plan users"
authors = [
{ name = "Roy Wu", email = "zhengyu@minimax.chat" },
Expand All @@ -22,7 +22,8 @@ keywords = [
]
requires-python = ">=3.10"
dependencies = [
"mcp[cli]>=1.6.0",
"mcp>=1.6.0",
"fastmcp>=3.0",
"python-dotenv>=1.0.1",
"requests>=2.31.0",
]
Expand All @@ -34,7 +35,6 @@ minimax-coding-plan-mcp = "minimax_mcp.server:main"
dev = [
"pre-commit>=3.6.2",
"ruff>=0.3.0",
"fastmcp>=0.4.1",
"pytest>=8.0.0",
"pytest-cov>=4.1.0",
"twine>=6.1.0",
Expand Down