# MCP Sampling Demo

> Use this tool when you need to generate LLM content within MCP servers without relying on external APIs or credentials. It solves the problem of integrating language models into tools by enabling client-side content generation, streamlining the development process. The tool takes in requests for content generation and outputs generated text, making it ideal for use cases where internal content creation is required.

Canonical page: https://skillsregistry.net/skills/0gis0-mcp-sampling  
JSON: https://api.skillsregistry.net/v1/skills/0gis0-mcp-sampling

## Description

Demonstrates how to implement sampling in MCP servers, allowing tools to request LLM content generation from the client without requiring external API integrations or credentials.

## Trust

- **Trust score (0–1):** 0.60
- **Verification tier:** unverified

## Facts

- **Version:** 1.0.0
- **Skill type:** atomic
- **Execution layer:** mcp-remote
- **Runtime environment:** api
- **Category:** ai-ml
- **Updated:** 2026-04-22

## Source

- **Source listing:** [Glama](https://glama.ai/mcp/servers/ba853qab9r)
- **Repository:** <https://github.com/0GiS0/mcp-sampling>

## Use it

Resolve this record through the SkillsRegistry MCP server (no auth, read-only):

```
claude mcp add --transport http --scope user skillsregistry https://api.skillsregistry.net/mcp
```

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_skill",
    "arguments": {
      "slug": "0gis0-mcp-sampling"
    }
  }
}
```

REST: `GET https://api.skillsregistry.net/v1/skills/0gis0-mcp-sampling` · pull for local use: `GET https://api.skillsregistry.net/v1/skills/0gis0-mcp-sampling/pull`

---
SkillsRegistry indexes agent skills from public registries and GitHub. Skills we have analysed are scanned with Circle-IR and scored on six dimensions; each listing states its scan coverage. More: https://skillsregistry.net/llms.txt
