Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
eyadsibai avatar

Mcp Development

  • 57 installs
  • 7 repo stars
  • Updated January 15, 2026
  • eyadsibai/ltk

Helps with ai & agent building tasks.

About

mcp-development is a Claude Code skill for ai & agent building. It helps solo builders move faster with AI-assisted development.

  • mcp-development
  • AI & Agent Building
  • AI-coding skill

Mcp Development by the numbers

  • 57 all-time installs (skills.sh)
  • Ranked #6,621 of 16,546 AI & Agent Building skills by installs in the Skillselion catalog
  • Data as of Jul 30, 2026 (Skillselion catalog sync)
npx skills add https://github.com/eyadsibai/ltk --skill mcp-development

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs57
repo stars7
Last updatedJanuary 15, 2026
Repositoryeyadsibai/ltk

What it does

Helps with ai & agent building tasks.

Files

SKILL.mdMarkdownGitHub ↗

MCP Server Development Guide

Build high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services.

---

Core Design Principles

Build for Workflows, Not Just APIs

PrincipleWhy
Consolidate operationsSingle tool for complete tasks
Return high-signal dataAgents have limited context
Provide format options"concise" vs "detailed" modes
Use human-readable IDsNot technical codes
Make errors actionableGuide toward correct usage

Key concept: Don't just wrap API endpoints. Design tools that enable complete workflows agents actually need.

---

Development Phases

Phase 1: Research

StepAction
Study MCP ProtocolRead modelcontextprotocol.io/llms-full.txt
Study SDK docsPython or TypeScript SDK README
Study target APIRead ALL available documentation
Create implementation planBefore writing code

Phase 2: Design

DecisionOptions
LanguagePython (FastMCP) or TypeScript
Tool granularityAtomic vs workflow-oriented
Response formatJSON, Markdown, or both
Error handlingWhat errors can occur, how to recover

Phase 3: Implementation

ComponentPurpose
Input validationPydantic (Python) or Zod (TypeScript)
Tool descriptionsClear, with examples
Error messagesInclude suggested next steps
Response formattingConsistent across tools

Phase 4: Testing

Critical: MCP servers are long-running processes. Never run directly in main process.

ApproachHow
Evaluation harnessRecommended
tmux sessionRun server separately
Timeout wrappertimeout 5s python server.py
MCP InspectorOfficial debugging tool

---

Tool Annotations

AnnotationMeaningDefault
readOnlyHintDoesn't modify statefalse
destructiveHintCan cause damagetrue
idempotentHintRepeated calls safefalse
openWorldHintInteracts externallytrue

Key concept: Annotations help the LLM decide when and how safely to use tools.

---

Input Design

Validation Patterns

PatternUse Case
Required fieldsCore parameters
Optional with defaultsConvenience parameters
EnumsLimited valid values
Min/max constraintsNumeric bounds
Pattern matchingFormat validation (email, URL)

Parameter Naming

GoodBadWhy
user_emaileSelf-documenting
limitmax_results_to_returnConcise but clear
include_archivediaDescriptive boolean

---

Response Design

Format Options

FormatUse Case
JSONProgrammatic use, structured data
MarkdownHuman readability, reports
HybridJSON in markdown code blocks

Response Guidelines

GuidelineWhy
~25,000 token limitContext constraints
Truncate with indicatorDon't silently cut
Support paginationlimit and offset params
Include metadataTotal count, has_more

---

Error Handling

Error Message Structure

ElementPurpose
What failedClear description
Why it failedRoot cause if known
How to fixSuggested next action
ExampleCorrect usage

Key concept: Error messages should guide the agent toward correct usage, not just diagnose problems.

---

Quality Checklist

Code Quality

CheckDescription
No duplicated codeExtract shared logic
Consistent formatsSimilar ops return similar structure
Full error handlingAll external calls wrapped
Type coverageAll inputs/outputs typed
Comprehensive docstringsEvery tool documented

Tool Quality

CheckDescription
Clear descriptionsModel knows when to use
Good examplesIn docstring
Sensible defaultsReduce required params
Consistent namingGroup related with prefixes

---

Best Practices

PracticeWhy
One tool = one purposeClear mental model
Comprehensive descriptionsLLM selection accuracy
Include examples in docstringsShow expected usage
Return actionable errorsEnable self-correction
Test with actual LLMReal-world validation
Version your serverTrack compatibility

Resources

  • MCP Protocol: <https://modelcontextprotocol.io/>
  • Python SDK: <https://github.com/modelcontextprotocol/python-sdk>
  • TypeScript SDK: <https://github.com/modelcontextprotocol/typescript-sdk>

Related skills

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.