MCP Test logo

MCP Test

by somaria

MCP Test is a simple Node.js application demonstrating GitHub API integration using Octokit. It authenticates with the GitHub API and validates the token.

View on GitHub

Last updated: N/A

MCP Test

A simple Node.js application that demonstrates GitHub API integration using Octokit.

Features

  • Loads GitHub token from configuration file
  • Authenticates with GitHub API
  • Validates token by retrieving authenticated user information

Setup

  1. Install dependencies:

    npm install
    
  2. Configure GitHub token: Create a file at ~/.codeium/windsurf/mcp_config.json with the following content:

    {
      "github": {
        "token": "YOUR_GITHUB_TOKEN"
      }
    }
    
  3. Run the application:

    npm start
    

License

ISC