这是indexloc提供的服务,不要输入任何密码
Skip to content

Tags: InfinityFlowApp/csharp-mcp

Tags

v0.4.0

Toggle v0.4.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
docs: Update Claude Code config to use claude mcp add commands (#16)

- Replace manual JSON configuration with claude mcp add CLI commands
- Add multiple Docker configuration options (basic, file access, restricted)
- Update dnx configuration examples
- Remove docker-compose.yml file and references
- Simplify documentation with modern Claude CLI integration

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-authored-by: Claude <noreply@anthropic.com>

v0.3.1

Toggle v0.3.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Fix async warning and add test for NuGet packages with transitive dep…

…endencies (#12)

* fix: Remove async warning and add NuGet dependency test

- Changed AllExamples_HaveRequiredFiles from async Task to void (no await needed)
- Added EvalCSharp_WithMultipleNuGetPackages_ExecutesCorrectly test
- Simplified NUnit example to use only required NuGet package
- Tests multiple NuGet packages (Humanizer + Newtonsoft.Json)

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

* feat: Update NUnit example to use NUnit.Engine with fallback

- Added NUnit.Engine and System.Xml.XDocument NuGet packages
- Attempted to use NUnit Engine for proper test discovery and execution
- Implemented fallback to manual test execution when Engine can't find assembly
- Updated expected output to match new execution flow
- Enhanced README with implementation notes explaining the fallback
- Demonstrates that NuGet packages are properly loaded and functional

The example now shows proper usage of NUnit.Engine API even though
it falls back to manual execution in the scripting context.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

* fix: Remove async warning, enhance NUnit example, and document CSX_ALLOWED_PATH

- Fixed async method warning by changing to non-async (no await needed)
- Enhanced NUnit example to use NUnit.Engine with fallback mechanism
- Added comprehensive CSX_ALLOWED_PATH documentation to README
- Added test with multiple NuGet packages (Humanizer + Newtonsoft.Json)
- Fixed expected output line count for NUnit example

## Documentation
- Added detailed CSX_ALLOWED_PATH usage examples
- Explained Docker container behavior (path restrictions disabled)
- Documented multiple path support with platform-specific separators

## Tests
- Verified CSX_ALLOWED_PATH restriction test exists and works
- Added comprehensive NuGet package test
- All 24 tests passing

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

* test: Add comprehensive test for NuGet packages with transitive dependencies

- Added test using AutoMapper.Extensions.Microsoft.DependencyInjection
- This package has transitive dependency on AutoMapper core library
- Test verifies that transitive dependencies are properly resolved
- Updated NUnit example expected output to include Result line
- Test will be skipped if NuGet resolution is not available

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

---------

Co-authored-by: Claude <noreply@anthropic.com>

v0.3.0

Toggle v0.3.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix: Use absolute path in Docker ENTRYPOINT to support workdir changes (

#11)

The Docker image was failing when Claude/Cursor changed the working directory
with -w flag. Using absolute path /app/InfinityFlow.CSharp.Eval.dll ensures
the application can be found regardless of working directory.

Fixes the "dotnet-InfinityFlow.CSharp.Eval.dll does not exist" error
when using the Docker image with MCP clients.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-authored-by: Claude <noreply@anthropic.com>

v0.1.2

Toggle v0.1.2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix: Use absolute path in Docker ENTRYPOINT to support workdir changes (

#11)

The Docker image was failing when Claude/Cursor changed the working directory
with -w flag. Using absolute path /app/InfinityFlow.CSharp.Eval.dll ensures
the application can be found regardless of working directory.

Fixes the "dotnet-InfinityFlow.CSharp.Eval.dll does not exist" error
when using the Docker image with MCP clients.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-authored-by: Claude <noreply@anthropic.com>

v0.1.1

Toggle v0.1.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
feat: Add NuGet package support and Docker volume mounting (#9)

* feat: Add NuGet package support and Docker volume mounting for .csx files

- Added NuGet package resolver to support #r directives
- Updated Dockerfile to use SDK image for NuGet resolution
- Added Docker volume mounting in .mcp.json for file access
- Added --pull=always to ensure latest image is used
- Enhanced ScriptOptions with source and metadata resolvers
- Added test scripts and examples

🤖 Generated with Claude Code

Co-Authored-By: Claude <noreply@anthropic.com>

* refactor: Move example scripts to examples folder

- Organized all .csx example files into dedicated examples directory
- Cleaner project root structure

🤖 Generated with Claude Code

Co-Authored-By: Claude <noreply@anthropic.com>

* feat: Add comprehensive examples with tests

- Organized examples into categorized directories
- Added README and expected output for each example
- Created test suite to validate all examples
- Examples cover: basic execution, Fibonacci, data processing, NuGet packages

🤖 Generated with Claude Code

Co-Authored-By: Claude <noreply@anthropic.com>

* fix: Update CSX_ALLOWED_PATH to only apply outside Docker

- CSX_ALLOWED_PATH restriction now only applies when NOT in Docker
- Docker containers use volume mounts for file access control
- Fixed example tests to handle dynamic content and ordering
- NuGet test properly skips when packages can't be resolved

🤖 Generated with Claude Code

Co-Authored-By: Claude <noreply@anthropic.com>

* fix: Improve NuGet package error handling

- Return detailed errors when NuGet packages fail to resolve
- Validate #r directive syntax and report malformed directives
- Handle both missing packages and invalid versions gracefully
- Update tool description to mention NuGet support

🤖 Generated with Claude Code

Co-Authored-By: Claude <noreply@anthropic.com>

* feat: Add NUnit testing example demonstrating programmatic test execution

- Create comprehensive NUnit example with Calculator and StringUtils tests
- Demonstrate test fixtures, setup methods, and assertions
- Show programmatic test execution without external test runner
- Include expected output for test validation
- Update ExamplesTests to dynamically discover example directories

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

* docs: Update README with NuGet support and examples documentation

- Add NuGet package support to features list
- Document #r directive usage with examples
- Include links to all example directories
- Update Claude Code configuration with volume mounting
- Expand project structure to show NuGetPackageResolver
- Add all newly supported namespaces to documentation

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

* refactor: Clean up code formatting and remove unnecessary blank lines

* fix: Fix Docker test failure and syntax error

- Skip path restriction test when running in Docker container
- Fix syntax error in CSharpEvalTools async task creation
- Docker sets DOTNET_RUNNING_IN_CONTAINER=true which bypasses path checks

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

---------

Co-authored-by: Claude <noreply@anthropic.com>

v0.1.0

Toggle v0.1.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
docs: Add Cursor and Claude Code MCP configuration instructions (#7)

- Add Cursor configuration for both Docker and dotnet tool installation
- Add Claude Code configuration with platform-specific paths
- Include CSX_ALLOWED_PATH environment variable examples for security
- Reorganize MCP configuration section with Cursor and Claude Code first