mcp

v10.17.3
@ferrlabs/mcp Checked 3 days ago Published 6 days ago

Model 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.

ParameterTypeDescription
name *stringToken name
scopes *arrayToken scopes (e.g. ["*"] for all)
expires_atstringExpiration date (ISO 8601)
org_idsarrayOrganization ids the token may act in (default: all your organizations)

revoke_token

Revoke a FerrLabs API token by ID

ParameterTypeDescription
token_id *stringToken ID to revoke

list_org_tokens

List the API tokens of an organization (prefix, scopes, creator, last use, revoked). Never returns the secret.

ParameterTypeDescription
org_slug *stringOrganization 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.

ParameterTypeDescription
name *stringToken name
org_slug *stringOrganization slug
scopes *arrayToken scopes (at least one)
expires_atstringExpiration date (ISO 8601, in the future). Omitted: the token never expires
ownerstringcreator: 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.

ParameterTypeDescription
org_slug *stringOrganization slug
token_id *stringToken id to revoke

list_orgs

List FerrLabs organizations the authenticated user belongs to

list_projects

List projects inside a FerrLabs organization

ParameterTypeDescription
org_slug *stringOrganization slug (from list_orgs)

get_org

Get a single FerrLabs organization by slug.

ParameterTypeDescription
org_slug *stringOrganization 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.

ParameterTypeDescription
org_slug *stringCurrent organization slug
namestring
new_slugstringNew 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.

ParameterTypeDescription
org_slug *stringOrganization slug

get_org_usage

Current-period metered usage across all products for an org (FerrGrowth visits/bandwidth, FerrFleet runs, etc.) with limits per tier.

ParameterTypeDescription
org_slug *stringOrganization slug

list_org_audit

Recent audit log for an organization — member changes, subscription updates, sensitive admin actions.

ParameterTypeDescription
org_slug *stringOrganization slug
limitintegerMax 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.

ParameterTypeDescription
org_slug *stringOrganization 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.

ParameterTypeDescription
email *stringInvitee email address
org_slug *stringOrganization slug
rolestringOrg-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.

ParameterTypeDescription
org_slug *stringOrganization slug
role *string
user_id *stringUser id of the member to update

remove_org_member

Remove a user from an organization. Irreversible; the user can be re-invited.

ParameterTypeDescription
org_slug *stringOrganization slug
user_id *stringUser 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.

ParameterTypeDescription
org_slug *stringOrganization slug

create_team

Create a new team inside an organization. Teams start empty — add members with add_team_member.

ParameterTypeDescription
name *string
org_slug *stringOrganization slug
descriptionstring

update_team

Patch a team — rename or change description.

ParameterTypeDescription
org_slug *stringOrganization slug
team_id *stringTeam id
description
namestring

delete_team

Delete a team. Members of the team are NOT removed from the org; they just lose team-scoped permissions.

ParameterTypeDescription
org_slug *stringOrganization slug
team_id *stringTeam id

add_team_member

Add a user (already an org member) to a team.

ParameterTypeDescription
org_slug *stringOrganization slug
team_id *stringTeam id
user_id *stringUser id to add

remove_team_member

Remove a user from a team. The user remains an org member.

ParameterTypeDescription
org_slug *stringOrganization slug
team_id *stringTeam id
user_id *stringUser 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.

ParameterTypeDescription
avatar_url
display_namestring
localestringBCP 47, e.g. 'en' or 'fr-FR'.
timezonestringIANA 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.

ParameterTypeDescription
session_id *stringSession 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)

ParameterTypeDescription
org_slug *stringOrganization slug
project_slug *stringProject slug

list_issues

List FerrTrack issues for a project (FerrTrack — issue tracker)

ParameterTypeDescription
org_slug *stringOrganization slug
project_slug *stringProject slug
pageintegerPage number (default 1)
per_pageintegerItems per page (default 25, max 100)

list_subscriptions

List FerrLabs product subscriptions for an organization (FerrVault, FerrTrack, FerrGrowth, FerrFleet)

ParameterTypeDescription
org_slug *stringOrganization 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.

ParameterTypeDescription
org_slug *stringOrganization slug
product *string
tierstringTier (default free).

update_subscription

Change the tier of an active product subscription (upgrade/downgrade). Stripe proration is applied per the API config.

ParameterTypeDescription
org_slug *stringOrganization 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).

ParameterTypeDescription
org_slug *stringOrganization slug
product *string
immediatebooleanCut 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.

ParameterTypeDescription
product *stringFerrLabs product whose docs to fetch
slugstringPath on the product site, e.g. 'docs/getting-started' or 'pricing'. Omit for the homepage.