- Home
- MCP servers
- Personal Code
Personal Code
- typescript
0
GitHub Stars
typescript
Language
6 months ago
First Indexed
3 months ago
Catalog Refreshed
Documentation & install
Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.
Installation
Add the following to your MCP client configuration file.
Configuration
View docs{
"mcpServers": {
"lfdantoni-my-personal-code-mcp": {
"command": "node",
"args": [
"C:/path/to/my-personal-code-mcp/dist/index.js"
],
"env": {
"GITHUB_TOKEN": "ghp_your_token_here",
"SKILLS_REPO_NAME": "your-skills-repo",
"SKILLS_REPO_OWNER": "your-github-username"
}
}
}
}You run a focused MCP server that fetches best-practice skills stored as Markdown files from a GitHub repository and makes them available to AI assistants via simple endpoints. This server helps you organize knowledge as reusable skills and access them on demand.
How to use
Connect to the local MCP server from your MCP client. The server exposes two primary actions: listing all available skill names and retrieving the content of a specific skill. You run the server locally and point your client at the running process. Ensure your client has access to the configured skills repository, including any authentication needed for private repos.
How to install
Prerequisites you need before installing this server: Node.js and npm. You will clone the project, install dependencies, and build the server before running it.
# Clone the repository
git clone https://github.com/lfdantoni/my-personal-code-mcp.git
cd my-personal-code-mcp
# Install dependencies
npm install
# Build
npm run build
Additional setup and notes
Configuration centers around connecting the server to your skills repository and optionally providing a GitHub token for private repos. The server expects environment variables to locate and access your skills.
You can configure the MCP client to run the server locally by pointing to the built JavaScript entry point and supplying repository details via environment variables.
{
"mcpServers": {
"my-personal-code-mcp": {
"command": "node",
"args": ["C:/path/to/my-personal-code-mcp/dist/index.js"],
"env": {
"SKILLS_REPO_OWNER": "your-github-username",
"SKILLS_REPO_NAME": "your-skills-repo",
"SKILLS_PATH": "",
"GITHUB_TOKEN": "ghp_your_token_here"
}
}
}
}
Skills repository structure
Your skills repository should contain Markdown files with best practices. Examples include files like typescript-best-practices.md, react-patterns.md, and testing-guidelines.md. You can place them directly in the root or under a subdirectory named skills.
Available tools
The server provides two core actions to interact with skills.
Available tools
list_skills
Returns a list of all available skill names from the configured repository.
get_skill
Retrieves the content of a specific skill by name.