mcp-example
No long description provided.
Installation
dagger install github.com/jasonmccallister/mcp-example@1ae6cbef41ec9a85d4305778d9597d5c72764c38Entrypoint
Return Type
McpExampleExample
dagger -m github.com/jasonmccallister/mcp-example@1ae6cbef41ec9a85d4305778d9597d5c72764c38 call \
func (m *MyModule) Example() *dagger.McpExample  {
	return dag.
			McpExample()
}@function
def example() -> dagger.McpExample:
	return (
		dag.mcp_example()
	)@func()
example(): McpExample {
	return dag
		.mcpExample()
}Types
McpExample 🔗
greetSomeone() 🔗
Greets the individal with the provided name
Return Type
String !Arguments
| Name | Type | Default Value | Description | 
|---|---|---|---|
| name | String ! | - | No description provided | 
Example
dagger -m github.com/jasonmccallister/mcp-example@1ae6cbef41ec9a85d4305778d9597d5c72764c38 call \
 greet-someone --name stringfunc (m *MyModule) Example(ctx context.Context, name string) string  {
	return dag.
			McpExample().
			GreetSomeone(ctx, name)
}@function
async def example(name: str) -> str:
	return await (
		dag.mcp_example()
		.greet_someone(name)
	)@func()
async example(name: string): Promise<string> {
	return dag
		.mcpExample()
		.greetSomeone(name)
}getAllPosts() 🔗
Return Type
String !Example
dagger -m github.com/jasonmccallister/mcp-example@1ae6cbef41ec9a85d4305778d9597d5c72764c38 call \
 get-all-postsfunc (m *MyModule) Example(ctx context.Context) string  {
	return dag.
			McpExample().
			GetAllPosts(ctx)
}@function
async def example() -> str:
	return await (
		dag.mcp_example()
		.get_all_posts()
	)@func()
async example(): Promise<string> {
	return dag
		.mcpExample()
		.getAllPosts()
}