CKT
commited on
Commit
·
0ca3f64
1
Parent(s):
987ae4a
README and Gradio intro updates
Browse files
README.md
CHANGED
@@ -17,17 +17,24 @@ short_description: MCP-native matchmaking to let your AI agents find you dates!
|
|
17 |
---
|
18 |
|
19 |
# MatchMaiker: MCP-Native Dating Platform
|
20 |
-
|
|
|
|
|
21 |
|
22 |
## Overview
|
23 |
-
|
24 |
-
|
25 |
-
|
|
|
|
|
|
|
|
|
26 |
|
27 |
-
|
|
|
28 |
|
29 |
-
|
30 |
-
|
31 |
|
32 |
```json
|
33 |
"mcpServers": {
|
@@ -46,17 +53,29 @@ Go ahead and add this to your MCP configuration (this will work in either Cursor
|
|
46 |
}
|
47 |
```
|
48 |
|
49 |
-
|
|
|
50 |
|
51 |
**X-AUTH-ID**
|
52 |
-
This is
|
53 |
-
|
|
|
54 |
|
55 |
**X-AGENTPAY-API-KEY**
|
56 |
-
This
|
57 |
-
You'll notice a (sandbox) AgentPay API Key
|
58 |
-
(Normally, of course, you would want to keep yours secret, as that allows others to use your balance!)
|
59 |
|
60 |
## Key Features
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
61 |
|
62 |
-
|
|
|
17 |
---
|
18 |
|
19 |
# MatchMaiker: MCP-Native Dating Platform
|
20 |
+
**Turn your AI agent into the ultimate wingman or wingwoman!**
|
21 |
+
|
22 |
+
MatchMaiker is the first MCP-native dating platform, demonstrating the power of fully embedded, E2E agentic applications.
|
23 |
|
24 |
## Overview
|
25 |
+
MatchMaiker aims to highlight two key points:
|
26 |
+
|
27 |
+
1. The exciting user and product experience that's possible with a full, end-to-end (E2E) MCP-native application, from user on-boarding through monetization (and it's a dating app, which is awesome!)
|
28 |
+
2. The infrastructure to actually build these kinds of MCP-native experiences, especially payments, by integrating [AgentPay](https://agentpay.me).
|
29 |
+
|
30 |
+
## Quickstart: Experience it for yourself
|
31 |
+
To experience it for yourself, you either jump into the video demo, or try it out in your own MCP client.
|
32 |
|
33 |
+
### Video Demo
|
34 |
+
Jump straight into the [video demo](https://www.loom.com/share/465724e5ef914860978ec590b461f525?sid=6a60fb9a-954f-4850-9394-550937692388).
|
35 |
|
36 |
+
### Try it out
|
37 |
+
Add this MCP configuration to your MCP Client to start using MatchMaiker yourself (verified working in Cursor and Claude).
|
38 |
|
39 |
```json
|
40 |
"mcpServers": {
|
|
|
53 |
}
|
54 |
```
|
55 |
|
56 |
+
**MCP REMOTE**
|
57 |
+
We're using mcp-remote (https://www.npmjs.com/package/mcp-remote) here to facilitate our remote MCP server connection, and adding a couple of important headers, detailed below.
|
58 |
|
59 |
**X-AUTH-ID**
|
60 |
+
This is like your MatchMaiker auth token which lets you interact with your account.
|
61 |
+
You receive it once you create your profile, and you need to add it to your config for subsequent calls.
|
62 |
+
(Like any other auth token, you should keep it secret and safe!)
|
63 |
|
64 |
**X-AGENTPAY-API-KEY**
|
65 |
+
This is your AgentPay-issued API key for MatchMaiker MCP, allowing you to pay for its services with your AgentPay balance.
|
66 |
+
You'll notice a (sandbox) AgentPay API Key in the example config -- you can go ahead and feel free to use it.
|
67 |
+
(Normally, of course, you would want to keep yours secret and safe, as that allows others to use your balance!)
|
68 |
|
69 |
## Key Features
|
70 |
+
Here are the tools which make this possible:
|
71 |
+
|
72 |
+
- **New Profile:** Sign up, get your Auth ID, and answer some profile questions—the best part is that AI can help you with all the answers!
|
73 |
+
- **Update Profile:** Once you're ready, the agent will help you update your profile with your responses. It can do this multiple times, and helps you polish it.
|
74 |
+
- **Get Matches:** Based on your profile and preferences, MatchMaiker MCP will find you the best matches, and return summaries of each. You can always get more matches.
|
75 |
+
- **Full Profiles:** You can then fetch full profiles for anyone you're interested in—as a demonstration of MCP-native payments, we integrated AgentPay here, and charge $0.10 per profile.
|
76 |
+
- **Send Messages:** You can send messages to any prospective dates—again, as a further demonstration of MCP-native payments, we integrated AgentPay here as well, and charge $1.00 per message.
|
77 |
+
- **Check Messages:** Then, you can have full-fledged conversations with your dates via MatchMaiker if you wanted to, as it comes complete with a read/unread inbox at your fingertips.
|
78 |
+
|
79 |
+
---
|
80 |
|
81 |
+
Built by the AgentPay team. Questions or interested in chatting? Learn more: https://agentpay.me / Reach out: [email protected]
|
app.py
CHANGED
@@ -603,6 +603,30 @@ def print_headers(text, request: gr.Request):
|
|
603 |
|
604 |
# --- Start of Gradio App Setup ---
|
605 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
606 |
# Gradio interface for printing headers
|
607 |
headers_demo = gr.Interface(
|
608 |
fn=print_headers,
|
@@ -696,4 +720,7 @@ if __name__ == "__main__":
|
|
696 |
base_dir = os.path.dirname(os.path.abspath(__file__))
|
697 |
allowed_images_path = os.path.join(base_dir, "data", "profile_images")
|
698 |
|
699 |
-
|
|
|
|
|
|
|
|
603 |
|
604 |
# --- Start of Gradio App Setup ---
|
605 |
|
606 |
+
intro_markdown = gr.Markdown("""
|
607 |
+
# MatchMaiker: MCP-Native Dating Platform 🩵
|
608 |
+
|
609 |
+
**Turn your AI agent into the ultimate wingman or wingwoman!**
|
610 |
+
|
611 |
+
MatchMaiker is the first MCP-native dating platform, demonstrating the power of fully embedded, end-to-end agentic applications.
|
612 |
+
|
613 |
+
**Why is this interesting?**
|
614 |
+
- The user and product experience: a full, E2E, MCP-native application, from onboarding through monetization (and yes, it's a dating app!)
|
615 |
+
- The infrastructure: actually building these kinds of MCP-native experiences, especially payments, by integrating [AgentPay](https://agentpay.me).
|
616 |
+
|
617 |
+
**Key Features:**
|
618 |
+
- **New Profile:** Sign up, get your Auth ID, and answer some profile questions—the best part is that AI can help you with all the answers!
|
619 |
+
- **Update Profile:** Once you're ready, the agent will help you update your profile with your responses. It can do this multiple times, and helps you polish it.
|
620 |
+
- **Get Matches:** Based on your profile and preferences, MatchMaiker MCP will find you the best matches, and return summaries of each. You can always get more matches.
|
621 |
+
- **Full Profiles:** Fetch full profiles for anyone you're interested in—as a demonstration of MCP-native payments, we integrated AgentPay here ($0.10 per profile).
|
622 |
+
- **Send Messages:** Send messages to any prospective dates—again, as a further demonstration of MCP-native payments, we integrated AgentPay here as well ($1.00 per message).
|
623 |
+
- **Check Messages:** Have full-fledged conversations with your dates via MatchMaiker, complete with a read/unread inbox at your fingertips.
|
624 |
+
|
625 |
+
---
|
626 |
+
|
627 |
+
*Built by the AgentPay team. [Learn more](https://agentpay.me) / [email protected]*
|
628 |
+
""")
|
629 |
+
|
630 |
# Gradio interface for printing headers
|
631 |
headers_demo = gr.Interface(
|
632 |
fn=print_headers,
|
|
|
720 |
base_dir = os.path.dirname(os.path.abspath(__file__))
|
721 |
allowed_images_path = os.path.join(base_dir, "data", "profile_images")
|
722 |
|
723 |
+
with gr.Blocks() as app:
|
724 |
+
intro_markdown
|
725 |
+
demo
|
726 |
+
app.launch(mcp_server=True, allowed_paths=[allowed_images_path])
|