Project Riko — MCP Function Calling Code (Download)
Added 2025-11-21 14:00:18 +0000 UTCHere it is — the code that powers MCP function calling for Project Riko.
📦 Download Includes
main_chat_stream_tools.py
riko_project_mcp_config.yaml
📁 Where to Put the Files
Download the ZIP
riko_project_mcp.zipExtract and move the files into your Riko project:
main_chat_stream_tools.py → riko_project_patreon/server riko_project_mcp_config.yaml → riko_project_patreon/ (root directory)
⚠️ Important
This post only contains the code.
To set everything up properly, make sure to follow the tutorial post, where I go through:
How to connect OpenAI to MCP
How to enable function calling
How to make Riko automatically call tools
👉 Go to the tutorial post after downloading!
Comments
Did you follow the older tutorials? Idk which one it was but he said to copy paste the go-web.bat edit the code and rename it to go-api.bat
Doktor Sebo
2026-02-08 09:38:55 +0000 UTCif you can make an updated 2026 guide for the v1 tutorial, because the go-api.bat and api_v2.bat (i only have api_v2.py) dont exist (at least on my side) because everything else works except the audio. Or should I join the discord and ask for help there? I have a feeling that joining the discord will help but maybe someone can respond to this on how to do the new audio.
NotCade4Real
2026-02-07 17:59:36 +0000 UTChis code is built for Linux, he uses Linux himself. But idk anything about different OS's nor coding so don't take me for granted. I just got Riko to work on GeminiAPI and made a master_startup.bat so I don't have to boot up everything manually.
Doktor Sebo
2026-02-04 23:52:40 +0000 UTCI just joined your Patreon today, and was hoping to download a version for Linux or Mac, but all I see are Windows versions. Do you have Linux versions available?
Frederick Ulmer
2026-02-04 07:52:48 +0000 UTCis there a way to connect it to our own local ai instead of using open ai?
Megan Golder
2026-01-19 10:23:16 +0000 UTCI installed this and it cured my cancer. The next day i won a lottery and was able to buy a house. Right after that a hot girl and a hot boy both gave me their numbers and offered an open relationship. And right after that the neighbor i hate trip and fell in a hilarious way. Then i woke up. Still pretty cool code.
Fool's Pride
2026-01-10 02:11:04 +0000 UTC