Runn MCP by usefulapi
Read people, projects and logged time, and create assignments or log time in Runn.
¿Debería usar esto?
Calidad y seguridad
Hallazgos (3)
- HIGH
- MEDIUMen runn_list_placeholders
- INFOen runn_list_placeholders
Basado en el análisis automatizado de las definiciones de herramientas y el cumplimiento del protocolo.
Costo de contexto
Este es el número aproximado de tokens que se consumen cada vez que las herramientas del servidor se cargan en el contexto de un modelo. Los recuentos más altos reducen la atención disponible para otras tareas.
Instalar
Instalación con un clic
Agrega esto a tu archivo `claude_desktop_config.json`:
{
"mcpServers": {
"runn": {
"url": "https://runn.usefulapi.io/mcp"
}
}
}Puntos de conexión remotos
https://runn.usefulapi.io/mcpstreamable-httpQué puede hacer
Inventario de herramientas
Herramientas (13)
🟢runn_get_me
Return the Runn account that the API token belongs to. Use it first to check the connection. Runn API: GET /me/.
Esquema de entrada
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢runn_list_people(email, first_name, last_name, external_id, include_placeholders, ...)
List the people (resources) in the Runn account, with team, tags and skills. Filter by email, name or external id. Runn API: GET /people/.
Esquema de entrada
{
"type": "object",
"properties": {
"email": {
"description": "Filter by exact email address.",
"type": "string"
},
"first_name": {
"description": "Filter by first name.",
"type": "string"
},
"last_name": {
"description": "Filter by last name.",
"type": "string"
},
"external_id": {
"description": "Filter by the external id from another system.",
"type": "string"
},
"include_placeholders": {
"description": "Also return placeholders (open roles).",
"type": "boolean"
},
"sort_by": {
"description": "Sort field (default id).",
"type": "string",
"enum": [
"createdAt",
"updatedAt",
"id"
]
},
"order": {
"description": "Sort order (default asc).",
"type": "string",
"enum": [
"asc",
"desc"
]
},
"cursor": {
"description": "Cursor: nextCursor from the previous page. Omit for the first page.",
"type": "string"
},
"limit": {
"description": "Items per page, 1 to 200 (default 50).",
"type": "integer",
"minimum": 1,
"maximum": 200
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢runn_get_person(person_id)
Return one person by id: name, email, team, tags, skills and custom fields. Runn API: GET /people/{personId}.
Esquema de entrada
{
"type": "object",
"properties": {
"person_id": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"description": "The person id (from runn_list_people)."
}
},
"required": [
"person_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢runn_list_person_leave(person_id, cursor, limit)
List the leave (time off) records of one person. Runn API: GET /people/{personId}/time-offs/leave.
Esquema de entrada
{
"type": "object",
"properties": {
"person_id": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"description": "The person id (from runn_list_people)."
},
"cursor": {
"description": "Cursor: nextCursor from the previous page. Omit for the first page.",
"type": "string"
},
"limit": {
"description": "Items per page, 1 to 200 (default 50).",
"type": "integer",
"minimum": 1,
"maximum": 200
}
},
"required": [
"person_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢runn_list_projects(name, include_archived, sort_by, order, cursor, ...)
List projects with pricing model, budget, client and manager ids. Archived projects are left out unless include_archived is true. Runn API: GET /projects/.
Esquema de entrada
{
"type": "object",
"properties": {
"name": {
"description": "Filter by project name.",
"type": "string"
},
"include_archived": {
"description": "Include archived projects (default false).",
"type": "boolean"
},
"sort_by": {
"description": "Sort field (default id).",
"type": "string",
"enum": [
"createdAt",
"updatedAt",
"id"
]
},
"order": {
"description": "Sort order (default asc).",
"type": "string",
"enum": [
"asc",
"desc"
]
},
"cursor": {
"description": "Cursor: nextCursor from the previous page. Omit for the first page.",
"type": "string"
},
"limit": {
"description": "Items per page, 1 to 200 (default 50).",
"type": "integer",
"minimum": 1,
"maximum": 200
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢runn_get_project(project_id)
Return one project by id: name, status flags, budget, client and manager ids, and tags. Runn API: GET /projects/{projectId}.
Esquema de entrada
{
"type": "object",
"properties": {
"project_id": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"description": "The project id (from runn_list_projects)."
}
},
"required": [
"project_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢runn_list_clients(name, sort_by, order, cursor, limit)
List the clients of the account. Runn API: GET /clients/.
Esquema de entrada
{
"type": "object",
"properties": {
"name": {
"description": "Filter by client name.",
"type": "string"
},
"sort_by": {
"description": "Sort field (default id).",
"type": "string",
"enum": [
"id",
"createdAt",
"updatedAt"
]
},
"order": {
"description": "Sort order (default asc).",
"type": "string",
"enum": [
"asc",
"desc"
]
},
"cursor": {
"description": "Cursor: nextCursor from the previous page. Omit for the first page.",
"type": "string"
},
"limit": {
"description": "Items per page, 1 to 200 (default 50).",
"type": "integer",
"minimum": 1,
"maximum": 200
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢runn_list_phases(cursor, limit)
List project phases (sub-periods of a project) with dates and budgets. Runn API: GET /phases/.
Esquema de entrada
{
"type": "object",
"properties": {
"cursor": {
"description": "Cursor: nextCursor from the previous page. Omit for the first page.",
"type": "string"
},
"limit": {
"description": "Items per page, 1 to 500 (default 50).",
"type": "integer",
"minimum": 1,
"maximum": 500
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢runn_list_placeholders(sort_by, order, cursor, limit)
List placeholders (open roles that are not yet a named person). Runn API: GET /placeholders/.
Esquema de entrada
{
"type": "object",
"properties": {
"sort_by": {
"description": "Sort field (default id).",
"type": "string",
"enum": [
"createdAt",
"updatedAt",
"id"
]
},
"order": {
"description": "Sort order (default asc).",
"type": "string",
"enum": [
"asc",
"desc"
]
},
"cursor": {
"description": "Cursor: nextCursor from the previous page. Omit for the first page.",
"type": "string"
},
"limit": {
"description": "Items per page, 1 to 200 (default 50).",
"type": "integer",
"minimum": 1,
"maximum": 200
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢runn_list_assignments(person_id, project_id, role_id, start_date, end_date, ...)
List planned assignments (who works on which project, in which role, how many minutes per day, between two dates). Runn API: GET /assignments/.
Esquema de entrada
{
"type": "object",
"properties": {
"person_id": {
"description": "Only assignments of this person.",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"project_id": {
"description": "Only assignments on this project.",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"role_id": {
"description": "Only assignments in this role.",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"start_date": {
"description": "Assignments that end on or after this date (YYYY-MM-DD).",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"end_date": {
"description": "Assignments that start on or before this date (YYYY-MM-DD).",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"cursor": {
"description": "Cursor: nextCursor from the previous page. Omit for the first page.",
"type": "string"
},
"limit": {
"description": "Items per page, 1 to 200 (default 50).",
"type": "integer",
"minimum": 1,
"maximum": 200
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢runn_list_actuals(min_date, max_date, person_id, project_id, role_id, ...)
List actuals: the hours people logged (timesheets), split into billable and nonbillable minutes, per person, project, role and day. Runn API: GET /actuals/.
Esquema de entrada
{
"type": "object",
"properties": {
"min_date": {
"description": "First date to include (YYYY-MM-DD).",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"max_date": {
"description": "Last date to include (YYYY-MM-DD).",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"person_id": {
"description": "Only this person.",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"project_id": {
"description": "Only this project.",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"role_id": {
"description": "Only this role.",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"cursor": {
"description": "Cursor: nextCursor from the previous page. Omit for the first page.",
"type": "string"
},
"limit": {
"description": "Items per page, 1 to 500 (default 50).",
"type": "integer",
"minimum": 1,
"maximum": 500
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🔴runn_create_assignment(person_id, project_id, role_id, start_date, end_date, ...)
Plan work: assign one person to one project in one role, for a date range, with minutes per day (max 1440). Creates a new assignment each call; it does not check for overlaps first. Runn API: POST /assignments/.
Esquema de entrada
{
"type": "object",
"properties": {
"person_id": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"description": "The person to assign (from runn_list_people)."
},
"project_id": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"description": "The project (from runn_list_projects)."
},
"role_id": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"description": "The role for this assignment (from runn_list_assignments or Runn's role list)."
},
"start_date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "First day of the assignment (YYYY-MM-DD)."
},
"end_date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "Last day of the assignment (YYYY-MM-DD)."
},
"minutes_per_day": {
"type": "integer",
"minimum": 0,
"maximum": 1440,
"description": "Planned minutes per day, 0 to 1440."
},
"phase_id": {
"description": "Project phase id, if the assignment belongs to one.",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"note": {
"description": "Free-text note on the assignment.",
"type": "string"
},
"is_billable": {
"description": "Whether the planned time is billable.",
"type": "boolean"
}
},
"required": [
"person_id",
"project_id",
"role_id",
"start_date",
"end_date",
"minutes_per_day"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🔴runn_log_time(date, person_id, project_id, role_id, billable_minutes, ...)
Log hours that one person worked on one project, in one role, on one day. Runn adds the minutes to the matching actual or creates one; each call adds more time. Runn API: POST /actuals/time-entry.
Esquema de entrada
{
"type": "object",
"properties": {
"date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "The day worked (YYYY-MM-DD)."
},
"person_id": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"description": "The person who worked (from runn_list_people)."
},
"project_id": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"description": "The project worked on (from runn_list_projects)."
},
"role_id": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"description": "The role worked in."
},
"billable_minutes": {
"type": "number",
"minimum": 0,
"description": "Billable minutes to add (0 if none)."
},
"nonbillable_minutes": {
"type": "number",
"minimum": 0,
"description": "Nonbillable minutes to add (0 if none)."
},
"billable_note": {
"description": "Note on the billable minutes.",
"type": "string"
},
"nonbillable_note": {
"description": "Note on the nonbillable minutes.",
"type": "string"
},
"phase_id": {
"description": "Project phase id, if the work belongs to one.",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"workstream_id": {
"description": "Workstream id, if the work belongs to one.",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
}
},
"required": [
"date",
"person_id",
"project_id",
"role_id",
"billable_minutes",
"nonbillable_minutes"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}Comunidad
Evidencia