Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ composer require mcp/sdk

Since this package has no tagged releases yet, it is required to extend your `composer.json`:
```json
"minimum-stability": "dev",
"prefer-stable": true,
"minimum-stability": "dev",
"prefer-stable": true
```

## ⚡ Quick Start: Stdio Server with Discovery
Expand All @@ -66,8 +66,6 @@ This example demonstrates the most common usage pattern - a `stdio` server using
Create `src/CalculatorElements.php`:

```php
<?php

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this example is about the entire file, not only the class, so this is correct.

namespace App;

use PhpMcp\Server\Attributes\McpTool;
Expand Down