Skip to content

Commit eb856a9

Browse files
author
klapaudius
committed
Update MCP resource handling and documentation
Enhanced resource filtering logic to target .md files in Finder. Added detailed documentation on building resources and templates with comprehensive examples.
1 parent e4a2f91 commit eb856a9

File tree

3 files changed

+626
-1
lines changed

3 files changed

+626
-1
lines changed

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -240,6 +240,14 @@ class MyCustomResource implements ResourceInterface
240240
// Resource implementation
241241
}
242242
```
243+
Then register your resource in the configuration:
244+
245+
```yaml
246+
klp_mcp_server:
247+
# ...
248+
resources:
249+
- App\MCP\Resources\MyCustomResource
250+
```
243251

244252
### Creating Custom Resource Template
245253

@@ -263,6 +271,8 @@ klp_mcp_server:
263271
- App\MCP\Resources\MyCustomResourceTemplate
264272
```
265273

274+
**For deep diving into resources' management, please take a look at dedicated documentation [Here](https://github.com/klapaudius/symfony-mcp-server/blob/master/docs/building_resources.md)**
275+
266276
## Roadmap
267277
We are committed to actively pursuing the following key initiatives to enhance the package's functionality and ensure compliance with evolving standards.
268278

0 commit comments

Comments
 (0)