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
-
Install dependencies:
npm install
-
Configure GitHub token: Create a file at
~/.codeium/windsurf/mcp_config.json
with the following content:{ "github": { "token": "YOUR_GITHUB_TOKEN" } }
-
Run the application:
npm start
License
ISC