Skip to main content
Glama
ssv445

Lorem Ipsum MCP Server

by ssv445
singleShotGen.ts612 B
/** @internal */ export class SingleShotGen<T, A> implements Generator<T, A> { called = false constructor(readonly self: T) { } next(a: A): IteratorResult<T, A> { return this.called ? ({ value: a, done: true }) : (this.called = true, ({ value: this.self, done: false })) } return(a: A): IteratorResult<T, A> { return ({ value: a, done: true }) } throw(e: unknown): IteratorResult<T, A> { throw e } [Symbol.iterator](): Generator<T, A> { return new SingleShotGen<T, A>(this.self) } }

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/ssv445/lorem-ipsum-mcp'

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