potentialpaper

Code2MCP: Transforming Code Repositories into MCP Services

Keep the title, authors and abstract in paper.json

potentialpaper · 2026-11-23 18:50 UTC · 288116d23306 ·

.potentialpaper/metadata.json modified

+++ b/.potentialpaper/metadata.json
@@ -1,28 +1,5 @@
{
- "layout": 5,
- "identifiers": [
- {
- "scheme": "openreview",
- "value": "Gy3yK8W8An"
- }
- ],
- "title": "Code2MCP: Transforming Code Repositories into MCP Services",
- "authors": [
- "Chaoqian Ouyang",
- "Ling Yue",
- "Shimin Di",
- "Libin Zheng",
- "Linan Yue",
- "Shaowu Pan",
- "Jian Yin",
- "Min-Ling Zhang"
- ],
- "abstract": "The Model Context Protocol (MCP) aims to create a standard for how Large Language Models use tools. However, most current research focuses on selecting tools from an existing pool. A more fundamental, yet largely overlooked, problem is how to populate this pool by converting the vast number of existing software projects into MCP-compatible services. To bridge this gap, we introduce Code2MCP, an agent-based framework that automatically transforms a GitHub repository into a functional MCP service with minimal human intervention. Code2MCP employs a multi-agent workflow for code analysis, environment setup, tool function design, and service generation, enhanced by a self-correcting loop to ensure reliability. We demonstrate that Code2MCP successfully transforms open-source computing libraries in scientific fields such as bioinformatics, mathematics, and fluid dynamics that are not available in existing MCP servers. By providing a novel automated pathway to unlock GitHub, the world's largest code repository, for the MCP ecosystem, Code2MCP serves as a catalyst to significantly accelerate the protocol's adoption and practical application. The code is public at \\url{https://anonymous.4open.science/r/Code2MCP-5B47.",
- "year": 2026,
- "venue": "ICLR 2026 submission",
- "source": "openreview",
- "license": {
- "metadata": "CC0-1.0",
- "abstract": "CC0-1.0"
- }
+ "layout": 6,
+ "kind": "paper",
+ "key": "770042e6-bbd4-47bc-8929-a3b4611088f6"
}

paper.json added

+++ b/paper.json
@@ -0,0 +1,18 @@
+{
+ "title": "Code2MCP: Transforming Code Repositories into MCP Services",
+ "authors": [
+ "Chaoqian Ouyang",
+ "Ling Yue",
+ "Shimin Di",
+ "Libin Zheng",
+ "Linan Yue",
+ "Shaowu Pan",
+ "Jian Yin",
+ "Min-Ling Zhang"
+ ],
+ "abstract": "The Model Context Protocol (MCP) aims to create a standard for how Large Language Models use tools. However, most current research focuses on selecting tools from an existing pool. A more fundamental, yet largely overlooked, problem is how to populate this pool by converting the vast number of existing software projects into MCP-compatible services. To bridge this gap, we introduce Code2MCP, an agent-based framework that automatically transforms a GitHub repository into a functional MCP service with minimal human intervention. Code2MCP employs a multi-agent workflow for code analysis, environment setup, tool function design, and service generation, enhanced by a self-correcting loop to ensure reliability. We demonstrate that Code2MCP successfully transforms open-source computing libraries in scientific fields such as bioinformatics, mathematics, and fluid dynamics that are not available in existing MCP servers. By providing a novel automated pathway to unlock GitHub, the world's largest code repository, for the MCP ecosystem, Code2MCP serves as a catalyst to significantly accelerate the protocol's adoption and practical application. The code is public at \\url{https://anonymous.4open.science/r/Code2MCP-5B47.",
+ "license": {
+ "metadata": "CC0-1.0",
+ "abstract": "CC0-1.0"
+ }
+}