Discover Awesome MCP Servers

Extend your agent with 84,517 capabilities via MCP servers.

All84,517
feishu-tools-mcp

feishu-tools-mcp

MCP server provides Feishu related operations to AI encoding agents such as cursor 飞书MCP插件

GenAIScript MCP Demo 🚀

GenAIScript MCP Demo 🚀

Demonstração das capacidades do Servidor MCP do GenAIScript.

XACHE - Crypto Trader Website

XACHE - Crypto Trader Website

Goose AI com Servidores MCP

Binance MCP Server

Binance MCP Server

Espelho de

Confluence Communication Server MCP Server

Confluence Communication Server MCP Server

Espelho de

spring-mcp-server-sample

spring-mcp-server-sample

MCP Server Sample

MCP Host Project

MCP Host Project

Showcases how to integrate Spring AI's support for MCP (Model Context Protocol) within Spring Boot applications, covering both server-side and client-side implementations.

dice-thrower

dice-thrower

MCP_claude

MCP_claude

This is to demonstrate how an MCP server can be built for Claude Desktop MCP Client

cursor_agents

cursor_agents

Okay, I understand. You want to integrate a team of human experts into your agent flow using an MCP (presumably, you mean a platform like Microsoft Copilot Studio, formerly Power Virtual Agents, or a similar conversational AI platform). Here's a breakdown of how you can achieve this, along with considerations and best practices: **General Approach: Hand-off to Human Agents** The core idea is to detect when the agent cannot adequately handle a user's request and then seamlessly transfer the conversation to a team of human experts. This is often called "escalation" or "hand-off." **Steps Involved (Conceptual):** 1. **Detection of Hand-off Need:** The agent needs to determine when it's appropriate to hand off the conversation. 2. **Routing to the Correct Team:** Based on the user's request, the conversation should be routed to the most relevant team of experts. 3. **Context Transfer:** Crucially, the agent needs to pass along the conversation history and any relevant user data to the human agent. This avoids the user having to repeat themselves. 4. **Notification and Availability:** The system needs to notify the available human agents that a new conversation is waiting. 5. **Agent Takeover:** A human agent claims the conversation and takes over from the bot. 6. **Seamless Transition (User Perspective):** The user should experience a smooth transition from interacting with the bot to interacting with a human. 7. **Post-Conversation Analysis:** After the human agent finishes, the conversation data should be analyzed to identify areas where the bot can be improved. **Implementation using a Platform like Microsoft Copilot Studio (Example):** While the exact steps will vary depending on the specific MCP you're using, here's a general outline using Microsoft Copilot Studio as an example: * **1. Identify Scenarios for Hand-off:** * **Low Confidence:** If the bot's natural language understanding (NLU) engine has low confidence in understanding the user's intent, trigger a hand-off. * **Specific Keywords/Phrases:** If the user says things like "I need to talk to a person," "Speak to an agent," or uses specific keywords related to complex issues, trigger a hand-off. * **Escalation Topic:** Create a dedicated "Escalation" topic that users can explicitly trigger. * **Loop Detection:** If the bot gets stuck in a loop (e.g., asking the same question repeatedly), trigger a hand-off. * **Unresolved Intent:** If the bot cannot match the user's input to any known topic after a certain number of attempts, trigger a hand-off. * **2. Configure Hand-off to a Live Agent System:** * **Integration with Live Agent Platforms:** Microsoft Copilot Studio (and similar platforms) typically integrate with popular live agent platforms like: * Microsoft Dynamics 365 Customer Service * Salesforce Service Cloud * Zendesk * Other custom solutions via APIs. * **Configure the Hand-off Topic:** In your Copilot Studio bot, create a topic specifically for handling hand-offs. * **Transfer Conversation:** Within the hand-off topic, use the platform's built-in functionality to transfer the conversation to the configured live agent system. This usually involves selecting the appropriate queue or agent group. * **3. Context Transfer (Critical):** * **Variables:** Before the hand-off, store relevant information from the conversation in variables. This might include: * User's name * User's email address * User's account number * The topic the user was trying to address * The conversation history (if the platform supports it) * **Pass Variables to Live Agent System:** Configure the hand-off action to pass these variables to the live agent system. The live agent system needs to be configured to receive and display this information to the human agent. This is often done through custom fields or attributes in the live agent platform. * **4. Live Agent System Configuration:** * **Queues and Routing:** Set up queues in your live agent system to route conversations to the appropriate teams (e.g., sales, support, technical support). Use the information passed from the bot (e.g., the topic the user was trying to address) to determine the correct queue. * **Agent Notifications:** Configure the live agent system to notify agents when a new conversation is waiting in their queue. * **Agent Workspace:** Ensure that the agent workspace in the live agent system displays the context information passed from the bot. * **5. User Experience:** * **Clear Communication:** When the bot is handing off the conversation, clearly inform the user that they are being transferred to a human agent. Provide an estimated wait time if possible. * **Seamless Transition:** The transition should be as seamless as possible. Avoid requiring the user to re-enter information they have already provided to the bot. * **6. Analytics and Improvement:** * **Monitor Hand-off Rate:** Track the number of conversations that are handed off to human agents. A high hand-off rate may indicate that the bot needs improvement in certain areas. * **Analyze Hand-off Reasons:** Identify the reasons why conversations are being handed off. This can help you prioritize areas for bot improvement. * **Review Transcripts:** Review transcripts of conversations that were handled by human agents to identify areas where the bot could have handled the conversation more effectively. * **Feedback Loop:** Use the insights gained from analytics to improve the bot's knowledge base, NLU, and conversation flows. **Example Scenario (Simplified):** 1. **User:** "I want to cancel my subscription." 2. **Bot:** "I can help with that. What is your account number?" 3. **User:** (Provides account number) 4. **Bot:** "I'm sorry, I'm having trouble processing your request. I'm going to transfer you to a human agent who can assist you." 5. **Bot (Hand-off Topic):** * Stores the user's account number in a variable. * Transfers the conversation to the "Cancellation" queue in the live agent system. * Passes the user's account number to the live agent system. 6. **Live Agent System:** * Notifies an agent in the "Cancellation" queue. * Displays the user's account number to the agent. 7. **Human Agent:** "Hello, I see you'd like to cancel your subscription. I have your account number here. Can you please confirm your name and address?" **Key Considerations:** * **Cost:** Integrating with a live agent system can incur additional costs. * **Agent Availability:** Ensure that you have enough human agents available to handle the volume of hand-offs. * **Training:** Train your human agents on how to handle conversations that have been transferred from the bot. * **Security:** Ensure that sensitive information is handled securely during the hand-off process. * **Compliance:** Comply with all relevant regulations and privacy policies. * **Platform Limitations:** Be aware of the limitations of your chosen MCP and live agent system. **In summary, integrating a team of experts into your agent flow requires careful planning and configuration. By following the steps outlined above, you can create a seamless and efficient experience for your users.** To give you more specific guidance, please tell me: * **Which MCP are you using?** (e.g., Microsoft Copilot Studio, Dialogflow, Amazon Lex, Rasa, etc.) * **Which live agent system are you using (or planning to use)?** (e.g., Dynamics 365 Customer Service, Salesforce Service Cloud, Zendesk, etc.) * **What are the specific scenarios where you want to hand off to a human agent?** With more information, I can provide more tailored instructions.

