Skip to content

Conversation

@notargs
Copy link
Owner

@notargs notargs commented Jun 14, 2025

No description provided.

Copilot AI review requested due to automatic review settings June 14, 2025 16:59
@notargs notargs merged commit afcf3ca into main Jun 14, 2025
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR introduces a "Best practices for Custom MCP Tools" section to both the English and Japanese READMEs to provide guidance on error handling, asynchronous processing, and the usage of MCPInspector.

  • Removed outdated asynchronous examples using UniTask.
  • Added new guidelines and code examples for error handling and asynchronous processing using Task.
  • Updated both the English (README.md) and Japanese (README.ja.md) documentation files.

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

File Description
README.md Added a best practices section with new examples for error handling and asynchronous processing.
README.ja.md Introduced translated best practices similar to the English readme.
Comments suppressed due to low confidence (1)

README.md:195

  • Consider using 'Task' as the return type instead of 'async void' to ensure exceptions can be properly propagated and handled.
public async void ErrorMethod()

}
```

#### Asynchonous Processing
Copy link

Copilot AI Jun 14, 2025

Choose a reason for hiding this comment

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

Correct the heading spelling from 'Asynchonous Processing' to 'Asynchronous Processing'.

Suggested change
#### Asynchonous Processing
#### Asynchronous Processing

Copilot uses AI. Check for mistakes.
}
```

#### Asynchonous Processing
Copy link

Copilot AI Jun 14, 2025

Choose a reason for hiding this comment

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

Correct the heading spelling from 'Asynchonous Processing' to 'Asynchronous Processing'.

Suggested change
#### Asynchonous Processing
#### Asynchronous Processing

Copilot uses AI. Check for mistakes.
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.

2 participants