Skip to content

fix: correct npm badge to point to @iqai/mcp-near package - #34

Merged
Royal-lobster merged 1 commit into
mainfrom
fix/npm-badge
Jan 27, 2026
Merged

fix: correct npm badge to point to @iqai/mcp-near package#34
Royal-lobster merged 1 commit into
mainfrom
fix/npm-badge

Conversation

@Royal-lobster

Copy link
Copy Markdown
Member

Summary

  • Changed package name from @iqai/mcp-near-agent to @iqai/mcp-near
  • Updated bin name to match package name
  • Fixed npm badge URL in README to point to correct package
  • Updated all npx commands, git clone URLs, and configuration examples

Test plan

  • Verified package.json name is correct
  • Verified npm badge URL points to correct package
  • Verified all README references use correct package name

🤖 Generated with Claude Code

@gemini-code-assist

Copy link
Copy Markdown
Contributor

Summary of Changes

Hello @Royal-lobster, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request primarily focuses on a significant refactoring of the project's naming conventions, standardizing the package name and its associated executable. The changes ensure that all project references, from installation commands to documentation, consistently reflect the new "@iqai/mcp-near" identifier. Additionally, a new automation script has been introduced to dynamically generate tool documentation, improving maintainability and accuracy.

Highlights

  • Package Renaming: The npm package name has been updated from "@iqai/mcp-near-agent" to "@iqai/mcp-near" for improved clarity and consistency.
  • Binary Name Alignment: The executable binary name has been changed to "mcp-near" to align with the new package name.
  • Documentation Updates: All references in the README, including the npm badge URL, installation commands (npx), git clone URLs, and configuration examples, have been standardized to reflect the updated package name.
  • Automated Tool Documentation: A new script has been introduced to automatically generate and maintain the "MCP Tools" section in the README.md, ensuring up-to-date documentation for available tools.
Ignored Files
  • Ignored by pattern: .github/workflows/** (1)
    • .github/workflows/sync-tools.yml
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

- Changed package name from @iqai/mcp-near-agent to @iqai/mcp-near
- Updated bin name to match package name
- Fixed npm badge URL in README to point to correct package
- Updated all npx commands, git clone URLs, and configuration examples
- Updated repository, homepage, and bugs URLs

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@Royal-lobster
Royal-lobster merged commit a227753 into main Jan 27, 2026
1 check passed
@Royal-lobster
Royal-lobster deleted the fix/npm-badge branch January 27, 2026 23:16

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request primarily focuses on renaming the package from @iqai/mcp-near-agent to @iqai/mcp-near and comprehensively updating the README.md to reflect this change and improve the overall documentation. A new GitHub Action script has been added to automatically generate documentation for MCP tools. The changes in package.json and README.md are correct and well-executed. My review includes a couple of suggestions for the new tool generation script to align it with Node.js best practices by using asynchronous I/O operations.

I am having trouble creating individual review comments. Click here to see my feedback.

.github/actions/generate-mcp-tools/generate-tools.mjs (25-27)

medium

To align with Node.js best practices for non-blocking I/O, consider using the asynchronous fs.promises.readdir() instead of fs.readdirSync(). Since the loadTools function is already async, this change is straightforward and improves consistency.

	const files = (await fs.promises.readdir(TOOLS_DIR)).filter(
		(f) => f.endsWith(".ts") && f !== "index.ts",
	);

.github/actions/generate-mcp-tools/generate-tools.mjs (136-146)

medium

The main function is async, but it uses synchronous file system operations (readFileSync, writeFileSync). To follow Node.js best practices and avoid blocking the event loop, you should use their asynchronous counterparts (fs.promises.readFile, fs.promises.writeFile).

		const readme = await fs.promises.readFile(README_PATH, "utf8");
		const tools = await loadTools();

		if (tools.length === 0) {
			console.warn("Warning: No tools found!");
		}

		const updated = updateReadme({ readme, tools });

		await fs.promises.writeFile(README_PATH, updated);
		console.log(`Synced ${tools.length} MCP tools to README.md`);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant