Fix typos in documentation and configuration files (#25)
- Fix grammar in doc/index.rst: "There two types" → "There are two types" - Fix grammar in doc/index.rst: "if non of" → "if none of" - Fix grammar in phpstan.dist.neon: "This errors" → "These errors" - Fix grammar in examples/09-standalone-cli/README.md: "test add" → "test by adding" - Fix sentence structure in examples/README.md for better readability Signed-off-by: Oskar Stark <oskarstark@googlemail.com>
This commit is contained in:
parent
87d5592830
commit
a5f9d5647d
4 changed files with 5 additions and 5 deletions
|
|
@ -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
|
||||
|
|
@ -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/
|
||||
|
|
|
|||
|
|
@ -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:
|
||||
|
||||
|
|
|
|||
|
|
@ -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:
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue