Skip to main content
Glama
xiangshiyin

mcp-toy

by xiangshiyin

mcp-toy

Toy project to explore the MCP capability

MCP Servers

MCP servers can provide 3 main types of capabilities:

  • Resources - File-like data that can be read by clients

  • Tools - Functions that can be called by LLM

  • Prompts - Pre-written templates that can help users accomplish specific tasks

Claude desktop integration

Run mcp install server.py to load the MCP server to Claude, the corresponding config in ~/Library/Application\ Support/Claude/claude_desktop_config.json will be updated. Here is an example:

{
  "mcpServers": {
    "weather": {
      "command": "uv",
      "args": [
        "run",
        "--with",
        "mcp[cli]",
        "mcp",
        "run",
        "/Users/xiangshiyin/Documents/Coding/mcp-toy/server.py"
      ]
    }
  }
}

Development mode

Run uv run mcp dev server.py to inspect the MCP server

Related MCP server: Basic MCP Server

References

  • Official intro [link]

    • Test MCP server on Claude [link]

    • National weather service (NWS) API [doc]

  • MCP python SDK [link]

  • Stepwise tutorials

  • uv

    • About pyproject.toml [link]

    • Packing Python projects [link]

    • Official doc [link]

    • Add local dependency [link]

      • Using workspaces [link]

A
license - permissive license
-
quality - not tested
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • F
    license
    D
    quality
    D
    maintenance
    A ready-to-use starter implementation of the Model Context Protocol (MCP) server that enables applications to provide standardized context for LLMs with sample resources, tools, and prompts.
    Last updated
    2
    1
  • A
    license
    -
    quality
    D
    maintenance
    A minimal demonstration server showcasing MCP protocol capabilities including tools, resources, and prompts with basic examples like hello world functionality.
    Last updated
    4
    MIT
  • F
    license
    B
    quality
    D
    maintenance
    A demonstration TypeScript MCP server that showcases basic MCP concepts with simple tools (greeting, calculator), text resources, and prompt templates for learning the Model Context Protocol.
    Last updated
    2

View all related MCP servers

Related MCP Connectors

  • A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…

  • MCP server for AI dialogue using various LLM models via AceDataCloud

  • MCP server for generating rough-draft project plans from natural-language prompts.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/xiangshiyin/mcp-toy'

If you have feedback or need assistance with the MCP directory API, please join our Discord server