Files
conversation-history/product-incubation/Codex-2026-05-11-squaremcp-site-and-agent-docs-update.md

226 lines
5.5 KiB
Markdown

# Codex — SquareMCP Site, Branding, and Agent Docs Update
**Date:** 2026-05-11
**Author:** Codex
**Status:** Completed
---
## Scope
This note captures the work completed across the SquareMCP marketing site, brand assets, and Hermes setup documentation for CLI agents.
---
## 1. Legal pages added and deployed
### What was built
Added and published:
1. `https://squaremcp.com/privacy`
2. `https://squaremcp.com/terms`
### Site changes
Updated the product site to include:
1. a proper Privacy Policy page
2. a proper Terms of Service page
3. footer links from the homepage to both legal pages
4. shared legal-page styling to keep the pages visually consistent with the live site
### Technical issue discovered and resolved
The site initially returned the homepage for `/privacy` and `/terms` because nginx clean-URL routing only checked `$uri` and `$uri/` before falling back to `index.html`.
The routing fix was:
```nginx
try_files $uri $uri.html $uri/ /index.html;
```
### Deployment result
The updated site image was rebuilt, pushed, and rolled out successfully. Live verification confirmed the legal pages were reachable and serving the intended content once cache was bypassed.
---
## 2. Logo asset extracted / recreated for the live site
### Discovery
The existing live site did not use a proper standalone logo asset. The logo only appeared embedded inside rendered storyboard assets, especially box 8 of `squaremcp_storyboard.png`.
### What was created
A reusable SVG logo was created for the site:
- `product/site/squaremcp-logo.svg`
This logo was then wired into:
1. homepage navigation
2. privacy page navigation
3. terms page navigation
4. production site image build
### Deployment result
The site was rebuilt and redeployed, and the homepage now references the live logo asset:
- `https://squaremcp.com/squaremcp-logo.svg`
---
## 3. LinkedIn-ready logo exports generated
Generated local upload assets for LinkedIn:
1. `product/site/squaremcp-logo-linkedin.png`
2. `product/site/squaremcp-logo-linkedin-transparent.png`
3. `product/site/squaremcp-logo-linkedin.jpg`
### Rendering issue and fix
The first PNG/JPG renders were blank because the browser render path referenced the SVG as a file URL and captured a broken-image placeholder.
The fix was to inline the SVG content into the render page before taking screenshots.
### Best current upload file
The safest file for LinkedIn app/logo upload is:
- `product/site/squaremcp-logo-linkedin.jpg`
because it renders correctly on a white background and avoids the blank-image issue seen earlier.
---
## 4. Hermes / agent setup documentation updated
### Problem
The repo documentation was stale and still framed Hermes as an older email-first Claude-only setup in multiple places.
### What was updated
#### `README.md`
Reworked to:
1. use the current production domain `https://hermes.squaremcp.com/mcp`
2. describe Hermes as a hosted MCP gateway
3. link to client-specific setup guides
4. replace old single-client framing with current agent setup patterns
#### New doc: `CODEX_SETUP.md`
Added a dedicated Codex CLI setup guide showing the required config block:
```toml
[mcp_servers.hermes]
url = "https://hermes.squaremcp.com/mcp"
```
#### New doc: `AGENTS_CLI_SETUP.md`
Added a general setup guide for:
1. Claude Code
2. Claude Desktop
3. generic MCP-capable CLI agents
4. SSE fallback clients
### Documentation standardization
Updated examples to use:
1. `https://hermes.squaremcp.com/mcp`
2. `YOUR_MCP_API_KEY`
instead of embedding real live credentials into examples.
---
## 5. Codex config updated locally
Updated local Codex config at:
- `~/.codex/config.toml`
with:
```toml
[mcp_servers.hermes]
url = "https://hermes.squaremcp.com/mcp"
```
This ensures the Codex CLI points at the SquareMCP domain rather than the older FetcherPay-hosted domain.
---
## Files changed
### Site
1. `product/site/index.html`
2. `product/site/privacy.html`
3. `product/site/terms.html`
4. `product/site/styles.css`
5. `product/site/nginx-site.conf`
6. `product/site/Dockerfile`
7. `product/site/squaremcp-logo.svg`
8. `product/site/squaremcp-logo-linkedin.png`
9. `product/site/squaremcp-logo-linkedin-transparent.png`
10. `product/site/squaremcp-logo-linkedin.jpg`
### Docs
1. `README.md`
2. `CODEX_SETUP.md`
3. `AGENTS_CLI_SETUP.md`
---
## Live URLs
### Site pages
1. `https://squaremcp.com/privacy`
2. `https://squaremcp.com/terms`
### Logo asset
1. `https://squaremcp.com/squaremcp-logo.svg`
### Hermes endpoint
1. `https://hermes.squaremcp.com/mcp`
---
## Strategic significance
This work matters because it improved three commercial surfaces at once:
1. **Trust surface** — legal pages make the site more credible for real outreach and partner/app setup
2. **Brand surface** — SquareMCP now has a reusable logo asset instead of a placeholder character mark
3. **Distribution surface** — Hermes setup is now documented for Codex CLI and other CLI agents using the correct domain
Taken together, this makes the project more usable for:
1. app registration
2. social/profile branding
3. agent onboarding
4. external demos and pilot readiness
---
## Follow-up opportunities
1. Update `CHATGPT_SETUP.md` and any remaining legacy docs to remove stale assumptions and old domain references if needed
2. Add a favicon / social preview asset derived from the new logo
3. Add one short doc page for "all client connection options" that links Codex, Claude, opencode, and ChatGPT from a single place
4. Add logo usage guidance if SquareMCP branding will be used across LinkedIn, app dashboards, and the product site