mcp-edge-search

mcp-edge-search

Um servidor de Protocolo de Contexto de Modelo que habilita capacidades de pesquisa na web para clientes MCP como o Claude Desktop.

Bear MCP Server

Bear MCP Server

Mirror of

Symbol MCP Server (REST API tools)

Symbol MCP Server (REST API tools)

Symbol MCP Server. (REST API tools)

Mcp Server Python

Mcp Server Python

Modes MCP Server

Modes MCP Server

Mirror of

Prometheus Alertmanager MCP Server

Prometheus Alertmanager MCP Server

A Model Context Protocol (MCP) server that integrates with Prometheus Alertmanager

NYT MCP Server

NYT MCP Server

Um servidor de Protocolo Concentrador de Mensagens (MCP) que fornece uma interface unificada e simples para as APIs do New York Times. Este servidor simplifica a interação com múltiplas APIs do NYT através de um único ponto de acesso.

MCP Adobe Experience Platform Server

MCP Adobe Experience Platform Server

Servidor MCP para integração de APIs do Adobe Experience Platform

DNSDumpster - MCP Server

DNSDumpster - MCP Server

Servidor MCP para o Serviço DNSDumpster

@shortcut/mcp

@shortcut/mcp

The MCP server for Shortcut

Solana Agent Kit MCP Server

