Development · MODEL CONTEXT PROTOCOL
PoliTwit1984 github meta mcp server
An MCP server that enables natural language commands for managing GitHub repositories
连接能力
PoliTwit1984 github meta mcp server 为 AI Agent 提供什么
- Create GitHub repositories with auto-generated names from descriptions
- Add topics/tags to repositories
- Set repository homepages
- Auto-initialize repositories with README files
- Clone the repository
- Install dependencies:
- Build the server:
- Create a repository named "my-machine-learning-image-classifier"
- Set the description as "my machine learning image classifier"
- Add "python", "tensorflow", and "computer-vision" as repository topics
- Set the website to "https://example.com/docs"
- Initialize with a README file
- Create/make/new for creating repositories
- Update/change/set/modify for updating repositories
- "description to/as" for updating descriptions
- "tags/topics to/as" for updating tags
- "website/homepage/url to/as" for updating websites
- Make changes to `src/index.ts`
- Rebuild the server:
安全
MCP 收录不等于安全审核
MCP 服务器可能获得模型上下文、凭据、本地文件或调用外部系统的权限。连接 Agent 前,请检查代码、环境变量、网络行为、软件包来源与维护状态。
README
仓库文档
Create GitHub repositories and edit their description, topics and website from a Claude conversation.
A small Model Context Protocol server with one tool. You (or Claude) pass a plain-English command; the server picks it apart with simple pattern matching and calls the GitHub REST API with your token. There is no language model inside the server, so the wording matters.
Last updated May 2026. Checked in November 2026: npm ci and npm run build succeed, the server starts, and commands in the forms below parse and reach the GitHub API. Calls with a real token were not tested.
One argument, command (string). It understands four forms:
| Command | What happens |
|---|---|
Create a repository for my machine learning project |
Creates a public repo under your account, initialized with a README. The words after for, called or named, up to the first comma or period, become the description, and a slug of them becomes the name (here my-machine-learning-project). |
Update owner/repo description to A better description |
Replaces the description. |
Set owner/repo topics to ai mcp tools |
Replaces all topics. Topics are split on spaces or commas and lowercased. |
Update owner/repo website to https://example.com |
Sets the homepage URL. |
Things to know:
- Create commands must say
repository, notrepo: "Create a repo called lunchbox" is rejected. - Update commands need the repository as
owner/repo, right afterupdate,changeorset. - Any command containing
update,changeorsetanywhere, even inside a word such as "dataset", is treated as an update. - Set topics with an update command after creating the repo. The server passes topics from a create command to GitHub's create-repository API, which does not accept them.
- New repos are always public. There is no option to make them private.
- There is no delete.
Build from source with Node 18 or newer:
git clone https://github.com/joewilsonai/github-meta-mcp-server
cd github-meta-mcp-server
npm ci
npm run buildAdd this to claude_desktop_config.json, with the absolute path to your clone and your own token:
{
"mcpServers": {
"github-meta": {
"command": "node",
"args": ["/absolute/path/to/github-meta-mcp-server/build/index.js"],
"env": {
"GITHUB_TOKEN": "<your-github-token>"
}
}
}
}Restart Claude Desktop and the create_repo tool appears.
The token is read from the GITHUB_TOKEN environment variable only; the server will not start without it. A classic personal access token with the repo scope (or public_repo, since new repos are public) covers everything the tool does. Create one in GitHub token settings.
TypeScript, @modelcontextprotocol/sdk 0.6.0 and Octokit.
社区