Skip to content

Commit

Permalink
Merge branch 'main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
VikashLoomba authored Dec 4, 2024
2 parents 21ea94c + 3a04eff commit 0897442
Show file tree
Hide file tree
Showing 5 changed files with 55 additions and 21 deletions.
56 changes: 38 additions & 18 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,30 +103,50 @@ If you have any questions or need help, feel free to reach out:

## Adding Your Own MCP Server to the Registry

To add your own MCP server to the registry, follow these steps:
There are two ways to add your MCP server to the registry:

1. **Create Your MCP Server**: Develop your MCP server according to the MCP protocol specifications. Ensure it meets all the necessary requirements and functionalities.
### Option 1: Manual Package List Addition

2. **Prepare `package-list.json`**: Modify the existing `packages/package-list.json` file with the following required fields and format:
If you want to maintain your own NPM package:

1. **Create Your MCP Server**:
- Develop your MCP server according to the [MCP protocol specifications](https://modelcontextprotocol.io)
- Publish it as an NPM package

2. **Add to Package List**: Add your server to `packages/package-list.json`:
```json
[
{
"name": "your-package-name",
"description": "A brief description of your MCP server",
"vendor": "Your Name or Organization",
"sourceUrl": "URL to the source code repository",
"homepage": "URL to the homepage or documentation",
"license": "License type (e.g., MIT)"
}
]
{
"name": "your-package-name",
"description": "A brief description of your MCP server",
"vendor": "Your Name or Organization",
"sourceUrl": "URL to the source code repository",
"homepage": "URL to the homepage or documentation",
"license": "License type (e.g., MIT)",
"runtime": "node"
}
```

3. **Update the Registry**: Add your server details to the `packages/package-list.json` file in the repository. Ensure the details are accurate and follow the required format.
3. **Add to Helpers**: If your server requires specific environment variables or configurations, add them to `src/helpers/index.ts`.

4. **Submit a Pull Request**: Fork this repository, add your package details, and submit a PR.

### Option 2: Community Servers Repository

If you don't want to manage NPM deployment and package distribution:

4. **Add to Helpers**: If your MCP server requires specific environment variables or configurations, add the necessary helper configurations to the `src/helpers/index.ts` file.
1. **Fork Community Repository**:
- Fork [mcp-get/community-servers](https://github.com/mcp-get/community-servers)
- This repository follows the same structure as the official MCP servers

5. **Submit a Pull Request**: Fork the repository, make your changes, and submit a pull request with a clear description of your MCP server and its functionalities.
2. **Add Your Server**:
- Add your implementation to the `src` directory
- Follow the existing patterns and structure
- Include necessary documentation and tests

6. **Review and Merge**: The maintainers will review your pull request. If everything is in order, your MCP server will be added to the registry.
3. **Submit a Pull Request**:
- Submit your PR to the community servers repository
- Once merged, your server will be automatically added to the registry

Once your changes are merged, they will automatically be published to NPM and available for users.
Both options require following the [MCP protocol specifications](https://modelcontextprotocol.io). Choose the option that best fits your needs:
- Option 1 if you want full control over your package distribution
- Option 2 if you want to avoid managing NPM deployment and package distribution
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@michaellatman/mcp-get",
"version": "1.0.23",
"version": "1.0.26",
"description": "A NPX command to install and list packages",
"main": "dist/index.js",
"scripts": {
Expand Down
8 changes: 8 additions & 0 deletions packages/package-list.json
Original file line number Diff line number Diff line change
Expand Up @@ -243,11 +243,19 @@
"runtime": "python"
},
{

"name": "@automatalabs/mcp-server-playwright",
"description": "MCP server for browser automation using Playwright",
"vendor": "Automata Labs (https://automatalabs.io)",
"sourceUrl": "https://github.com/Automata-Labs-team/MCP-Server-Playwright/tree/main",
"homepage": "https://github.com/Automata-Labs-team/MCP-Server-Playwright",
},
{
"name": "@mcp-get-community/server-llm-txt",
"description": "MCP server that extracts and serves context from llm.txt files, enabling AI models to understand file structure, dependencies, and code relationships in development environments",
"vendor": "Michael Latman (https://michaellatman.com)",
"sourceUrl": "https://github.com/mcp-get/community-servers/blob/main/src/server-llm-txt",
"homepage": "https://github.com/mcp-get/community-servers#readme",
"license": "MIT",
"runtime": "node"
}
Expand Down
6 changes: 6 additions & 0 deletions src/extractors/modelcontextprotocol-extractor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,12 @@ const REPOS: RepoConfig[] = [
branch: 'main',
packagePath: 'src',
runtime: 'mixed'
},
{
url: 'https://github.com/mcp-get/community-servers.git',
branch: 'main',
packagePath: 'src',
runtime: 'mixed'
}
];

Expand Down

0 comments on commit 0897442

Please sign in to comment.