We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/scmcphub/decoupler-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
rag.py•417 B
from fastmcp import FastMCP
from scmcp_shared.agent import rag_agent
from pydantic import Field
rag_mcp = FastMCP("RAG-Server")
@rag_mcp.tool(tags={"rag"})
def retrieve_knowledge(
task: str = Field(description="The tasks or questions that needs to be solved"),
):
"""search function and parameters that can be used to solve the user's tasks or questions"""
return rag_agent(task, software="decoupler")