Move AI agent setup to Quick Start as the primary onboarding path
This commit is contained in:
@@ -11,7 +11,21 @@ An MCP server that bridges IMAP/SMTP email accounts to [Poke](https://poke.com).
|
|||||||
- **Bearer token auth**: Secure the server with `MCP_API_KEY` so only you can use it
|
- **Bearer token auth**: Secure the server with `MCP_API_KEY` so only you can use it
|
||||||
- **No delete tool**: Emails can be archived or moved, never deleted by an agent
|
- **No delete tool**: Emails can be archived or moved, never deleted by an agent
|
||||||
|
|
||||||
## Setup
|
## Quick Start
|
||||||
|
|
||||||
|
Copy this prompt into your AI coding agent (Claude Code, Cursor, etc.):
|
||||||
|
|
||||||
|
```text
|
||||||
|
Set up poke-mail (https://github.com/kacperkwapisz/poke-mail) for me — clone the repo, create a Python virtualenv named .venv, install requirements.txt, copy config.example.yml to config.yml, then help me configure config.yml — you can guide me on which IMAP/SMTP host and port to use for my email provider (iCloud, Gmail, Outlook, etc.) and what username format to use, but do NOT type or suggest passwords or API keys, tell me to enter those myself outside of this terminal and confirm when done — then generate a random 32+ character MCP_API_KEY, save it to a .env file as MCP_API_KEY=<the-key>, install the poke npm package globally, run poke login so I can authenticate, and run start.sh to start the server and tunnel it to Poke.
|
||||||
|
```
|
||||||
|
|
||||||
|
To start the server again later:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
./start.sh
|
||||||
|
```
|
||||||
|
|
||||||
|
## Manual Setup
|
||||||
|
|
||||||
### 1. Configure accounts
|
### 1. Configure accounts
|
||||||
|
|
||||||
@@ -72,20 +86,6 @@ npx @modelcontextprotocol/inspector
|
|||||||
|
|
||||||
Open http://localhost:3000 and connect to `http://localhost:3000/mcp` using "Streamable HTTP" transport. Pass `Authorization: Bearer your-secret-key` header.
|
Open http://localhost:3000 and connect to `http://localhost:3000/mcp` using "Streamable HTTP" transport. Pass `Authorization: Bearer your-secret-key` header.
|
||||||
|
|
||||||
## Install with your AI Agent
|
|
||||||
|
|
||||||
Copy this prompt into your AI coding agent (Claude Code, Cursor, etc.):
|
|
||||||
|
|
||||||
```text
|
|
||||||
Set up poke-mail (https://github.com/kacperkwapisz/poke-mail) for me — clone the repo, create a Python virtualenv named .venv, install requirements.txt, copy config.example.yml to config.yml, then help me configure config.yml — you can guide me on which IMAP/SMTP host and port to use for my email provider (iCloud, Gmail, Outlook, etc.) and what username format to use, but do NOT type or suggest passwords or API keys, tell me to enter those myself outside of this terminal and confirm when done — then generate a random 32+ character MCP_API_KEY, save it to a .env file as MCP_API_KEY=<the-key>, install the poke npm package globally, run poke login so I can authenticate, and run start.sh to start the server and tunnel it to Poke.
|
|
||||||
```
|
|
||||||
|
|
||||||
To start the server again later:
|
|
||||||
|
|
||||||
```bash
|
|
||||||
./start.sh
|
|
||||||
```
|
|
||||||
|
|
||||||
## Authentication
|
## Authentication
|
||||||
|
|
||||||
Set `MCP_API_KEY` to secure the server. All requests must include `Authorization: Bearer <MCP_API_KEY>`.
|
Set `MCP_API_KEY` to secure the server. All requests must include `Authorization: Bearer <MCP_API_KEY>`.
|
||||||
|
|||||||
Reference in New Issue
Block a user