advanced-server

NAME

advanced-server - Server-side pagination, subscriptions, and cancellation

DESCRIPTION

Runs entirely in-process using a tiny recording transport. It demonstrates three implemented features that are easy to miss when only looking at the basic examples:

- Cursor-based pagination - Resource subscriptions and update notifications - Request cancellation that suppresses a response

USAGE

make run-example EXAMPLE=advanced-server

MCP v0.33.6

Model Context Protocol SDK for Raku - Build MCP servers and clients

Authors

  • Waclaw Kusnierczyk

License

MIT

Dependencies

JSON::FastCro::HTTPMIME::Base64

Provides

  • MCP
  • MCP::Client
  • MCP::JSONRPC
  • MCP::OAuth
  • MCP::OAuth::Client
  • MCP::OAuth::Server
  • MCP::Server
  • MCP::Server::Prompt
  • MCP::Server::Resource
  • MCP::Server::Tool
  • MCP::Transport::Base
  • MCP::Transport::SSE
  • MCP::Transport::Stdio
  • MCP::Transport::StreamableHTTP
  • MCP::Types

The Camelia image is copyright 2009 by Larry Wall. "Raku" is a trademark of the Yet Another Society. All rights reserved.

Built with Podlite — the markup and publishing tools behind this site.