mcp
v10.17.3Model Context Protocol server for the FerrLabs platform (orgs, projects, subscriptions, docs, tokens, public stats)
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
get_stats
Get public FerrLabs usage statistics (releases cut, repos using FerrFlow, commits analyzed)
health_check
Check FerrLabs API health status
get_me
Get the current authenticated FerrLabs user profile
list_tokens
List all API tokens for the authenticated user
create_token
Create a new FerrLabs API token. Disabled unless FERRLABS_MCP_ALLOW_TOKEN_REVEAL=1, because the API shows the secret exactly once and returning it here writes it into the conversation transcript.
| Parameter | Type | Description |
|---|---|---|
name * | string | Token name |
scopes * | array | Token scopes (e.g. ["*"] for all) |
expires_at | string | Expiration date (ISO 8601) |
org_ids | array | Organization ids the token may act in (default: all your organizations) |
revoke_token
Revoke a FerrLabs API token by ID
| Parameter | Type | Description |
|---|---|---|
token_id * | string | Token ID to revoke |
list_org_tokens
List the API tokens of an organization (prefix, scopes, creator, last use, revoked). Never returns the secret.
| Parameter | Type | Description |
|---|---|---|
org_slug * | string | Organization slug |
create_org_token
Create an organization API token (admin or owner). Disabled unless FERRLABS_MCP_ALLOW_TOKEN_REVEAL=1, because the API shows the secret exactly once and returning it here writes it into the conversation transcript.
| Parameter | Type | Description |
|---|---|---|
name * | string | Token name |
org_slug * | string | Organization slug |
scopes * | array | Token scopes (at least one) |
expires_at | string | Expiration date (ISO 8601, in the future). Omitted: the token never expires |
owner | string | creator: tied to you. org: no human holder, for machine-to-machine calls |
revoke_org_token
Revoke an organization API token by id (admin or owner). Irreversible; anything using it loses access.
| Parameter | Type | Description |
|---|---|---|
org_slug * | string | Organization slug |
token_id * | string | Token id to revoke |
list_orgs
List FerrLabs organizations the authenticated user belongs to
list_projects
List projects inside a FerrLabs organization
| Parameter | Type | Description |
|---|---|---|
org_slug * | string | Organization slug (from list_orgs) |
get_org
Get a single FerrLabs organization by slug.
| Parameter | Type | Description |
|---|---|---|
org_slug * | string | Organization slug |
update_org
Patch an organization — rename it or change its slug. Slug changes propagate everywhere; double-check before doing it on a live org.
| Parameter | Type | Description |
|---|---|---|
org_slug * | string | Current organization slug |
name | string | |
new_slug | string | New slug (lowercase alphanumeric + hyphens). |
get_org_overview
High-level dashboard view of an organization — member count, active subscriptions per product, pending invites, recent activity volume.
| Parameter | Type | Description |
|---|---|---|
org_slug * | string | Organization slug |
get_org_usage
Current-period metered usage across all products for an org (FerrGrowth visits/bandwidth, FerrFleet runs, etc.) with limits per tier.
| Parameter | Type | Description |
|---|---|---|
org_slug * | string | Organization slug |
list_org_audit
Recent audit log for an organization — member changes, subscription updates, sensitive admin actions.
| Parameter | Type | Description |
|---|---|---|
org_slug * | string | Organization slug |
limit | integer | Max entries to return (default 50). |
list_org_members
Members of an organization with their roles. Useful to look up a user_id before assigning issues or granting team membership.
| Parameter | Type | Description |
|---|---|---|
org_slug * | string | Organization slug |
invite_org_member
Invite someone by email to join an organization with a specific role. Requires the admin or owner role. The invitee receives an email valid for 14 days and appears in list_org_members once they accept; until then the invitation is pending.
| Parameter | Type | Description |
|---|---|---|
email * | string | Invitee email address |
org_slug * | string | Organization slug |
role | string | Org-level role (default member). Only an owner may invite another owner. |
update_org_member_role
Change a member's role inside an organization. Promoting to owner requires the caller to be an owner.
| Parameter | Type | Description |
|---|---|---|
org_slug * | string | Organization slug |
role * | string | |
user_id * | string | User id of the member to update |
remove_org_member
Remove a user from an organization. Irreversible; the user can be re-invited.
| Parameter | Type | Description |
|---|---|---|
org_slug * | string | Organization slug |
user_id * | string | User id of the member to remove |
list_teams
List teams (sub-groups) inside an organization. Teams are used for fine-grained permissions and assignee groups.
| Parameter | Type | Description |
|---|---|---|
org_slug * | string | Organization slug |
create_team
Create a new team inside an organization. Teams start empty — add members with add_team_member.
| Parameter | Type | Description |
|---|---|---|
name * | string | |
org_slug * | string | Organization slug |
description | string |
update_team
Patch a team — rename or change description.
| Parameter | Type | Description |
|---|---|---|
org_slug * | string | Organization slug |
team_id * | string | Team id |
description | ||
name | string |
delete_team
Delete a team. Members of the team are NOT removed from the org; they just lose team-scoped permissions.
| Parameter | Type | Description |
|---|---|---|
org_slug * | string | Organization slug |
team_id * | string | Team id |
add_team_member
Add a user (already an org member) to a team.
| Parameter | Type | Description |
|---|---|---|
org_slug * | string | Organization slug |
team_id * | string | Team id |
user_id * | string | User id to add |
remove_team_member
Remove a user from a team. The user remains an org member.
| Parameter | Type | Description |
|---|---|---|
org_slug * | string | Organization slug |
team_id * | string | Team id |
user_id * | string | User id to remove |
update_me
Patch the authenticated user's own profile — display name, timezone, locale, avatar URL. Email + password rotate via dedicated flows in the UI, not here.
| Parameter | Type | Description |
|---|---|---|
avatar_url | ||
display_name | string | |
locale | string | BCP 47, e.g. 'en' or 'fr-FR'. |
timezone | string | IANA tz, e.g. 'Europe/Paris'. |
list_my_sessions
List your active sessions across devices/browsers. The session you used to obtain the current token is flagged `current: true`.
revoke_my_session
Revoke one of your active sessions by id (sign out that device). Refusing to revoke the current session is left up to the API.
| Parameter | Type | Description |
|---|---|---|
session_id * | string | Session id (from list_my_sessions) |
export_my_account
Trigger an export of the authenticated user's data (GDPR Article 15). Returns the export bundle, which can be large; consider redirecting the LLM context to a summary.
list_vaults
List FerrVault vaults inside a project (FerrVault — secrets management)
| Parameter | Type | Description |
|---|---|---|
org_slug * | string | Organization slug |
project_slug * | string | Project slug |
list_issues
List FerrTrack issues for a project (FerrTrack — issue tracker)
| Parameter | Type | Description |
|---|---|---|
org_slug * | string | Organization slug |
project_slug * | string | Project slug |
page | integer | Page number (default 1) |
per_page | integer | Items per page (default 25, max 100) |
list_subscriptions
List FerrLabs product subscriptions for an organization (FerrVault, FerrTrack, FerrGrowth, FerrFleet)
| Parameter | Type | Description |
|---|---|---|
org_slug * | string | Organization slug |
activate_subscription
Activate a product subscription on an organization. Starts the trial clock when applicable. Caller must be an org owner/admin; the API enforces billing-info presence for paid tiers.
| Parameter | Type | Description |
|---|---|---|
org_slug * | string | Organization slug |
product * | string | |
tier | string | Tier (default free). |
update_subscription
Change the tier of an active product subscription (upgrade/downgrade). Stripe proration is applied per the API config.
| Parameter | Type | Description |
|---|---|---|
org_slug * | string | Organization slug |
product * | string | |
tier * | string |
cancel_subscription
Cancel a product subscription on an organization. By default the cancellation takes effect at the end of the current billing period; pass immediate=true to cut it off now (with proration).
| Parameter | Type | Description |
|---|---|---|
org_slug * | string | Organization slug |
product * | string | |
immediate | boolean | Cut off immediately and refund prorated amount. Default false (cancel at period end). |
fetch_docs
Fetch documentation or marketing copy from a FerrLabs product website (ferrflow, ferrvault, ferrtrack, ferrgrowth, ferrfleet, ferrlens, or ferrlabs holding). Returns the page text content, HTML stripped.
| Parameter | Type | Description |
|---|---|---|
product * | string | FerrLabs product whose docs to fetch |
slug | string | Path on the product site, e.g. 'docs/getting-started' or 'pricing'. Omit for the homepage. |