Skip to content

[FEATURE][MCP-SERVER]: Python sample - code-splitter-server #1053

@crivetimihai

Description

@crivetimihai

Overview

Create an MCP Server in Python that provides code-aware file splitting and chunking capabilities for processing large codebases with syntax awareness.

Server Specifications

Server Details

  • Name: code-splitter-server
  • Language: Python 3.11+
  • Location: mcp-servers/python/code_splitter_server/
  • Purpose: Intelligent code splitting with syntax awareness

Core Features

  • Language-specific code parsing and splitting
  • AST-based chunking for accuracy
  • Function/class-level splitting
  • Import and dependency preservation
  • Comment and docstring handling
  • Multi-language support

Use Cases

  • Code review and analysis systems
  • Documentation generation
  • Code migration tools
  • Large codebase processing
  • AI code assistant pipelines
  • Code search and indexing

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requestmcp-serversMCP Server SamplesoicOpen Innovation Community ContributionspythonPython / backend development (FastAPI)

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions