Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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
4 changes: 2 additions & 2 deletions doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Install the SDK using Composer:
Usage
-----

The `Model Context Protocol`_ is built on top of JSON-RPC. There two types of
The `Model Context Protocol`_ is built on top of JSON-RPC. There are two types of
messages. A Notification and Request. The Notification is just a status update
that something has happened. There is never a response to a Notification. A Request
is a message that expects a response. There are 3 concepts/capabilities that you
Expand Down Expand Up @@ -152,6 +152,6 @@ and value objects to work with. They will assure that you follow the `Model Cont
specification.

You also have the Transport abstraction that allows you to create your own transport
if non of the standard ones fit your needs.
if none of the standard ones fit your needs.

.. _`Model Context Protocol`: https://modelcontextprotocol.io/
2 changes: 1 addition & 1 deletion examples/09-standalone-cli/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ DEBUG=1 php index.php

You will see debug outputs to help you understand what is happening.

In this terminal you can now test add some json strings. See `example-requests.json`.
In this terminal you can now test by adding some JSON strings. See `example-requests.json`.

Run with Inspector:

Expand Down
2 changes: 1 addition & 1 deletion examples/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

This directory contains various examples of how to use the PHP MCP SDK.

You can run examples 01-08 already with the dependencies installed in the root directory of the SDK, for example 09 see
You can run examples 01-08 with the dependencies already installed in the root directory of the SDK. For example 09, see the
README in the `examples/09-standalone-cli` directory.

For running an example, you execute the `server.php` like this:
Expand Down
2 changes: 1 addition & 1 deletion phpstan.dist.neon
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ parameters:
ignoreErrors:
-
message: "#^Method .*::test.*\\(\\) has no return type specified\\.$#"
# This errors should actually be fixed, but are ignored for now
# These errors should actually be fixed, but are ignored for now
-
identifier: missingType.iterableValue
path: src/Capability/Discovery/SchemaGenerator.php
Expand Down