Connect AI agents and deploy an MCP service
DeployifyNow's MCP preview lets an agent read app and deployment records in one connected workspace and save a reversible deployment configuration draft. A draft does not deploy an application or change running infrastructure. Use the connection page to check availability in your environment. Production and individual assistant acceptance remain separate from protocol tests.
Check availability and connect · Create an application
Connect your DeployifyNow workspace
- Sign in to DeployifyNow and select the workspace you intend to share.
- Open Settings → AI agents and MCP → Manage agent connections. Register a public client using its exact approved callback. A client ID is public; this flow issues no client secret. Contact support if your callback is not listed. There are no wildcard redirects, unauthenticated registration or browser-session bearer tokens.
- Add the resource
https://deployifynow.com/mcpin your client. Choose Streamable HTTP and OAuth authorization code with S256 PKCE. Supply the registered client ID through that client's supported configuration. - Start with
deployifynow:read. Requestdeployifynow:drafts:writeonly when saving drafts is needed.offline_accessenables rotating refresh tokens for up to seven days. Access tokens expire after five minutes. Refresh requests useclient_idwith public-client authentication (none);client_secret_postis available for operator-registered confidential clients. Refresh and revocation requests carrying an Authorization header are rejected before provider processing. - Review the account, workspace, client and scopes on the consent screen. Allow access only for a connection you initiated. The agent's current workspace role still bounds every call.
- In connection settings, Disconnect this client revokes that workspace connection, removes refresh tokens and invalidates existing MCP access. Removing the client from your assistant alone does not revoke the server grant. Stored drafts remain available to the workspace.
Resource discovery is https://deployifynow.com/.well-known/oauth-protected-resource/mcp. The declared issuer is the product auth service, normally https://auth-api.deployifynow.com/api/auth; its OAuth metadata lives at https://auth-api.deployifynow.com/.well-known/oauth-authorization-server/api/auth. Use the returned metadata rather than guessing token or consent URLs. Tokens must name this exact resource as their audience; tokens for another product are rejected. Include resource at both authorization and token exchange.
Tools and examples
All inputs are strict JSON objects. Results include a small structuredContent.result object and app URLs where useful. No tool accepts a workspace ID as authority.
| Tool | Input | Behavior |
|---|---|---|
identity | {} | Verified account, workspace, current role and granted scopes; no email or credentials |
list_apps | {"page":1,"pageSize":20} | Workspace apps, up to 25 per page and 100 pages |
read_app | {"projectId":"<app UUID>"} | App and five latest recorded deployments; observations do not establish current runtime readiness |
read_deployment_draft | {"projectId":"<app UUID>"} | Saved draft/version, or null |
save_deployment_draft | Example below | Saves a draft with version checking and a 24-hour exact-retry receipt; requires write scope and project-update role |
{
"projectId": "00000000-0000-4000-8000-000000000364",
"expectedVersion": 0,
"requestId": "00000000-0000-4000-8000-100000000364",
"configuration": {
"profile": "mcp-streamable-http",
"branch": "main",
"port": 3000,
"healthPath": "/health",
"replicas": 1
}
}
Replace the example IDs with an app you own and a fresh UUID. expectedVersion: 0 creates a draft; updates require its latest read version. Reuse a request ID only for the identical retry within 24 hours. A competing update returns draft_version_conflict; read again before preparing another update. A reused ID with different content returns idempotency_key_reused.
Copyable read prompt:
List my apps, read the latest recorded deployment for my storefront, and give me its app link. Tell me which runtime checks are still needed.
Copyable requested-write prompt:
Read my storefront's current deployment draft. Save an MCP service configuration draft on main, port 3000, /health and one replica. Use the current version and a fresh request ID, then reconnect and read it back so I can review it. Do not deploy it.
Client recipes and evidence — 19 October 2026
A documented client capability does not establish that your account, callback or this product connection has passed acceptance. No real user account was connected or consented on your behalf.
| Client / route | Product evidence | Smallest next check |
|---|---|---|
| Official TypeScript MCP SDK 1.32.1 / Streamable HTTP | Local protocol and persistence acceptance is recorded separately from deployment | Run the isolated test and then the same journey against the exact deployed revision |
| ChatGPT custom connector / OAuth | Documented-only; product live flow unverified | In an isolated test account, add the HTTPS resource and confirm that registered public-client authentication is supported; if the surface requires a confidential client, this public-client preview is blocked |
| Codex CLI 0.163.0 / remote HTTP | Installed CLI flags verified; account-level connection unverified | Register the exact callback, then run the commands below in an isolated client profile |
| Claude Code 2.1.303 / HTTP | Installed version and primary documentation checked; product live OAuth unverified | Configure a public client ID and exact fixed callback, authenticate with /mcp, then read/write/read |
| Claude Cowork / custom remote connector | Documented-only; no Cowork test account/session | Confirm organization policy, callback and public-client support, then run the synthetic journey |
| Hermes / OAuth HTTP | Documented-only; Hermes is not installed on this worker | Check the installed release's OAuth/client-ID/callback support before granting access |
| Grokbot | Blocked: the exact client/project was not identified | Supply its official project/version and remote OAuth recipe; do not infer support from Grok |
| Grok / xAI remote MCP API | Primary documentation exists; no product test, paid API use or OAuth-session assumption | Verify its authorization mechanism and token lifecycle independently; this is not Grokbot acceptance |
Codex's installed CLI supports these commands; use a public client ID from connection settings and keep credentials out of commands and chat:
codex mcp add deployifynow --url https://deployifynow.com/mcp --oauth-client-id YOUR_PUBLIC_CLIENT_ID
codex mcp login deployifynow --scopes deployifynow:read
# Reauthorize with write scope only when requested; disconnect on the server when finished.
codex mcp logout deployifynow
codex mcp remove deployifynow
Native clients may register one exact loopback HTTP callback with an explicit fixed port (127.0.0.1, localhost or ::1). Configure the same port in the client; arbitrary ports and wildcard callbacks are not accepted by this preview. For Codex, set mcp_servers.deployifynow.oauth.callback_url = "http://127.0.0.1:34641/callback" and mcp_servers.deployifynow.oauth.callback_port = 34641 for this server, and register that exact callback. Confirm the callback displayed by the installed CLI before granting access. For Claude Code, register http://localhost:34641/callback and configure a remote HTTP server using its supported preconfigured OAuth client settings. Start with claude mcp add --transport http --client-id YOUR_PUBLIC_CLIENT_ID --callback-port 34641 deployifynow https://deployifynow.com/mcp, then use /mcp to authenticate. Do not assume dynamic registration: this preview requires preregistration. For Cowork, use the custom remote connector route in connector settings; cloud reachability and account policy apply. For Hermes, follow its current MCP configuration and OAuth login reference, using your registered client ID and exact callback rather than copying a bearer token. Check the primary references below when client flags or menus differ.
Deploy your own bounded MCP service
DeployifyNow manages the application and provider configuration. You own the service's tools, OAuth resource and domain authorization. An MCP endpoint is not permission to expose a database, shell, local infrastructure or operator API. ObserveifyNow local bridges remain private unless their owner explicitly opts in.
Optional isolated Observe authorization server
For a new template installation, use the complete content-addressed install archive below. The operator preview also retains a reference downloadable owner-issuer bundle, SHA-256 checksum and declared-file manifest. It uses maintained login and OAuth libraries with private PostgreSQL persistence, explicit consent, rotating refresh tokens, signed introspection and connection revocation. The included README documents the private file references, exact client registration, limits, deployment profile, tests and recovery requirements. This is an optional owner installation; no public issuer, owner account or LAN profile is enabled by downloading it.
Deploy the included Dockerfile from your own reviewed Git revision through an owned DeployifyNow project. Supply the exact source build argument and existing owner-specific database, signing/session/login/introspection and TLS references. The scoped profile requires verified separate owner networks, one replica and bounded resource/log settings. Startup checks database ownership and compiled source identity, and never migrates or provisions an account automatically. Missing DNS, protected references, operator access or owner consent remains a setup gate.
For Observe, start with observe:connections:read. Add observe:connections:write only for a requested save and current editor membership. Both scopes are required for writes; account/workspace and granted scopes appear on consent and connection settings. Disconnect there to revoke the grant. The local protocol proof uses the actual published Observe package with SDK initialize, scoped read, requested reversible save, health read, persistent reconnect and rejection after disconnect. Public deployment and each assistant's OAuth route remain separate acceptance layers. Keep Observe's account-free local connector private unless its owner explicitly chooses a remote bridge.
Deploy the bounded MCP sample
Recommended installation: download the complete matching template and issuer archive, its SHA-256 checksum and payload manifest. The archive filename contains its SHA-256. Verify it against that filename and checksum before extraction into a new private directory. Use only the included mcp-service/ and owner-issuer/ files together; the embedded manifest binds every payload's size and hash. Do not combine files from separate downloads or a prior install. A cached older guide selects a complete older archive; if that exact archive is unavailable, refresh the guide instead of falling back to mutable file URLs.
The individual links below are source references for inspection, not an atomic installation set. Download the README, package manifest, lockfile, server, bounded HTTP reader, configuration, explicit authorization verifier, configuration test, Dockerfile, Compose profile, proxy configuration and profile validator into a new directory in your own repository. Review the README before adding protected references. The sample's tools are identity, read_draft and save_draft, separate from DeployifyNow's five product tools.
Deploy the Dockerfile from a repository you own through the existing customer project flow. The operator CLI also offers app create --template mcp-streamable-http; this is a build/environment preset, not an identity provider or a customer template-gallery entry. Apply the reviewed Compose profile for the documented network/resource/log boundaries. The public sample bundle and profile describe an isolated service, private persistence, health/readiness, finite limits and a reviewable rollback. Choose one explicit OAuth contract below; the template does not create an identity-provider account or a shared portfolio token.
The default MCP_AUTH_MODE=jwt-json needs a compatible external provider issuing signed access JWTs plus fresh JSON introspection with matching account/workspace/resource claims. This bundle does not verify a deployed external provider. The downloadable owner issuer instead issues opaque tokens and signed introspection: use the explicit owner-signed mode, never treat an opaque token as an unsigned JWT.
For an isolated draft sample, configure a separate owner issuer with resourceProfile: "private-draft", the sample's exact HTTPS /mcp resource, fixed workspace and explicitly registered public clients. Consent then describes private draft reads/saves. Use the following nonsecret configuration alongside protected database and confidential introspection-password references:
MCP_AUTH_MODE=owner-signed
MCP_WORKSPACE=sample364
MCP_ISSUER_URL=https://YOUR_SAMPLE_ISSUER_HOST
MCP_JWKS_URL=https://YOUR_SAMPLE_ISSUER_HOST/jwks
MCP_INTROSPECTION_URL=https://YOUR_SAMPLE_ISSUER_HOST/token/introspection
MCP_INTROSPECTION_CLIENT_ID=YOUR_CONFIDENTIAL_RESOURCE_CLIENT_ID
MCP_READ_SCOPE=observe:connections:read
MCP_WRITE_SCOPE=observe:connections:write
Override both Compose scope defaults. These are the owner issuer's existing scope names; on the separately bound draft resource they grant only draft read/save, with current reader/editor membership. No Observe bridge or infrastructure profile is deployed. Every invocation validates the issuer's ES256 signed introspection, outer confidential-client audience, nested resource/workspace/subject, expiry and scopes. Active-token results are not cached. Wrong signatures, JSON fallback, wrong audiences/workspaces and revoked grants fail closed. Disconnect through the issuer's /owner settings; removing a client alone does not revoke the server grant. The README contains the exact contract and extension/testing recipe. Real local OAuth/SDK persistence tests are separate from an actual self-hosted sample deployment and each assistant's client acceptance.
- Add the sample service to your GitHub repository, review its pinned dependencies, and connect that repository in DeployifyNow. Keep the MCP service in its own project/network/datastore boundary.
- Choose its Dockerfile and internal port 3000. Use
/healthfor process checks and/readyfor dependency readiness. Start with one replica. Expose only the service's HTTPS endpoint; never publish its datastore port or Docker socket. - Set the resource to your final HTTPS
/mcpURL and the issuer to your product's identity service. Configure its exact approved redirects, read/write scopes and protected-resource metadata. Verify issuer, audience, expiry, signature and revocation on every invocation. - Supply connection strings and OAuth client secrets through existing environment/Vault secret references. Enter values only in protected secret inputs. Never put values in Git, drafts, screenshots, prompts or browser storage. Names such as
MCP_INTROSPECTION_CLIENT_SECRET_FILErefer to mounted protected files, not literal credentials. - Review the generated service, domain, resource and rate settings, then explicitly deploy through DeployifyNow. Agents cannot trigger this step through the connector. Record the source SHA, immutable image/provider release and prior rollback revision.
- Verify HTTPS and discovery, readiness, initialize, tools/list and a synthetic read → requested draft write → reconnect → read. Test anonymous, invalid, expired, wrong-audience and revoked tokens; read-only grants and other workspaces must fail to write. Observe 429 recovery. Redeploy an exact reviewed revision and verify persistence; roll back using the retained release and verify it again before inviting users.
For source maintainers, local acceptance is npm --prefix backend/deployifynow-auth ci --include=dev, npm --prefix backend/deployifynow-auth test, npm --prefix backend/deployifynow-auth run build, and bash backend/deployifynow-auth/test/mcp-postgres.sh. The last command owns and removes only a uniquely named disposable PostgreSQL fixture. Public users do not need access to this private repository; use the public bundle and their own repository for deployment.
Transport, limits and troubleshooting
DeployifyNow uses the pinned official SDK's stateless Streamable HTTP POST transport with bounded JSON results, not a legacy SSE endpoint. There are no long-lived MCP sessions, server push, arbitrary URL fetching or deployment-execution tools. Supported negotiated revisions and Inspector/SDK acceptance must match the deployed receipt; the pinned SDK supports 2025-03-26, 2025-06-18 and 2025-11-25. A separate GET stream can return 405 in this mode. Always send credentials on each request.
Default budgets: 30 requests/minute per anonymous source IP, 60/minute per account/workspace, 120/minute per workspace, 10 writes/minute per account/workspace and 20/minute per workspace. Workspace concurrency is eight with a finite service-wide cap. Request bodies are at most 32 KiB and results at most 64 KiB. Database-backed counters and concurrency leases are shared across replicas; database failure fails closed. Request and database work have finite deadlines. The deployable template remains one replica until its own scaling evidence passes. Operator configuration can lower these finite budgets. Ingress may impose additional limits.
A 401 response supplies OAuth resource discovery. Check issuer, exact audience/resource, token expiry and revocation; never substitute an API key. For 403, check the granted scopes and current workspace membership/role. For 409, read the current draft and retry with a new version/request ID. For 413, reduce payload or page size. For 429, respect Retry-After with jitter; do not loop. For 503, keep the correlation ID and retry later without exposing raw errors or tokens.
HTML returned from discovery or /mcp means a routing/fallback error. TLS failures require a valid complete certificate chain and the public hostname. OAuth callbacks must match exactly; wildcard, fragment and non-loopback HTTP callbacks are unavailable. Proxies must preserve MCP/Authorization/Origin/Accept headers, disable buffering/caching, and allow the documented bounded response time. Trust forwarding headers only from verified ingress peers. Cloudflare bot challenges are not an OAuth flow: operators must verify the exact endpoint's agent reachability without weakening authentication.
Privacy and extension
Only app names, branches, bounded deployment observations and configuration drafts leave the service. It never returns environment variables, infrastructure credentials, raw provider logs or customer emails. Redacted audit events record account, workspace, scopes, tool, outcome and correlation ID; they do not record tokens or tool payloads. Keep metrics/logs private with finite retention. Drafts, OAuth consents and signing keys require product-owned encrypted backups and isolated restore evidence; rate counters are ephemeral.
To add a tool, define one strict input/output schema and honest annotations; reuse domain validation and current tenant/object authorization; choose read/write scope and finite cost; return minimal structured data and a user-openable URL. Add actual SDK/HTTP persistence and negative isolation/role/revocation/limit tests. Update this guide and the connection consent copy. Do not promote a draft tool into publishing, messaging, payments, access changes or deployment execution without an enforceable preview/confirmation design and separate acceptance.