mcp-schema_validator
Validates the LLM-generated MCP components against official schema definitions from the MCP TypeScript/Python SDKs to ensure compliance.
Features
- Schema validation for tools, resources, prompts
- Supports MCP TypeScript and Python SDK formats
- Auto-fix suggestions for invalid schema fields
- Human-readable error messages
- Integration with LLM for fixes
Installation
pip install mcp-schema_validator
Usage
from mcp_schema_validator import Mcp_schema_validator
# Initialize the library
mcp_schema_validator_instance = Mcp_schema_validator()
# Use the library functions
# Example usage will be added in future versions
License
MIT
Metadata
Release files for mcp-schema-validator 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| mcp_schema_validator-0.1.0.tar.gz | 2.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| mcp_schema_validator-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 4.9 kB
Release files / mcp_schema_validator-0.1.0.tar.gz
| Download URL | mcp_schema_validator-0.1.0.tar.gz |
|---|---|
| Size | 2.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c08065153df58d93384de78ecf000813360215fcd8eee19e2bf132400e29de0b
|
|
BLAKE2b-256 checksum How to use checksums |
4ffdd603cc2cec02a42d26ea193cc5827573f0ca62a2c791131bcc9772d60224
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.9.6
|
Release files / mcp_schema_validator-0.1.0-py3-none-any.whl
| Download URL | mcp_schema_validator-0.1.0-py3-none-any.whl |
|---|---|
| Size | 2.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
49848e737d752f41e902f044e0d19ed37c90799840cc2c3e0469f1fb18254d35
|
|
BLAKE2b-256 checksum How to use checksums |
cac4a85b8243fc0e0a9fe91bba893da0d718306f77b10798f8cedf013b8fb0b9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.9.6
|