ai-coding-gym-mcp 0.1.5__tar.gz → 0.1.7__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,17 +1,16 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ai-coding-gym-mcp
3
- Version: 0.1.5
3
+ Version: 0.1.7
4
4
  Summary: MCP server for AI Coding Gym - fetch and submit coding challenges
5
5
  Home-page: https://github.com/yourusername/ai-coding-gym-mcp
6
6
  Author: AICodingGym Team
7
7
  Author-email: Your Name <your.email@example.com>
8
- License: MIT
8
+ License-Expression: MIT
9
9
  Project-URL: Homepage, https://github.com/yourusername/ai-coding-gym-mcp
10
10
  Project-URL: Issues, https://github.com/yourusername/ai-coding-gym-mcp/issues
11
11
  Keywords: mcp,model-context-protocol,coding-gym,ai
12
12
  Classifier: Development Status :: 3 - Alpha
13
13
  Classifier: Intended Audience :: Developers
14
- Classifier: License :: OSI Approved :: MIT License
15
14
  Classifier: Programming Language :: Python :: 3
16
15
  Classifier: Programming Language :: Python :: 3.10
17
16
  Classifier: Programming Language :: Python :: 3.11
@@ -1,17 +1,16 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ai-coding-gym-mcp
3
- Version: 0.1.5
3
+ Version: 0.1.7
4
4
  Summary: MCP server for AI Coding Gym - fetch and submit coding challenges
5
5
  Home-page: https://github.com/yourusername/ai-coding-gym-mcp
6
6
  Author: AICodingGym Team
7
7
  Author-email: Your Name <your.email@example.com>
8
- License: MIT
8
+ License-Expression: MIT
9
9
  Project-URL: Homepage, https://github.com/yourusername/ai-coding-gym-mcp
10
10
  Project-URL: Issues, https://github.com/yourusername/ai-coding-gym-mcp/issues
11
11
  Keywords: mcp,model-context-protocol,coding-gym,ai
12
12
  Classifier: Development Status :: 3 - Alpha
13
13
  Classifier: Intended Audience :: Developers
14
- Classifier: License :: OSI Approved :: MIT License
15
14
  Classifier: Programming Language :: Python :: 3
16
15
  Classifier: Programming Language :: Python :: 3.10
17
16
  Classifier: Programming Language :: Python :: 3.11
@@ -1,3 +1,2 @@
1
1
  [console_scripts]
2
2
  ai-coding-gym-mcp = server:main
3
- ai_coding_gym_mcp = server:main
@@ -1,10 +1,10 @@
1
1
  [project]
2
2
  name = "ai-coding-gym-mcp"
3
- version = "0.1.5"
3
+ version = "0.1.7"
4
4
  description = "MCP server for AI Coding Gym - fetch and submit coding challenges"
5
5
  readme = "README.md"
6
6
  requires-python = ">=3.10"
7
- license = {text = "MIT"}
7
+ license = "MIT"
8
8
  authors = [
9
9
  {name = "Your Name", email = "your.email@example.com"}
10
10
  ]
@@ -12,7 +12,6 @@ keywords = ["mcp", "model-context-protocol", "coding-gym", "ai"]
12
12
  classifiers = [
13
13
  "Development Status :: 3 - Alpha",
14
14
  "Intended Audience :: Developers",
15
- "License :: OSI Approved :: MIT License",
16
15
  "Programming Language :: Python :: 3",
17
16
  "Programming Language :: Python :: 3.10",
18
17
  "Programming Language :: Python :: 3.11",
@@ -29,4 +28,3 @@ Issues = "https://github.com/yourusername/ai-coding-gym-mcp/issues"
29
28
 
30
29
  [project.scripts]
31
30
  ai-coding-gym-mcp = "server:main"
32
- ai_coding_gym_mcp = "server:main"
@@ -318,9 +318,10 @@ def submit_solution(
318
318
  if creds["user_id"] != user_id:
319
319
  return f"Error: User ID mismatch. Problem was fetched by {creds['user_id']}, not {user_id}."
320
320
 
321
- # Find problem directory
322
- workspace_dir = Path("./workspace").resolve()
323
- problem_dir = workspace_dir / problem_id
321
+ # Find problem directory (use configured workspace or default)
322
+ workspace_dir = config_store.get("workspace_dir", "./workspace")
323
+ workspace_path = Path(workspace_dir).resolve()
324
+ problem_dir = workspace_path / problem_id
324
325
 
325
326
  if not problem_dir.exists():
326
327
  return f"Error: Problem directory not found at {problem_dir}"
@@ -392,6 +393,10 @@ Your solution has been submitted for evaluation!
392
393
  return f"Error: Unexpected error: {str(e)}"
393
394
 
394
395
 
395
- if __name__ == "__main__":
396
- # Initialize and run the server
396
+ def main():
397
+ """Entry point for the MCP server."""
397
398
  mcp.run(transport='stdio')
399
+
400
+
401
+ if __name__ == "__main__":
402
+ main()
@@ -5,7 +5,7 @@ with open("README.md", "r", encoding="utf-8") as fh:
5
5
 
6
6
  setup(
7
7
  name="ai-coding-gym-mcp",
8
- version="0.1.5",
8
+ version="0.1.7",
9
9
  author="AICodingGym Team",
10
10
  author_email="datasmithlab@gmail.com",
11
11
  description="MCP server for AI Coding Gym - fetch and submit AI coding challenges",