GuideMCP for devprimez

Everything about connecting devprimez to AI bots

Setup in minutes, every tool explained, and copy-paste prompts that already work. Your MCP address is:

What is MCP

MCP (Model Context Protocol) is a standard way for an AI bot to use outside tools. With devprimez connected, a bot like Claude can look at your AI team, give an employee a task, read the documents they wrote, manage customers and, if you allow it, send email, all by chatting.

How it fits together

Your bot calls one URL. The URL contains a private key you create. The devprimez MCP function checks the key, then works on your own company data only. Nothing else is reachable.

Quick start

  1. Create a key. Open the MCP page, log in, name your key and choose its access. Copy the URL it shows. It appears once.
  2. Paste it into your bot as a remote MCP server. See Setup per bot.
  3. Say hello. Ask: Use devprimez to show my company overview.
Not working yet? The owner of the site must finish Owner setup once: one SQL file and one function deploy.

Setup per bot

Replace dpk_YOUR_KEY with your own key. Any bot that accepts a remote MCP server over Streamable HTTP with no extra login works with the URL alone.

Bots that only support sign-in with OAuth cannot connect, because devprimez uses a key in the URL instead. If a bot asks for "authentication", choose none.

Owner setup (once)

Only the person who runs the devprimez site does this. Users never need to.

  1. Create the keys table. Supabase dashboard, SQL Editor, paste the contents of 20261114_mcp_keys.sql, Run.
  2. Deploy the function named mcp.
    supabase functions deploy mcp --project-ref crflulejueewpelzsosz --no-verify-jwt
    Or in the dashboard: Edge Functions, Deploy a new function, name it exactly mcp, paste index.ts, then turn Verify JWT off in the function settings. Bots send their own key, not a Supabase login.
  3. Upload the pages company.html, mcp.html and helpmcp.html to your site.
  4. Check the other functions. Task assignment, chat and mail use your existing company and plugins functions, so they must be deployed too.
The function uses Supabase's built-in service key internally. Never paste a secret or service key into any web page. The publishable key in config.js is the only key a page should hold.

Ready-to-paste prompts

Click Copy and paste into your connected bot. Each one tells the bot which devprimez tools to use. Edit the words in capitals.

Tool reference

The bot sees only the tools its key allows. Levels: Read looks only, Work can change things, Email can use your mail.

Raw API

You can call the server yourself. It speaks JSON-RPC over POST. Every request needs the key in the URL.

List tools

Run a tool

Responses are plain JSON. A tool that fails returns isError: true with a message you can read.

Troubleshooting

401: "Missing or invalid key" or "not valid or was revoked"

The key is mistyped, cut off, or revoked. Create a new one on the MCP page and paste the whole URL, including ?key=.

404 or "function not found"

The function is not deployed under the name mcp. Redeploy with the exact name.

The bot connects but says unauthorized or asks to log in

Verify JWT is still on. Turn it off in the function settings, or redeploy with --no-verify-jwt.

The bot sees no tools, or fewer than expected

The key's access level limits tools. Read only shows 7 tools. Create a "Read and work" or "Read, work and email" key for more. Then remove and re-add the server so the bot refreshes its list.

"No company yet"

Open the company page once while logged in and create your company.

assign_task or chat fails

Those call your company edge function (the AI). Make sure it is deployed and that your AI provider key is set there.

Email tools say not connected

Connect Gmail or Outlook in Connectors first, and use a key with the Email level.

"mcp_keys table is missing"

Run the SQL migration in Owner setup, step 1.

Changes from a bot do not show on the website

Refresh the company page. If you had it open for a long time, reload so it picks up the newer saved copy.

Security

  • Treat each URL like a password. Anyone who has it gets that key's access.
  • Use one key per bot, so you can revoke one without breaking others. Revoking works instantly.
  • Only a hash of each key is stored. If you lose a URL, make a new key.
  • Pick Read only when the bot just needs to look. Use Email only for bots you fully trust. Sending is limited to 10 emails a day per key.
  • Do not put a key in public places like screenshots, shared chats, public repos or videos.
  • Emails and customer notes a bot reads come from other people. A bot may be tricked by text inside them, so review anything it sends before relying on it.

FAQ

Does it cost anything?

MCP itself is free. Your bot, your Supabase usage and your AI provider may have their own limits or costs.

Can two bots use devprimez at once?

Yes. Give each its own key.

Can a bot see other people's companies?

No. A key only reaches the account that created it.

Will it delete my data?

No delete tools exist. Bots can read, add tasks and files, hire employees and add customers. Email tools exist only on Email-level keys.

Which bots work?

Any that supports a remote MCP server over Streamable HTTP without OAuth: Claude, Claude Code, Cursor, VS Code and n8n are covered above. Support differs by app and plan, so check your bot's MCP settings.