MCP ExplorerExplorer

Ava Mcp Voice

@hglezquiquion 10 months ago
1 MIT
FreeCommunity
AI Systems
A customizable MCP server offering a simple prompt with context and topic options.

Overview

What is Ava Mcp Voice

ava-MCP-voice is a simple MCP server that provides a customizable prompt template, allowing users to specify optional context and topic parameters for generating tailored responses.

Use cases

Use cases for ava-MCP-voice include generating programming prompts for developers, creating educational content tailored to specific topics, and providing contextual responses in chatbots.

How to use

To use ava-MCP-voice, start the server using the default stdio transport or the SSE transport on a custom port. You can then interact with the server using an MCP client to retrieve and utilize prompts.

Key features

Key features of ava-MCP-voice include customizable prompt templates, optional context and topic parameters, and support for both stdio and SSE transport methods.

Where to use

ava-MCP-voice can be used in various fields such as software development, education, and any domain where customized text generation is beneficial.

Content

MCP Simple Prompt

A simple MCP server that exposes a customizable prompt template with optional context and topic parameters.

Usage

Start the server using either stdio (default) or SSE transport:

# Using stdio transport (default)
uv run mcp-simple-prompt

# Using SSE transport on custom port
uv run mcp-simple-prompt --transport sse --port 8000

The server exposes a prompt named “simple” that accepts two optional arguments:

  • context: Additional context to consider
  • topic: Specific topic to focus on

Example

Using the MCP client, you can retrieve the prompt like this using the STDIO transport:

import asyncio
from mcp.client.session import ClientSession
from mcp.client.stdio import StdioServerParameters, stdio_client


async def main():
    async with stdio_client(
        StdioServerParameters(command="uv", args=["run", "mcp-simple-prompt"])
    ) as (read, write):
        async with ClientSession(read, write) as session:
            await session.initialize()

            # List available prompts
            prompts = await session.list_prompts()
            print(prompts)

            # Get the prompt with arguments
            prompt = await session.get_prompt(
                "simple",
                {
                    "context": "User is a software developer",
                    "topic": "Python async programming",
                },
            )
            print(prompt)


asyncio.run(main())

Tools

No tools

Comments

Recommend MCP Servers

View All MCP Servers