Skip to content
Open
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
14 changes: 7 additions & 7 deletions src/mcp_example/SKILL.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
# Example MCP Server — Skill Guide
---
name: mcp-example-service
description: Provides knowledge of how to use MCP example most effectively. It's loaded into the agent's context when running the MCP.
---

## Tools

<!-- TODO: Add a row for each @mcp.tool() in server.py -->
| Tool | Use when... |
|------|-------------|
| `list_items` | You need to browse or search items |
| `get_item` | You have an item ID and need full details |

## Context Reuse

- Use the `id` from `list_items` results when calling `get_item`
<!-- TODO: Describe which tool outputs feed into subsequent tool calls -->

## Workflows

### 1. Browse and Inspect
1. `list_items` with a limit to get an overview
2. For interesting items: `get_item` to get full details
<!-- TODO: Add 2-3 multi-step workflows showing how to chain tools -->
4 changes: 2 additions & 2 deletions tests/test_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ async def test_skill_resource_readable(self, mcp_server):
async with Client(mcp_server) as client:
contents = await client.read_resource("skill://example/usage")
text = contents[0].text if hasattr(contents[0], "text") else str(contents[0])
assert "list_items" in text
assert "get_item" in text
assert len(text.strip()) > 0
assert "## Tools" in text

@pytest.mark.asyncio
async def test_skill_content_matches_constant(self, mcp_server):
Expand Down
Loading