Peliqan has an out-of-the-box MCP Server. However, you can also build custom MCP Servers in Peliqan. You can use the Peliqan MCP Server template to get started. You can extend this template by adding your own “tools”, these are Python functions decorated with @mcp.tool().

Contents

How to build a Custom MCP Server in Peliqan

  1. Install the “MCP Server” script from the app templates:

    template.png

  2. Add an API endpoint (method POST) and link it to the “MCP Server” script (this is the API handler script). Click here for more info on how to publish an API endpoint in Peliqan.

    api endpoint.png

  3. Update the credentials (API key) in your script and store in the Peliqan Secret Store.

Configure your MCP Client

ChatGPT

Claude

Microsoft Copilot

Implement capabilities

The Peliqan MCP Server template contains various examples on how to implement capabilities into your custom MCP Server such as Text-to-SQL data search for conversational analytics, RAG search on unstructured data, Writeback into business applications etc.

Text-to-SQL search

See full example in the MCP Server template.

RAG search

More info:

Implement RAG

Writeback