mcp-server
/mcp-server
Projektuje serwer Model Context Protocol, który bezpiecznie i czytelnie udostępnia agentom AI narzędzia oraz dane.
- Autor
- Amey-Thakur ↗
- Repozytorium
- AI-SKILLS ↗
- Licencja
- MIT
- Ostatnia zmiana repozytorium
- 05.09.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 1
- Skrypty
- 0
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 0
Brak sygnałów. Repozytorium zmienione 05.09.2026, bez odwołań do wycofanych modeli i API.
MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.
Co robi i kiedy
Projektuje serwer Model Context Protocol, który bezpiecznie i czytelnie udostępnia agentom AI narzędzia oraz dane.
Oryginalny opis (EN)
Design a Model Context Protocol server that exposes tools and data to AI agents safely and legibly. Use when building an MCP server or deciding what to expose to an agent.
Jak działa
- Method
- Litmus tests
- Boundaries
Podgląd SKILL.md
---
name: mcp-server
description: Design a Model Context Protocol server that exposes tools and data to AI agents safely and legibly. Use when building an MCP server or deciding what to expose to an agent.
---
# MCP server
The Model Context Protocol lets an agent discover and call your tools and
read your resources. The server is a contract with a caller that reasons in
natural language and will misuse anything ambiguous, so design for a smart
caller that cannot see your source.
## Method
1. **Expose the right primitive.** MCP offers tools (actions the agent
invokes), resources (data the agent reads), and prompts (templates the
agent fills). Read-only data is a resource, not a tool; an action with
effects is a tool. Choosing wrong makes the agent fetch data by calling
side-effecting tools, or take actions it thinks are safe reads.
2. **Name and describe for the model, not the maintainer.** Every tool's name
and description is how the agent decides whether and how to call it. Say
what it does, when to use it, and what it returns, in one clear statement.
A vague description produces wrong calls no schema can prevent.
3. **Make schemas strict and self-documenting.** Each parameter has a type, a
description, and required-or-optional stated. Constrain enums, ranges, and
formats so the model cannot pass a shape you will reject. Invalid states
the schema forbids are calls you never have to handle.
4. **Return results the model can use.** Structured, labeled output over raw
dumps; the fields the agent needs to decide the next step, not your
internal representation. Truncate or paginate large results so one call
cannot blow the context window.
5. **Errors are part of the contract.** A failed call returns a clear,
actionable message the agent can recover from ("file not found: check the
path" beats a stack trace). Distinguish the agent's mistake from a server
failure so the agent knows whether to retry, fix its input, or give up.
6. **Guard every boundary, because the caller is not trusted.** Validate and
sanitize all inputs; scope what each tool can touch; never expose a tool
that runs arbitrary commands, reads arbitrary paths, or leaks secrets.
Treat tool arguments as hostile input reaching a privileged operation,
because that is exactly what they are.
7. **Keep tools small and composable.** One tool, one job, with a name that
says it. A mega-tool with a mode parameter is harder for the agent to use
correctly than three focused tools.
## Litmus tests
- Could the agent use every tool correctly from its name, description, and
schema alone, with no access to your code?
- Can any tool call cause damage the caller did not clearly intend?
- Does every error tell the agent what to do next?
- Could a single response overflow the context window?
## Boundaries
Follow the MCP specification and your SDK's conventions; a server that
diverges from the protocol is a server clients cannot use. Expose the
smallest surface that serves the need. Every tool is attack surface and
context cost, so a tool that is rarely useful is a net loss.
Wersje
| Repozytorium | Wynik | Licencja |
|---|---|---|
| Ta strona · Amey-Thakur/AI-SKILLS | 90 | MIT |
| nimadorostkar/Claude-Skills-collection | 100 | MIT |
| rrezartprebreza/spring-boot-skills | 100 | MIT |
| rrezartprebreza/spring-boot-skills | 100 | MIT |
| saschb2b/skills | 100 | MIT |
| hoblin/claude-ruby-marketplace | 100 | MIT |
Migawka bazy z 28.10.2026 · wersja paczki 4e51f0a2e072 (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 0 · ranking
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 100ap2-mcp-server
Wdraża serwery MCP dla AP2, które udostępniają agentom narzędzia płatnicze przez Model Context Protocol. - 100create-mcp-server
Opisuje, jak tworzyć serwery MCP udostępniające agentowi narzędzia i zasoby, gdy trzeba dodać nowy serwer lub możliwości MCP. - 100building-mcp-servers
Buduje nowy serwer MCP w TypeScript, Pythonie lub C#, który udostępnia narzędzia modelom LLM. - 100meta-mcp-builder
Buduje serwery Model Context Protocol, które udostępniają usługi, API i dane jako typowane narzędzia dla agentów, np. gdy Claude ma dostać dostęp do własnego API. - 100mcp-builder
Projektuje i buduje serwery MCP z narzędziami dla Claude w Pythonie lub TypeScript, w tym schematy narzędzi, diagnozę połączeń i wybór między narzędziami, zasobami i promptami. - 100nlweb-mcp-server
Udostępnia NLWeb jako serwer MCP: endpoint JSON-RPC 2.0 pod /mcp, narzędzia ask, list_sites i who oraz integracja z klientami ChatGPT, Claude i Gemini.