mcp_input_analyzer

by Sumedh1599

289 downloads
Not rated
GitHub

About

Analyzes user-described build features (e.g. database, API integration, tools) and extracts core server requirements like resources, tools, prompts, external systems, and transports needed for MCP.

Details

Author
Sumedh1599
Downloads
289
Categories
Developer Tools, AI

- Natural language to structured build feature extraction
- MCP‑compliant input structure generation
- Validation of supported tools and protocols
- Claude‑readable JSON definition creation
- Fallback logic for unsupported build features

Install via pip: pip install mcp-input-analyzer (requires Python 3.6+). Import the MCPAnalyzer class, initialize it with a description string and optional fallback_behavior parameter, then call methods like extract_requirements(), generate_mcp_structure(), or create_claude_json() to obtain the desired output.

mcp_input_analyzer

Introduction

mcp_input_analyzer is a powerful open-source library designed to analyze user-described build features such as databases, API integrations, and tools. The primary goal of this library is to extract core server requirements including resources, tools, prompts, external systems, and transports needed for MCP (Microservices Configuration Platform). This tool ensures that your project's dependencies and configurations are clearly defined and structured.

Features

- Natural language to structured build feature extraction: Converts free-form text descriptions of build features into a structured format. - MCP-compliant input structure generation: Generates input structures that conform to the MCP specifications, ensuring compatibility with MCP platforms. - Validation of supported tools and protocols: Validates whether specified tools and protocols are supported by the library. - Claude-readable JSON definition creation: Creates JSON definitions that can be easily read and processed by Claude or similar systems. - Fallback logic for unsupported features: Provides fallback mechanisms to handle unsupported build features gracefully.

Installation Instructions

To install mcp_input_analyzer, you need Python 3.6+ installed on your system. You can then install the library via pip:
pip install mcp-input-analyzer

Alternatively, if you prefer to clone the repository and install from source, follow these steps:

git clone https://github.com/your-repo/mcp_input_analyzer.git
cd mcp_input_analyzer
pip install .

Usage Examples

Example 1: Basic Feature Extraction

```python from mcp_input_analyzer import MCPAnalyzer
No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.