Skip to content

Commit 202a5f5

Browse files
author
klapaudius
committed
Expand README.md with MCP Inspector usage details and streamline ProfileGeneratorTool implementation
- Add instructions for using Model Context Protocol Inspector for visualization. - Introduce a new section in README to guide users on running MCP Inspector via `npx`. - Remove unused `StreamableToolInterface` from `ProfileGeneratorTool`.
1 parent 15843bc commit 202a5f5

File tree

2 files changed

+19
-4
lines changed

2 files changed

+19
-4
lines changed

README.md

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
<h1 align="center">Symfony MCP Server</h1>
22

33
<p align="center">
4-
<strong>Build Intelligent AI Agents with Symfony</strong><br>
4+
A powerful Symfony package to build a Model Context Protocol Server seamlessly and
5+
<strong>build Intelligent AI Agents.</strong><br>
56
Transform your Symfony applications into powerful AI-driven systems
67
</p>
78

@@ -347,7 +348,17 @@ php bin/console make:mcp-tool MyCustomTool
347348
php bin/console mcp:test-tool MyCustomTool --input='{"task":"analyze this code"}'
348349
```
349350

350-
### 4. Connect AI Clients
351+
### 4. Visualizing with Inspector
352+
353+
You can use the Model Context Protocol Inspector to visualize and test your MCP tools:
354+
355+
```bash
356+
# Run the MCP Inspector without installation
357+
npx @modelcontextprotocol/inspector node build/index.js
358+
```
359+
This will typically open a web interface at `localhost:6274`. To test your MCP server:
360+
361+
### 5. Connect AI Clients
351362

352363
Your agents are now accessible to:
353364
- 🤖 Claude Desktop / Claude.ai
@@ -391,6 +402,11 @@ Build the next generation of AI-powered applications with Symfony MCP Server. Yo
391402

392403
MIT License - Build freely!
393404

405+
## MCP Registries referencing
406+
https://mcpreview.com/mcp-servers/klapaudius/symfony-mcp-server
407+
408+
https://mcp.so/server/symfony-mcp-server/klapaudius
409+
394410
---
395411

396412
*Built with ❤️ by [Boris AUBE](https://github.com/klapaudius) and the [contributors](https://github.com/klapaudius/symfony-mcp-server/contributors) - Inspired by [OP.GG/laravel-mcp-server](https://github.com/opgginc/laravel-mcp-server)*

src/Services/ToolService/Examples/ProfileGeneratorTool.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,14 @@
1111
use KLP\KlpMcpServer\Services\ToolService\Result\TextToolResult;
1212
use KLP\KlpMcpServer\Services\ToolService\Result\ToolResultInterface;
1313
use KLP\KlpMcpServer\Services\ToolService\SamplingAwareToolInterface;
14-
use KLP\KlpMcpServer\Services\ToolService\StreamableToolInterface;
1514
use Symfony\Component\HttpKernel\KernelInterface;
1615

1716
/**
1817
* Example streaming tool that generates a user profile with text and image.
1918
*
2019
* This tool demonstrates how to return multiple result types using CollectionToolResult.
2120
*/
22-
class ProfileGeneratorTool implements SamplingAwareToolInterface, StreamableToolInterface
21+
class ProfileGeneratorTool implements SamplingAwareToolInterface
2322
{
2423
private string $baseDir;
2524

0 commit comments

Comments
 (0)