MCP 0.0.3
Authenticate the Organization MCP
Organization MCP accepts OAuth or an API key and keeps its Organization scope in the endpoint.
Use OAuth or an API key with Organization MCP
Organization MCP can authenticate through OAuth or an API key. OAuth is appropriate for a host that can complete Agiflow sign-in. An API key is appropriate for a configured client secret.
OAuth setup
- Add the Agiflow MCP connection in an OAuth-capable host. Start the sign-in flow from the host.
- Complete consent and select the organization. Confirm the organization before returning to the host.
- Verify the session. Ask for
get_current_scopebefore requesting a change.
API key setup
- Open the scoped connection panel. Dashboard → Organization settings → Developer → API keys.
- Generate the key. Use Generate API Key, or open Organization settings, Developer, then API Keys.
- Copy the key immediately. Agiflow shows a new key once, so store it in the secret store used by the MCP client.
- Paste the endpoint and header. Use the generated endpoint and add the
x-api-keyheader. - Restart and verify. Ask for the current scope before requesting a change.
headers: x-api-key: YOUR_API_KEY