Pearl-com/pearl_mcp_server
If you are the rightful owner of pearl_mcp_server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
The Pearl MCP Server is a Model Context Protocol server that provides access to Pearl's AI and expert services through a standardized interface, enabling seamless interaction with advanced AI assistants and human experts.
The Pearl MCP Server is a robust implementation of the Model Context Protocol (MCP) that facilitates interaction with Pearl's AI and expert services. Designed to support both stdio and SSE transports, this server integrates with the Pearl API to offer AI and expert assistance. It manages sessions for continuous conversations and provides multiple interaction modes, including AI-only, AI-Expert, and Expert modes. The server tracks conversation history and maintains stateful session management, ensuring a seamless user experience. With a focus on providing quick automated responses, AI-assisted human expert support, and direct human expert assistance, the Pearl MCP Server is a versatile tool for various applications. It is compatible with MCP clients like Claude Desktop and Cursor, allowing users to connect with Pearl's advanced AI and expert services effortlessly.
Features
- Support for both stdio and SSE transports
- Integration with Pearl API for AI and expert assistance
- Session management for continuous conversations
- Multiple interaction modes: AI-only, AI-Expert, and Expert
- Conversation history tracking and stateful session management
Usages
local connection stdio
{ "pearl-mcp-server": { "type": "stdio", "command": "pearl-mcp-server", "args": ["--api-key", "your-api-key"], "env": { "PEARL_API_KEY": "Your Pearl Api Key" } } }
remote connection mcp remote
{ "mcpServers": { "pearl-remote": { "command": "npx", "args": [ "mcp-remote", "https://mcp.pearl.com/sse" ] } } }
custom python client
python import asyncio from mcp.client.session import ClientSession from mcp.client.stdio import StdioServerParameters, stdio_client async def main(): # For stdio transport async with stdio_client( StdioServerParameters(command="pearl-mcp-server", args=["--api-key", "your-api-key"]) ) as (read, write): async with ClientSession(read, write) as session: await session.initialize() # List available tools tools = await session.list_tools() print(tools) # Call Pearl AI result = await session.call_tool( "ask_pearl_ai", { "question": "What is MCP?", "session_id": "optional-session-id" } ) print(result) asyncio.run(main())
Tools
ask_pearl_ai
Quick AI-only responses without human review
ask_pearl_expert
AI-assisted human expert support
ask_expert
Direct human expert assistance
get_conversation_status
Check the status of an active conversation
get_conversation_history
Retrieve full conversation history