Skip to content

Commit 9e16883

Browse files
refactor: remove dead code and obsolete examples (#76)
- Remove ToolChain, ResourceChain, PromptChain classes - Remove Collection/Identifier/Metadata interfaces (only used by old Chains) - Remove ToolCollectionInterface (unused) - Delete obsolete examples 09-standalone-cli and 10-simple-http-transport - Fix STDERR handling in bootstrap.php for web environments - Clean up CHANGELOG.md
1 parent 719262b commit 9e16883

28 files changed

+5
-1050
lines changed

CHANGELOG.md

Lines changed: 2 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,3 @@
1-
CHANGELOG
2-
=========
1+
# Changelog
32

4-
0.1
5-
---
6-
7-
* Add Model Context Protocol (MCP) implementation for LLM-application communication
8-
* Add JSON-RPC based protocol handling with `JsonRpcHandler`
9-
* Add three core MCP capabilities:
10-
- Resources: File-like data readable by clients (API responses, file contents)
11-
- Tools: Functions callable by LLMs (with user approval)
12-
- Prompts: Pre-written templates for specific tasks
13-
* Add multiple transport implementations:
14-
- Symfony Console Transport for testing and CLI applications
15-
- Stream Transport supporting Server-Sent Events (SSE) and HTTP streaming
16-
- STDIO transport for command-line interfaces
17-
* Add capability chains for organizing features:
18-
- `ToolChain` for tool management
19-
- `ResourceChain` for resource management
20-
- `PromptChain` for prompt template management
21-
* Add Server component managing transport connections
22-
* Add request/notification handlers for MCP operations
23-
* Add standardized interface enabling LLMs to interact with external systems
24-
* Add support for building LLM "plugins" with extra context capabilities
3+
All notable changes to `mcp/sdk` will be documented in this file.

examples/09-standalone-cli/README.md

Lines changed: 0 additions & 27 deletions
This file was deleted.

examples/09-standalone-cli/composer.json

Lines changed: 0 additions & 27 deletions
This file was deleted.

examples/09-standalone-cli/example-requests.json

Lines changed: 0 additions & 12 deletions
This file was deleted.

examples/09-standalone-cli/index.php

Lines changed: 0 additions & 35 deletions
This file was deleted.

examples/09-standalone-cli/src/Builder.php

Lines changed: 0 additions & 55 deletions
This file was deleted.

examples/09-standalone-cli/src/ExamplePrompt.php

Lines changed: 0 additions & 60 deletions
This file was deleted.

examples/09-standalone-cli/src/ExampleResource.php

Lines changed: 0 additions & 56 deletions
This file was deleted.

examples/09-standalone-cli/src/ExampleTool.php

Lines changed: 0 additions & 60 deletions
This file was deleted.

0 commit comments

Comments
 (0)