Skip to main content
Glama
jhliberty

Basecamp MCP Server

by jhliberty

get_projects

Retrieve all projects from Basecamp 3 using MCP Server integration, enabling centralized project management and streamlined API interactions.

Instructions

Get all Basecamp projects

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • MCP tool handler for 'get_projects': fetches projects using BasecampClient and returns JSON-formatted response with status, projects list, and count.
    case 'get_projects': {
      const projects = await client.getProjects();
      return {
        content: [{
          type: 'text',
          text: JSON.stringify({
            status: 'success',
            projects,
            count: projects.length
          }, null, 2)
        }]
      };
    }
  • src/index.ts:108-115 (registration)
    Tool registration in the listTools response, including name, description, and empty input schema (no parameters required).
    {
      name: 'get_projects',
      description: 'Get all Basecamp projects',
      inputSchema: {
        type: 'object',
        properties: {},
      },
    },
  • Input schema definition for the 'get_projects' tool, specifying an empty object (no input parameters).
    inputSchema: {
      type: 'object',
      properties: {},
    },
  • Core implementation in BasecampClient: makes API call to fetch all projects from Basecamp and returns typed array.
    async getProjects(): Promise<BasecampProject[]> {
      const response = await this.client.get('/projects.json');
      return response.data;
    }

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/jhliberty/basecamp-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server