Skip to content
mcp-setup logo

MCP Server Configuration

mcp-setup

MCP server configuration, troubleshooting, and Todoist REST API workarounds

SKILL.md

Full skill instructions

MCP Server Configuration

Configuration Locations

  • User-level config: ~/​.claude/​settings.json (required for VSCode extension)
  • Project-level config: .mcp.json (may not be loaded by VSCode extension)
  • Environment file: ~/​.claude/​.env (copy from project .env)

Important Setup Notes

  1. Node.js Required: Install via brew install node (needed for all MCP servers using npx)

  2. Use Full Paths: VSCode may not have Homebrew in PATH, so use /​opt/​homebrew/​bin/​npx instead of just npx

  3. No Variable Interpolation: The ${VAR} syntax does NOT work in ~/​.claude/​settings.json. You must hardcode actual token values.

  4. Restart Required: After changing ~/​.claude/​settings.json, fully quit VSCode (Cmd+Q) and reopen. A simple reload may not pick up changes.

  5. OAuth for Google Services: First run of gdrive/​gcal will open browser for authentication. Tokens cached in ~/​.mcp-gdrive/ or similar.

MCP Server Packages

ServerPackageEnv Variable
todoist@abhiz123/​todoist-mcp-serverTODOIST_API_TOKEN
notion@notionhq/​notion-mcp-serverNOTION_TOKEN
ccg-bot@modelcontextprotocol/​server-slackSLACK_BOT_TOKEN
astra-bot@modelcontextprotocol/​server-slackASTRA_SLACK_BOT_TOKEN
gdrive@isaacphi/​mcp-gdriveGOOGLE_OAUTH_CREDENTIALS (path to OAuth keys)
gcal@anthropic/​mcp-gcalGCAL_OAUTH_PATH (path to OAuth keys)
github@modelcontextprotocol/​server-githubGITHUB_TOKEN

Note: The gdrive package is @isaacphi/​mcp-gdrive, NOT @anthropic/​mcp-gdrive (that one doesn't exist on npm).

Example ~/​.claude/​settings.json

{
  "mcpServers": {
    "gdrive": {
      "command": "/​opt/​homebrew/​bin/​npx",
      "args": ["-y", "@isaacphi/​mcp-gdrive"],
      "env": {
        "GOOGLE_OAUTH_CREDENTIALS": "/​Users/​terrytong/​Documents/​CCG/​ToolProj/​gcp-oauth.keys.json"
      }
    },
    "todoist": {
      "command": "/​opt/​homebrew/​bin/​npx",
      "args": ["-y", "@abhiz123/​todoist-mcp-server"],
      "env": {
        "TODOIST_API_TOKEN": "your-actual-token-here"
      }
    },
    "notion": {
      "command": "/​opt/​homebrew/​bin/​npx",
      "args": ["-y", "@notionhq/​notion-mcp-server"],
      "env": {
        "NOTION_TOKEN": "your-actual-token-here"
      }
    }
  }
}

Troubleshooting MCP

ErrorSolution
"Failed to connect"Check Node.js: /​opt/​homebrew/​bin/​node --version
401 UnauthorizedTokens cached from old config. Fully restart VSCode
Package not foundSearch npm: /​opt/​homebrew/​bin/​npm search mcp <service>
OAuth issuesRun manually: GOOGLE_OAUTH_CREDENTIALS=<path> /​opt/​homebrew/​bin/​npx -y @isaacphi/​mcp-gdrive

Pre-install packages globally: /​opt/​homebrew/​bin/​npm install -g @isaacphi/​mcp-gdrive @abhiz123/​todoist-mcp-server

Todoist REST API Workaround

The Todoist MCP tool often returns 401 errors. Use the REST API directly via curl instead:

# Create a task (source .env first to get TODOIST_API_TOKEN)
source /​Users/​terrytong/​Documents/​CCG/​ToolProj/​.env && curl -s -X POST "https://api.todoist.com/​rest/​v2/​tasks" \
  -H "Authorization: Bearer $TODOIST_API_TOKEN" \
  -H "Content-Type: application/​json" \
  -d '{
    "content": "Task title here",
    "project_id": "2363714490",
    "due_string": "today"
  }'

# Delete a task
source /​Users/​terrytong/​Documents/​CCG/​ToolProj/​.env && curl -s -X DELETE "https://api.todoist.com/​rest/​v2/​tasks/​{task_id}" \
  -H "Authorization: Bearer $TODOIST_API_TOKEN"

# Get tasks
source /​Users/​terrytong/​Documents/​CCG/​ToolProj/​.env && curl -s "https://api.todoist.com/​rest/​v2/​tasks?project_id=2363714490" \
  -H "Authorization: Bearer $TODOIST_API_TOKEN"

Key: Always source .env before curl commands since MCP servers don't pick up bash exports.

More skills from majiayu000

xiaohongshu logo
majiayu000/claude-arsenal

xiaohongshu

xiaohongshu

286 148
View
agent-task-conductor logo
majiayu000/claude-skill-registry

agent-task-conductor

Conduct multi-agent task orchestration and workflow coordination.

663 1
View
conductor-setup logo
majiayu000/claude-skill-registry

conductor-setup

Initialize project with Conductor artifacts (product definition,

663 1
View
animation-designer logo
majiayu000/claude-skill-registry

animation-designer

Expert in web animations, transitions, and motion design using Framer Motion and CSS

663 1
View
diagramming logo
majiayu000/claude-skill-registry

diagramming

Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...

663 1
View
h3-pg logo
majiayu000/claude-skill-registry-data

h3-pg

PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.

23 1
View
conductor-development logo
majiayu000/claude-skill-registry

conductor-development

Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...

663 1
View
conductor-status logo
majiayu000/claude-skill-registry

conductor-status

Display project status, active tracks, and next actions

663 1
View
dockerization logo
majiayu000/claude-skill-registry

dockerization

Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.

663 1
View

Popular AI tools

Kaiber logo
Video

Kaiber

Generate, edit, and beat-sync AI video with leading models in one workspace.

Paid
View
Vimcal logo
Productivity

Vimcal

The world's fastest calendar for remote work

Free
View

Transform Your Design with AI Designer by ImgCreator.ai

Freemium
View
Akool AI logo
Content & writing

Akool AI

Revolutionizing Video Production with AI-Powered Creativity

Paid
View

Extend an image past the frame and let AI fill the new aspect ratio.

Freemium
View
StarByFace logo
Security

StarByFace

Discover your celebrity doppelgänger with StarByFace!

Free
View
C

ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.

Freemium
View
Opus Clip logo
Coding & apps

Opus Clip

Opus.ai: Revolutionize Your Web Experience

Free
View