Solana Agent Kit MCP Server

ShotGrid MCP Server

ShotGrid MCP Server

A Model Context Protocol (MCP) server for Autodesk ShotGrid/Flow Production Tracking (FPT) with comprehensive CRUD operations and data management capabilities.

Oura MCP Server

Oura MCP Server

Um servidor MCP para Oura

LinkedInMCP: Revolutionizing LinkedIn API Interactions

LinkedInMCP: Revolutionizing LinkedIn API Interactions

Model Context Protocol (MCP) server for LinkedIn API integration

MCP Server

MCP Server

testing MCP server implementation

Everything MCP Server

Everything MCP Server

An MCP server implementation providing system-wide functionality including file operations, HTTP requests, and command execution

Glean

Glean

Mirror of

Standardizing LLM Interaction with MCP Servers

Standardizing LLM Interaction with MCP Servers

Here's a short and sweet example of a basic MCP (Minecraft Protocol) server/client implementation focusing on tools, resources, and prompts. This is a simplified example and doesn't cover all the complexities of the actual Minecraft protocol. It's meant to illustrate the core concepts. **Important Considerations:** * **MCP Version:** This example is highly simplified and doesn't adhere to a specific MCP version. Real-world implementations require careful adherence to the correct MCP version and its associated mappings. * **Security:** This example lacks any security measures. Real-world Minecraft servers and clients require robust security to prevent exploits. * **Error Handling:** Error handling is minimal for brevity. Production code needs comprehensive error handling. * **Threading:** This example is single-threaded. Real-world servers need to be multi-threaded to handle multiple clients concurrently. * **Data Types:** Minecraft uses specific data types (e.g., VarInt, VarLong). This example uses simpler Python types for clarity. * **Libraries:** This example uses the standard `socket` library. More sophisticated implementations might use libraries like `struct` for packing/unpacking data. **Server (Python): `mcp_server.py`** ```python import socket HOST = '127.0.0.1' # Standard loopback interface address (localhost) PORT = 25565 # Port to listen on (non-privileged ports are > 1023) def handle_client(conn, addr): print(f"Connected by {addr}") while True: data = conn.recv(1024) if not data: break message = data.decode('utf-8').strip() print(f"Received: {message}") if message == "request_tools": tools = ["Pickaxe", "Axe", "Shovel"] response = "Tools: " + ", ".join(tools) conn.sendall(response.encode('utf-8')) elif message == "request_resources": resources = ["Wood", "Stone", "Iron"] response = "Resources: " + ", ".join(resources) conn.sendall(response.encode('utf-8')) elif message == "prompt_name": response = "Please enter your name:" conn.sendall(response.encode('utf-8')) name = conn.recv(1024).decode('utf-8').strip() response = f"Hello, {name}!" conn.sendall(response.encode('utf-8')) else: response = "Unknown command." conn.sendall(response.encode('utf-8')) print(f"Connection closed by {addr}") conn.close() with socket.socket(socket.AF_INET, socket.SOCK_STREAM) as s: s.bind((HOST, PORT)) s.listen() print(f"Listening on {HOST}:{PORT}") conn, addr = s.accept() handle_client(conn, addr) ``` **Client (Python): `mcp_client.py`** ```python import socket HOST = '127.0.0.1' # The server's hostname or IP address PORT = 25565 # The port used by the server with socket.socket(socket.AF_INET, socket.SOCK_STREAM) as s: s.connect((HOST, PORT)) # Request tools s.sendall(b"request_tools") data = s.recv(1024) print(f"Received: {data.decode('utf-8')}") # Request resources s.sendall(b"request_resources") data = s.recv(1024) print(f"Received: {data.decode('utf-8')}") # Prompt for name s.sendall(b"prompt_name") data = s.recv(1024) print(f"Received: {data.decode('utf-8')}") name = input("Enter your name: ") s.sendall(name.encode('utf-8')) data = s.recv(1024) print(f"Received: {data.decode('utf-8')}") print("Client finished.") ``` **How to Run:** 1. **Save:** Save the code as `mcp_server.py` and `mcp_client.py`. 2. **Run the Server:** Open a terminal and run `python mcp_server.py`. 3. **Run the Client:** Open another terminal and run `python mcp_client.py`. 4. **Interact:** The client will connect to the server, request tools and resources, and prompt you for your name. Enter your name in the client terminal. **Explanation:** * **Server:** * Listens for incoming connections on a specific port. * Accepts a connection from a client. * Receives data (commands) from the client. * Processes the commands (e.g., `request_tools`, `request_resources`, `prompt_name`). * Sends a response back to the client. * Closes the connection. * **Client:** * Connects to the server. * Sends commands to the server. * Receives responses from the server. * Prints the responses to the console. * Prompts the user for input (name). * Sends the user's input to the server. * Closes the connection. **Key Improvements for a Real Implementation:** * **MCP Packet Structure:** Use the correct MCP packet structure (packet ID, data fields, etc.). * **Data Serialization/Deserialization:** Use `struct` or a similar library to pack and unpack data according to the MCP specification. * **State Management:** Maintain state information about the client (e.g., player inventory, location). * **Threading:** Use threads or asynchronous programming to handle multiple clients concurrently. * **Error Handling:** Implement robust error handling to gracefully handle unexpected events. * **Security:** Implement authentication and encryption to protect against unauthorized access and eavesdropping. * **World Representation:** Implement a representation of the Minecraft world (chunks, blocks, entities). * **Game Logic:** Implement the core game logic (e.g., player movement, block breaking, item crafting). This example provides a basic foundation for understanding how a simple MCP server and client can communicate. Building a full-fledged Minecraft server requires significantly more effort and a deep understanding of the Minecraft protocol. ```output Aqui está um exemplo curto e direto de uma implementação básica de servidor/cliente MCP (Minecraft Protocol) focada em ferramentas, recursos e prompts. Este é um exemplo simplificado e não cobre todas as complexidades do protocolo Minecraft real. Destina-se a ilustrar os conceitos principais. **Considerações Importantes:** * **Versão MCP:** Este exemplo é altamente simplificado e não adere a uma versão MCP específica. As implementações do mundo real exigem adesão cuidadosa à versão MCP correta e seus mapeamentos associados. * **Segurança:** Este exemplo não possui nenhuma medida de segurança. Os servidores e clientes Minecraft do mundo real exigem segurança robusta para evitar exploits. * **Tratamento de Erros:** O tratamento de erros é mínimo por brevidade. O código de produção precisa de tratamento de erros abrangente. * **Threading:** Este exemplo é single-threaded. Os servidores do mundo real precisam ser multi-threaded para lidar com vários clientes simultaneamente. * **Tipos de Dados:** Minecraft usa tipos de dados específicos (por exemplo, VarInt, VarLong). Este exemplo usa tipos Python mais simples para clareza. * **Bibliotecas:** Este exemplo usa a biblioteca `socket` padrão. Implementações mais sofisticadas podem usar bibliotecas como `struct` para empacotar/desempacotar dados. **Servidor (Python): `mcp_server.py`** ```python import socket HOST = '127.0.0.1' # Endereço de interface de loopback padrão (localhost) PORT = 25565 # Porta para escutar (portas não privilegiadas são > 1023) def handle_client(conn, addr): print(f"Conectado por {addr}") while True: data = conn.recv(1024) if not data: break message = data.decode('utf-8').strip() print(f"Recebido: {message}") if message == "request_tools": tools = ["Picareta", "Machado", "Pá"] response = "Ferramentas: " + ", ".join(tools) conn.sendall(response.encode('utf-8')) elif message == "request_resources": resources = ["Madeira", "Pedra", "Ferro"] response = "Recursos: " + ", ".join(resources) conn.sendall(response.encode('utf-8')) elif message == "prompt_name": response = "Por favor, insira seu nome:" conn.sendall(response.encode('utf-8')) name = conn.recv(1024).decode('utf-8').strip() response = f"Olá, {name}!" conn.sendall(response.encode('utf-8')) else: response = "Comando desconhecido." conn.sendall(response.encode('utf-8')) print(f"Conexão fechada por {addr}") conn.close() with socket.socket(socket.AF_INET, socket.SOCK_STREAM) as s: s.bind((HOST, PORT)) s.listen() print(f"Escutando em {HOST}:{PORT}") conn, addr = s.accept() handle_client(conn, addr) ``` **Cliente (Python): `mcp_client.py`** ```python import socket HOST = '127.0.0.1' # O nome do host ou endereço IP do servidor PORT = 25565 # A porta usada pelo servidor with socket.socket(socket.AF_INET, socket.SOCK_STREAM) as s: s.connect((HOST, PORT)) # Solicitar ferramentas s.sendall(b"request_tools") data = s.recv(1024) print(f"Recebido: {data.decode('utf-8')}") # Solicitar recursos s.sendall(b"request_resources") data = s.recv(1024) print(f"Recebido: {data.decode('utf-8')}") # Solicitar nome s.sendall(b"prompt_name") data = s.recv(1024) print(f"Recebido: {data.decode('utf-8')}") name = input("Digite seu nome: ") s.sendall(name.encode('utf-8')) data = s.recv(1024) print(f"Recebido: {data.decode('utf-8')}") print("Cliente finalizado.") ``` **Como Executar:** 1. **Salvar:** Salve o código como `mcp_server.py` e `mcp_client.py`. 2. **Executar o Servidor:** Abra um terminal e execute `python mcp_server.py`. 3. **Executar o Cliente:** Abra outro terminal e execute `python mcp_client.py`. 4. **Interagir:** O cliente se conectará ao servidor, solicitará ferramentas e recursos e solicitará seu nome. Digite seu nome no terminal do cliente. **Explicação:** * **Servidor:** * Escuta conexões de entrada em uma porta específica. * Aceita uma conexão de um cliente. * Recebe dados (comandos) do cliente. * Processa os comandos (por exemplo, `request_tools`, `request_resources`, `prompt_name`). * Envia uma resposta de volta ao cliente. * Fecha a conexão. * **Cliente:** * Conecta-se ao servidor. * Envia comandos para o servidor. * Recebe respostas do servidor. * Imprime as respostas no console. * Solicita a entrada do usuário (nome). * Envia a entrada do usuário para o servidor. * Fecha a conexão. **Melhorias Chave para uma Implementação Real:** * **Estrutura de Pacotes MCP:** Use a estrutura de pacotes MCP correta (ID do pacote, campos de dados, etc.). * **Serialização/Desserialização de Dados:** Use `struct` ou uma biblioteca semelhante para empacotar e desempacotar dados de acordo com a especificação MCP. * **Gerenciamento de Estado:** Mantenha informações de estado sobre o cliente (por exemplo, inventário do jogador, localização). * **Threading:** Use threads ou programação assíncrona para lidar com vários clientes simultaneamente. * **Tratamento de Erros:** Implemente tratamento de erros robusto para lidar normalmente com eventos inesperados. * **Segurança:** Implemente autenticação e criptografia para proteger contra acesso não autorizado e espionagem. * **Representação do Mundo:** Implemente uma representação do mundo Minecraft (chunks, blocos, entidades). * **Lógica do Jogo:** Implemente a lógica principal do jogo (por exemplo, movimento do jogador, quebra de blocos, criação de itens). Este exemplo fornece uma base básica para entender como um servidor e cliente MCP simples podem se comunicar. Construir um servidor Minecraft completo requer significativamente mais esforço e um profundo conhecimento do protocolo Minecraft.

Aws Service Authorization Reference

Aws Service Authorization Reference

JBAssist - Microsoft Graph MCP Server

JBAssist - Microsoft Graph MCP Server

A Windows-compatible MCP server for querying Microsoft Graph API