Skip to content

Commit 185fc41

Browse files
author
klapaudius
committed
Mark MigrateToolSchemaCommand as deprecated for removal in 2.0.0 and improve documentation in CHANGELOG and README.
1 parent 97caed1 commit 185fc41

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@
1919
- Add MCP features status table in README
2020
- Update tool documentation to use StructuredSchema for input/output schemas
2121
- **Migration Command**
22-
- Add the MigrateToolSchemaCommand to help developers on tools new StructuredSchema feature migration
22+
- Add the MigrateToolSchemaCommand to help developers on tools new StructuredSchema feature migration:
23+
php bin/console mcp:migrate-tool-schema \\App\\MCP\\Tools\\MyLegacyTool
2324

2425
### Version 1.4.0
2526
- **Core Features:**

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,7 @@
1111
<a href="https://codecov.io/gh/klapaudius/symfony-mcp-server" > <img src="https://codecov.io/gh/klapaudius/symfony-mcp-server/graph/badge.svg?token=5FXOJVXPZ1" alt="Coverage"/></a>
1212
<a href="https://packagist.org/packages/klapaudius/symfony-mcp-server"><img src="https://img.shields.io/packagist/l/klapaudius/symfony-mcp-server" alt="License"></a>
1313
<a href="https://packagist.org/packages/klapaudius/symfony-mcp-server"><img src="https://img.shields.io/packagist/v/klapaudius/symfony-mcp-server" alt="Latest Stable Version"></a>
14-
15-
[//]: # (<a href="https://packagist.org/packages/klapaudius/symfony-mcp-server"><img src="https://img.shields.io/packagist/dt/klapaudius/symfony-mcp-server" alt="Total Downloads"></a>)
14+
# (<a href="https://packagist.org/packages/klapaudius/symfony-mcp-server"><img src="https://img.shields.io/packagist/dt/klapaudius/symfony-mcp-server" alt="Total Downloads"></a>)
1615
</p>
1716

1817
## 🤖 Unleash the Power of AI Agents in Your Symfony Apps

src/Command/MigrateToolSchemaCommand.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@
1111
use Symfony\Component\Console\Output\OutputInterface;
1212
use Symfony\Component\Console\Style\SymfonyStyle;
1313

14+
/**
15+
* To be removed on 2.0.0
16+
*/
1417
#[AsCommand(
1518
name: 'mcp:migrate-tool-schema',
1619
description: 'Migrates a tool class from array-based schema to StructuredSchema',

0 commit comments

Comments
 (0)